View Issue Details

IDProjectCategoryView StatusLast Update
0001954DarkRadiantSaving and loadingpublic29.05.2010 16:36
Reporterdowner Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionduplicate 
Product Version0.10.0 
Summary0001954: Opening map with map already open crashes editor
DescriptionOpening a map with a map already opened, will crash editor. Happened with me with latest source compiled from SVN, and later .deb packages.
Additional InformationDebian Testing (Squeeze) 2.6.30 i686, Nvidia drivers 190.36, KDE 4.2
TagsNo tags attached.

Activities

greebo

greebo

28.09.2009 09:10

administrator   ~0002653

Cannot reproduce this - opening maps is working perfectly here (Win32 release build). Are you on a DEBUG build?
downer

downer

29.09.2009 00:58

reporter   ~0002656

No, made the default Linux release build from source through SVN.
downer

downer

29.09.2009 01:41

reporter   ~0002659

Just updated from SVN and ran make distclean, ./autogen.sh, ./configure, make, logged in as root, and finally make install like normal. New map never really starts to load, and editor crashes. I get warnings on compiling and this error when trying to install.

test -z "/usr/local/lib/darkradiant/scripts" || /bin/mkdir -p "/usr/local/lib/darkradiant/scripts"
 /usr/bin/install -c -m 644 ././install/scripts/commands ./install/scripts/init.py ./install/scripts/test.py '/usr/local/lib/darkradiant/scripts'
/usr/bin/install: omitting directory `././install/scripts/commands'
make[2]: *** [install-scriptsDATA] Error 1
make[2]: Leaving directory `/usr/local/games/darkradiant'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/games/darkradiant'
make: *** [install-recursive] Error 1
greebo

greebo

29.09.2009 05:16

administrator   ~0002660

Bah, I can't see that behaviour in Windows here. I guess we'll have to wait until I get my Linux set up again by the release of Ubuntu 9.10.

Unless you manage to attach a debugger (gdb) and post a stack trace when it's crashing?
downer

downer

29.09.2009 12:31

reporter   ~0002661

When I run the release build from console, I get this error in the console right before it crashes.

xmlMemFree(A4420F0) error
xmlMallocBreakpoint reached on block 0
darkradiant: namespace/Namespace.cpp:169: virtual Namespace::~Namespace(): Assertion `_uniqueNames.empty()' failed.
Aborted

Is this what you're looking for? Or should I run a debug version?

I get other errors too when running the editor in the console.
greebo

greebo

29.09.2009 12:35

administrator   ~0002662

The assertion should only be effective if you're in a debug build - as a workaround you can build a release build of DarkRadiant and the error should be prevented.

Still curious that the assertion is firing, as I don't recall that happening for a while. I'll have to check a debug build myself sometime.
greebo

greebo

30.09.2009 19:38

administrator   ~0002664

I'm currently testing a debug build in Windows, but the assertion does not fire on my end.

Which map exactly where you trying to switch from and to? Or does this occur with every map?
downer

downer

01.10.2009 15:22

reporter   ~0002665

Yes, it only happens with maps that are converted from QuArK Brush Primitives to Doom 3 worldspawn in Doom 3 Editor. Converted maps that I copied from DarkRadiant into other *Radiant editors works fine. I even had to copy the maps one brush at a time, saving in between each brush, because *Radiant editors wouldn't recognize format.

Error goes away with correct Doom 3 maps.
downer

downer

01.10.2009 15:26

reporter   ~0002667

Same issue as bug 0001955 about copy and paste world brushes inside DarkRadiant.
greebo

greebo

01.10.2009 16:05

administrator   ~0002668

So I gather it is not a DarkRadiant bug? Or is this a conversion issue?

In case you have coding skills, would you be interested in writing a converter plug-in?
downer

downer

01.10.2009 18:04

reporter   ~0002669

Conversion problem. I wish editors had a converter plug-in, but no, I don't have coding skills. Maybe one day...
greebo

greebo

01.10.2009 19:50

administrator   ~0002670

Fair enough. As there is already an issue report about the old brushDef format, I'll set this report to resolved without fix.

Issue History

Date Modified Username Field Change
27.09.2009 15:01 downer New Issue
28.09.2009 09:10 greebo Note Added: 0002653
28.09.2009 09:10 greebo Status new => feedback
29.09.2009 00:58 downer Note Added: 0002656
29.09.2009 01:41 downer Note Added: 0002659
29.09.2009 05:16 greebo Note Added: 0002660
29.09.2009 12:31 downer Note Added: 0002661
29.09.2009 12:35 greebo Note Added: 0002662
30.09.2009 19:38 greebo Note Added: 0002664
01.10.2009 15:22 downer Note Added: 0002665
01.10.2009 15:26 downer Note Added: 0002667
01.10.2009 16:05 greebo Note Added: 0002668
01.10.2009 18:04 downer Note Added: 0002669
01.10.2009 19:50 greebo Note Added: 0002670
01.10.2009 19:50 greebo Status feedback => resolved
01.10.2009 19:50 greebo Resolution open => duplicate
01.10.2009 19:50 greebo Assigned To => greebo
01.10.2009 19:51 greebo Relationship added duplicate of 0001481
20.12.2009 08:51 greebo Relationship deleted 0001481
29.05.2010 16:36 greebo Status resolved => closed