Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Crashes in Level Editor on Linux
josephschwenker Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jan 2011
Reputation: 0
#1
Solved: 8 Years, 9 Months, 1 Week ago Random Crashes in Level Editor on Linux

I have been trying to learn how to create maps in the level editor, but for some reason, the editor crashes whenever I click on certain entity categories. The categories vary, but critters and enemies always crash. When I clicked on enemies, I got this output on Linux:

bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
*** glibc detected *** ./LevelEditor.bin: double free or corruption (out): 0xbfe36c90 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c501)[0xb7161501]
/lib/libc.so.6(+0x6dd70)[0xb7162d70]
/lib/libc.so.6(cfree+0x6d)[0xb7165e5d]
/usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06(+0xa20)[0xb70f2a20]
./LevelEditor.bin(_ZNSt4listISbIwSt11char_traitsIwESaIwEESaIS3_EE5eraseESt14_List_iteratorIS3_E+0x32)[0x8181fd2]
./LevelEditor.bin(_ZN21iEditorObjectIndexDir7RefreshEPN3hpl11cXmlElementEb+0xc62)[0x818b2a2]
./LevelEditor.bin(_ZN21iEditorObjectIndexDir7RefreshEPN3hpl11cXmlElementEb+0x65a)[0x818ac9a]
./LevelEditor.bin(_ZN18iEditorObjectIndex7RefreshEv+0x3b3)[0x818bf43]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser11CreateIndexERKSbIwSt11char_traitsIwESaIwEE+0x294)[0x81c9ee4]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser15BuildObjectListEv+0x1f)[0x81ca1bf]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser19ObjectSets_OnChangeEPN3hpl7iWidgetERKNS0_15cGuiMessageDataE+0x11)[0x81ca1f1]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser30ObjectSets_OnChange_static_guiEPvPN3hpl7iWidgetERKNS1_15cGuiMessageDataE+0x1f)[0x81ca21f]
./LevelEditor.bin(_ZN3hpl7iWidget16ProcessCallbacksENS_11eGuiMessageERKNS_15cGuiMessageDataE+0x3c)[0x832223c]
./LevelEditor.bin(_ZN3hpl7iWidget14ProcessMessageENS_11eGuiMessageERKNS_15cGuiMessageDataEbb+0xa6)[0x8322306]
./LevelEditor.bin(_ZN3hpl15cWidgetComboBox15SetSelectedItemEibb+0x170)[0x82f58f0]
./LevelEditor.bin(_ZN3hpl15cWidgetComboBox9OnMouseUpERKNS_15cGuiMessageDataE+0x8b)[0x82f5a1b]
./LevelEditor.bin(_ZN3hpl7iWidget14ProcessMessageENS_11eGuiMessageERKNS_15cGuiMessageDataEbb+0x129)[0x8322389]
./LevelEditor.bin(_ZN3hpl7cGuiSet9OnMouseUpERKNS_15cGuiMessageDataE+0xc5)[0x832aba5]
./LevelEditor.bin(_ZN3hpl7cGuiSet11SendMessageENS_11eGuiMessageERKNS_15cGuiMessageDataE+0x96)[0x832b426]
./LevelEditor.bin(_ZN3hpl4cGui16SendMouseClickUpENS_15eGuiMouseButtonEi+0x35)[0x83103f5]
./LevelEditor.bin(_ZN11iEditorBase6UpdateEf+0x804)[0x81780b4]
./LevelEditor.bin(_ZN3hpl8cUpdater10RunMessageENS_18eUpdateableMessageEf+0x376)[0x83bf4f6]
./LevelEditor.bin(_ZN3hpl7cEngine3RunEv+0xe6)[0x83c0326]
./LevelEditor.bin(_Z7hplMainRKSs+0x51)[0x828b771]
./LevelEditor.bin(main+0x14d)[0x83ad37d]
/lib/libc.so.6(__libc_start_main+0xe7)[0xb710bce7]
./LevelEditor.bin(ftell+0x4d)[0x816e341]
======= Memory map: ========
08048000-08680000 r-xp 00000000 08:01 3576796    /opt/Amnesia/LevelEditor.bin
08680000-08686000 rwxp 00637000 08:01 3576796    /opt/Amnesia/LevelEditor.bin
08686000-08690000 rwxp 00000000 00:00 0
09155000-0a766000 rwxp 00000000 00:00 0          [heap]
a7e2f000-abe30000 rwxs 00000000 00:10 649253     /dev/shm/pulse-shm-3337031516
abe30000-abe31000 ---p 00000000 00:00 0
abe31000-ac631000 rwxp 00000000 00:00 0
aed41000-af0c5000 rwxp 00000000 00:00 0
af1c6000-afc00000 rwxp 00000000 00:00 0
afc00000-afc21000 rwxp 00000000 00:00 0
afc21000-afd00000 ---p 00000000 00:00 0
afd3d000-afd3e000 ---p 00000000 00:00 0
afd3e000-b053e000 rwxp 00000000 00:00 0
b0583000-b0604000 rwxp 00000000 00:00 0
b0604000-b060e000 r-xp 00000000 08:01 3932345    /lib/libnss_files-2.12.1.so
b060e000-b060f000 r-xp 00009000 08:01 3932345    /lib/libnss_files-2.12.1.so
b060f000-b0610000 rwxp 0000a000 08:01 3932345    /lib/libnss_files-2.12.1.so
b0610000-b0619000 r-xp 00000000 08:01 3932403    /lib/libnss_nis-2.12.1.so
b0619000-b061a000 r-xp 00008000 08:01 3932403    /lib/libnss_nis-2.12.1.so
b061a000-b061b000 rwxp 00009000 08:01 3932403    /lib/libnss_nis-2.12.1.so
b0651000-b0657000 r-xp 00000000 08:01 3932409    /lib/libnss_compat-2.12.1.so
b0657000-b0658000 r-xp 00006000 08:01 3932409    /lib/libnss_compat-2.12.1.so
b0658000-b0659000 rwxp 00007000 08:01 3932409    /lib/libnss_compat-2.12.1.so
b066d000-b41da000 rwxp 00000000 00:00 0
b41da000-b41dc000 r-xs 00000000 08:01 5644213    /tmp/glmpAqOO (deleted)
b41dc000-b41de000 rwxs 00000000 08:01 5644213    /tmp/glmpAqOO (deleted)
b41de000-b43de000 rwxs 36b31000 00:05 9044       /dev/nvidia0
b43de000-b44de000 rwxs 36a78000 00:05 9044       /dev/nvidia0
b44de000-b44df000 rwxs fac0a000 00:05 9044       /dev/nvidia0
b44df000-b451f000 rwxs 3507f000 00:05 9044       /dev/nvidia0
b453f000-b45a4000 rwxp 00000000 00:00 0
b45a4000-b45ea000 rwxp 00000000 00:05 4261       /dev/zero
b45ea000-b45eb000 rwxs fa060000 00:05 9044       /dev/nvidia0
b45eb000-b4662000 rwxp 00000000 00:00 0
b4662000-b467b000 rwxs 00000000 00:04 0          /SYSV00000000 (deleted)
b467b000-b49d9000 rwxp 00000000 00:00 0
b49d9000-b49da000 ---p 00000000 00:00 0
b49da000-b51da000 rwxp 00000000 00:00 0
b51da000-b51e2000 r-xp 00000000 08:01 7605038    /usr/lib/libXcursor.so.1.0.2
b51e2000-b51e3000 r-xp 00007000 08:01 7605038    /usr/lib/libXcursor.so.1.0.2
b51e3000-b51e4000 rwxp 00008000 08:01 7605038    /usr/lib/libXcursor.so.1.0.2
b51e4000-b51e8000 rwxs 3074d000 00:05 9044       /dev/nvidia0
b51e8000-b51ec000 rwxs 35818000 00:05 9044       /dev/nvidia0
b51ec000-b51ed000 rwxs d0008000 00:05 9044       /dev/nvidia0
b51ed000-b51ee000 rwxs 3052c000 00:05 9044       /dev/nvidia0
b51ee000-b51f2000 rwxs 012c1000 00:05 9044       /dev/nvidia0
b51f2000-b51f3000 rwxs fa641000 00:05 9044       /dev/nvidia0
b51f3000-b51f4000 rwxs 32695000 00:05 9044       /dev/nvidia0
b51f4000-b51f5000 rwxs 0178d000 00:05 9044       /dev/nvidia0
b51f5000-b51fb000 rwxp 00000000 00:00 0
b51fb000-b53fb000 r-xp 00000000 08:01 7602856    /usr/lib/locale/locale-archive
b53fb000-b5400000 rwxp 00000000 00:00 0
b5400000-b5565000 r-xp 00000000 08:01 7604882    /usr/lib/libvorbisenc.so.2.0.7
b5565000-b5566000 ---p 00165000 08:01 7604882    /usr/lib/libvorbisenc.so.2.0.7
b5566000-b5577000 r-xp 00165000 08:01 7604882    /usr/lib/libvorbisenc.so.2.0.7
b5577000-b5578000 rwxp 00176000 08:01 7604882    /usr/lib/libvorbisenc.so.2.0.7
b5578000-b55c2000 r-xp 00000000 08:01 7604265    /usr/lib/libFLAC.so.8.2.0
b55c2000-b55c3000 r-xp 00049000 08:01 7604265    /usr/lib/libFLAC.so.8.2.0
b55c3000-b55c4000 rwxp 0004a000 08:01 7604265    /usr/lib/libFLAC.so.8.2.0
b55c4000-b55d7000 r-xp 00000000 08:01 3932405    /lib/libnsl-2.12.1.so
b55d7000-b55d8000 r-xp 00012000 08:01 3932405    /lib/libnsl-2.12.1.so
b55d8000-b55d9000 rwxp 00013000 08:01 3932405    /lib/libnsl-2.12.1.so
b55d9000-b55db000 rwxp 00000000 00:00 0
b55db000-b5601000 r-xp 00000000 08:01 3932236    /lib/libexpat.so.1.5.2
b5601000-b5602000 rwxp 00026000 08:01 3932236    /lib/libexpat.so.1.5.2
b5602000-b5605000 r-xp 00000000 08:01 3932351    /lib/libuuid.so.1.3.0
b5605000-b5606000 r-xp 00002000 08:01 3932351    /lib/libuuid.so.1.3.0
b5606000-b5607000 rwxp 00003000 08:01 3932351    /lib/libuuid.so.1.3.0
b5607000-b5608000 rwxp 00000000 00:00 0
b5608000-b5642000 r-xp 00000000 08:01 3932329    /lib/libdbus-1.so.3.5.2
b5642000-b5643000 r-xp 00039000 08:01 3932329    /lib/libdbus-1.so.3.5.2
b5643000-b5644000 rwxp 0003a000 08:01 3932329    /lib/libdbus-1.so.3.5.2
b5644000-b56a5000 r-xp 00000000 08:01 7605912    /usr/lib/libsndfile.so.1.0.21
b56a5000-b56a6000 ---p 00061000 08:01 7605912    /usr/lib/libsndfile.so.1.0.21
b56a6000-b56a7000 r-xp 00061000 08:01 7605912    /usr/lib/libsndfile.so.1.0.21
b56a7000-b56a8000 rwxp 00062000 08:01 7605912    /usr/lib/libsndfile.so.1.0.21
b56a8000-b56ac000 rwxp 00000000 00:00 0
b56ac000-b56b3000 r-xp 00000000 08:01 3932202    /lib/libwrap.so.0.7.6
b56b3000-b56b4000 r-xp 00006000 08:01 3932202    /lib/libwrap.so.0.7.6
b56b4000-b56b5000 rwxp 00007000 08:01 3932202    /lib/libwrap.so.0.7.6
b56b5000-b56b9000 r-xp 00000000 08:01 7604731    /usr/lib/libXdmcp.so.6.0.0
b56b9000-b56ba000 r-xp 00003000 08:01 7604731    /usr/lib/libXdmcp.so.6.0.0
b56ba000-b56bb000 rwxp 00004000 08:01 7604731    /usr/lib/libXdmcp.so.6.0.0
b56bb000-b56bd000 r-xp 00000000 08:01 7604696    /usr/lib/libXau.so.6.0.0
b56bd000-b56be000 r-xp 00001000 08:01 7604696    /usr/lib/libXau.so.6.0.0
b56be000-b56bf000 rwxp 00002000 08:01 7604696    /usr/lib/libXau.so.6.0.0
b56bf000-b56c0000 rwxp 00000000 00:00 0
b56c0000-b56c8000 r-xp 00000000 08:01 7604763    /usr/lib/libXrender.so.1.3.0
b56c8000-b56c9000 r-xp 00007000 08:01 7604763    /usr/lib/libXrender.so.1.3.0
b56c9000-b56ca000 rwxp 00008000 08:01 7604763    /usr/lib/libXrender.so.1.3.0
b56ca000-b56f8000 r-xp 00000000 08:01 7605326    /usr/lib/libfontconfig.so.1.4.4
b56f8000-b56f9000 r-xp 0002d000 08:01 7605326    /usr/lib/libfontconfig.so.1.4.4
b56f9000-b56fa000 rwxp 0002e000 08:01 7605326    /usr/lib/libfontconfig.so.1.4.4
b56fa000-b56fd000 r-xp 00000000 08:01 7606031    /usr/lib/libxcb-atom.so.1.0.0
b56fd000-b56fe000 r-xp 00002000 08:01 7606031    /usr/lib/libxcb-atom.so.1.0.0
b56fe000-b56ff000 rwxp 00003000 08:01 7606031    /usr/lib/libxcb-atom.so.1.0.0
b56ff000-b5703000 r-xp 00000000 08:01 7605464    /usr/lib/libXtst.so.6.1.0Aborted

Can anyone help me out? I'm on Ubuntu 10.10 32-bit.

Also: I am having a problem with thumbnails not appearing until I load a category that has not yet been loaded.
It is also crashing when I try to move up one directory when already in /. Also, I cannot browse directories when in /; it says that the filename cannot be blank. I am also now incapable to clicking on System Root, as I get a segmentation fault. There are also random crashes sometimes when clicking on random items in entities.
(This post was last modified: 01-16-2011, 04:35 AM by josephschwenker.)
01-16-2011, 04:08 AM
Find
Andross Offline
Junior Member

Posts: 38
Threads: 1
Joined: Oct 2010
Reputation: 0
#2
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

Yeah, I had similar problems on ArchLinux 32bit. I tried to analyze them with valgrind, make glibc ignore double free(), but nothing helped.

Eventually, I solved the problem by using the Windows version of the level editor, which is way more stable, with wine. You need the Windows version of the game for this to work, though.
(This post was last modified: 01-16-2011, 05:04 AM by Andross.)
01-16-2011, 04:59 AM
Find
josephschwenker Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jan 2011
Reputation: 0
#3
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

(01-16-2011, 04:59 AM)Andross Wrote: Yeah, I had similar problems on ArchLinux 32bit. I tried to analyze them with valgrind, make glibc ignore double free(), but nothing helped.

Eventually, I solved the problem by using the Windows version of the level editor, which is way more stable, with wine. You need the Windows version of the game for this to work, though.

I was about to try that, but I can't afford to waste any more disk space. Is there a bug report for this or something?
01-16-2011, 05:08 AM
Find
Andross Offline
Junior Member

Posts: 38
Threads: 1
Joined: Oct 2010
Reputation: 0
#4
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

Not that I know of. I know that I should have filed one back then, but I was too lazy Blush
01-16-2011, 05:13 AM
Find
josephschwenker Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jan 2011
Reputation: 0
#5
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

(01-16-2011, 05:13 AM)Andross Wrote: Not that I know of. I know that I should have filed one back then, but I was too lazy Blush

Do you know how I can file one?
01-16-2011, 05:58 AM
Find
Andross Offline
Junior Member

Posts: 38
Threads: 1
Joined: Oct 2010
Reputation: 0
#6
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

So here is my output when I select Entityes/enemy. It's effectively the same as josephschwenker's, except for the sound errors:

*** glibc detected *** ./LevelEditor.bin: double free or corruption (out): 0xbf8b5a80 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6bed1)[0xb704bed1]
/lib/libc.so.6(+0x6d81b)[0xb704d81b]
/lib/libc.so.6(cfree+0x6d)[0xb70509bd]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb721b361]
./LevelEditor.bin(_ZNSt4listISbIwSt11char_traitsIwESaIwEESaIS3_EE5eraseESt14_List_iteratorIS3_E+0x32)[0x8181fd2]
./LevelEditor.bin(_ZN21iEditorObjectIndexDir7RefreshEPN3hpl11cXmlElementEb+0xc62)[0x818b2a2]
./LevelEditor.bin(_ZN21iEditorObjectIndexDir7RefreshEPN3hpl11cXmlElementEb+0x65a)[0x818ac9a]
./LevelEditor.bin(_ZN18iEditorObjectIndex7RefreshEv+0x3b3)[0x818bf43]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser11CreateIndexERKSbIwSt11char_traitsIwESaIwEE+0x294)[0x81c9ee4]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser15BuildObjectListEv+0x1f)[0x81ca1bf]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser19ObjectSets_OnChangeEPN3hpl7iWidgetERKNS0_15cGuiMessageDataE+0x11)[0x81ca1f1]
./LevelEditor.bin(_ZN26cEditorWindowObjectBrowser30ObjectSets_OnChange_static_guiEPvPN3hpl7iWidgetERKNS1_15cGuiMessageDataE+0x1f)[0x81ca21f]
./LevelEditor.bin(_ZN3hpl7iWidget16ProcessCallbacksENS_11eGuiMessageERKNS_15cGuiMessageDataE+0x3c)[0x832223c]
./LevelEditor.bin(_ZN3hpl7iWidget14ProcessMessageENS_11eGuiMessageERKNS_15cGuiMessageDataEbb+0xa6)[0x8322306]
./LevelEditor.bin(_ZN3hpl15cWidgetComboBox15SetSelectedItemEibb+0x170)[0x82f58f0]
./LevelEditor.bin(_ZN3hpl15cWidgetComboBox9OnMouseUpERKNS_15cGuiMessageDataE+0x8b)[0x82f5a1b]
./LevelEditor.bin(_ZN3hpl7iWidget14ProcessMessageENS_11eGuiMessageERKNS_15cGuiMessageDataEbb+0x129)[0x8322389]
./LevelEditor.bin(_ZN3hpl7cGuiSet9OnMouseUpERKNS_15cGuiMessageDataE+0xc5)[0x832aba5]
./LevelEditor.bin(_ZN3hpl7cGuiSet11SendMessageENS_11eGuiMessageERKNS_15cGuiMessageDataE+0x96)[0x832b426]
./LevelEditor.bin(_ZN3hpl4cGui16SendMouseClickUpENS_15eGuiMouseButtonEi+0x35)[0x83103f5]
./LevelEditor.bin(_ZN11iEditorBase6UpdateEf+0x804)[0x81780b4]
./LevelEditor.bin(_ZN3hpl8cUpdater10RunMessageENS_18eUpdateableMessageEf+0x376)[0x83bf4f6]
./LevelEditor.bin(_ZN3hpl7cEngine3RunEv+0xe6)[0x83c0326]
./LevelEditor.bin(_Z7hplMainRKSs+0x51)[0x828b771]
./LevelEditor.bin(main+0x14d)[0x83ad37d]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb6ff6c66]
./LevelEditor.bin(ftell+0x4d)[0x816e341]
======= Memory map: ========
08048000-08680000 r-xp 00000000 08:08 11954621   /home/tly/games/Amnesia/LevelEditor.bin
08680000-08686000 rw-p 00637000 08:08 11954621   /home/tly/games/Amnesia/LevelEditor.bin
08686000-08690000 rw-p 00000000 00:00 0
08a55000-0a09e000 rw-p 00000000 00:00 0          [heap]
aa94e000-ab400000 rw-p 00000000 00:00 0
ab400000-ab421000 rw-p 00000000 00:00 0
ab421000-ab500000 ---p 00000000 00:00 0
ab515000-ab516000 ---p 00000000 00:00 0
ab516000-abd16000 rw-p 00000000 00:00 0
abd16000-afd17000 rw-s 00000000 00:10 617270     /dev/shm/pulse-shm-64758840
afd17000-afd18000 ---p 00000000 00:00 0
afd18000-b0518000 rw-p 00000000 00:00 0
b0518000-b05d9000 r-xp 00000000 08:02 14164      /usr/lib/libasound.so.2.0.0
b05d9000-b05dd000 rw-p 000c1000 08:02 14164      /usr/lib/libasound.so.2.0.0
b05dd000-b05e1000 r-xp 00000000 08:02 1278       /lib/libattr.so.1.1.0
b05e1000-b05e2000 rw-p 00003000 08:02 1278       /lib/libattr.so.1.1.0
b05e2000-b05f3000 r-xp 00000000 08:02 317        /lib/libresolv-2.12.2.so
b05f3000-b05f4000 r--p 00010000 08:02 317        /lib/libresolv-2.12.2.so
b05f4000-b05f5000 rw-p 00011000 08:02 317        /lib/libresolv-2.12.2.so
b05f5000-b05f7000 rw-p 00000000 00:00 0
b05f7000-b075c000 r-xp 00000000 08:02 12172      /usr/lib/libvorbisenc.so.2.0.8
b075c000-b076d000 rw-p 00165000 08:02 12172      /usr/lib/libvorbisenc.so.2.0.8
b076d000-b07b9000 r-xp 00000000 08:02 29428      /usr/lib/libFLAC.so.8.2.0
b07b9000-b07ba000 rw-p 0004c000 08:02 29428      /usr/lib/libFLAC.so.8.2.0
b07ba000-b07cd000 r-xp 00000000 08:02 327        /lib/libnsl-2.12.2.so
b07cd000-b07ce000 r--p 00012000 08:02 327        /lib/libnsl-2.12.2.so
b07ce000-b07cf000 rw-p 00013000 08:02 327        /lib/libnsl-2.12.2.so
b07cf000-b07d1000 rw-p 00000000 00:00 0
b07d1000-b07d4000 r-xp 00000000 08:02 13680      /lib/libcap.so.2.19
b07d4000-b07d5000 rw-p 00002000 08:02 13680      /lib/libcap.so.2.19
b07d5000-b0810000 r-xp 00000000 08:02 2302       /usr/lib/libdbus-1.so.3.5.3
b0810000-b0811000 r--p 0003b000 08:02 2302       /usr/lib/libdbus-1.so.3.5.3
b0811000-b0812000 rw-p 0003c000 08:02 2302       /usr/lib/libdbus-1.so.3.5.3
b0812000-b0816000 r-xp 00000000 08:02 32824      /usr/lib/libasyncns.so.0.3.1
b0816000-b0817000 rw-p 00003000 08:02 32824      /usr/lib/libasyncns.so.0.3.1
b0817000-b0877000 r-xp 00000000 08:02 29437      /usr/lib/libsndfile.so.1.0.23
b0877000-b0879000 rw-p 0005f000 08:02 29437      /usr/lib/libsndfile.so.1.0.23
b0879000-b087d000 rw-p 00000000 00:00 0
b087d000-b0884000 r-xp 00000000 08:02 32800      /usr/lib/libwrap.so.0.7.6
b0884000-b0885000 rw-p 00006000 08:02 32800      /usr/lib/libwrap.so.0.7.6
b0885000-b0888000 r-xp 00000000 08:02 23635      /usr/lib/libxcb-atom.so.1.0.0
b0888000-b0889000 rw-p 00002000 08:02 23635      /usr/lib/libxcb-atom.so.1.0.0
b0889000-b088d000 r-xp 00000000 08:02 23135      /usr/lib/libXtst.so.6.1.0
b088d000-b088e000 rw-p 00003000 08:02 23135      /usr/lib/libXtst.so.6.1.0
b088e000-b088f000 r-xp 00000000 08:02 21103      /usr/lib/libX11-xcb.so.1.0.0
b088f000-b0890000 rw-p 00000000 08:02 21103      /usr/lib/libX11-xcb.so.1.0.0
b0890000-b08d9000 r-xp 00000000 08:02 16450      /usr/lib/libpulsecommon-0.9.22.so
b08d9000-b08da000 rw-p 00049000 08:02 16450      /usr/lib/libpulsecommon-0.9.22.so
b08da000-b0919000 r-xp 00000000 08:02 16677      /usr/lib/libpulse.so.0.12.3
b0919000-b091a000 rw-p 0003f000 08:02 16677      /usr/lib/libpulse.so.0.12.3
b093f000-b45ac000 rw-p 00000000 00:00 0
b45ac000-b45ae000 r-xs 00000000 08:07 15         /tmp/glSB1p5b (deleted)
b45ae000-b45b0000 rw-s 00000000 08:07 15         /tmp/glSB1p5b (deleted)
b45b0000-b47b0000 rw-s 0d521000 00:05 7529       /dev/nvidia0
b47b0000-b48b0000 rw-s 20169000 00:05 7529       /dev/nvidia0
b48b0000-b48b1000 rw-s f6c08000 00:05 7529       /dev/nvidia0
b48b1000-b48f1000 rw-s 1f336000 00:05 7529       /dev/nvidia0
b48f1000-b49ef000 rw-p 00000000 00:00 0
b49ef000-b49f0000 ---p 00000000 00:00 0
b49f0000-b522a000 rw-p 00000000 00:00 0
b522b000-b522f000 rw-s 2459d000 00:05 7529       /dev/nvidia0
b522f000-b5233000 rw-s 1e41a000 00:05 7529       /dev/nvidia0
b5233000-b5234000 rw-s e0005000 00:05 7529       /dev/nvidia0
b5234000-b527a000 rw-p 00000000 00:05 2940       /dev/zero
b527a000-b5282000 r-xp 00000000 08:02 23272      /usr/lib/libXcursor.so.1.0.2
b5282000-b5283000 rw-p 00007000 08:02 23272      /usr/lib/libXcursor.so.1.0.2
b5283000-b5284000 rw-s 2013b000 00:05 7529       /dev/nvidia0
b5284000-b5288000 rw-s 35f93000 00:05 7529       /dev/nvidia0
b52a8000-b5406000 r--p 001ee000 08:02 265        /usr/lib/locale/locale-archive
b5406000-b5606000 r--p 00000000 08:02 265        /usr/lib/locale/locale-archive
b5606000-b5609000 rw-p 00000000 00:00 0
b5609000-b562f000 r-xp 00000000 08:02 2264       /usr/lib/libexpat.so.1.5.2
b562f000-b5631000 rw-p 00026000 08:02 2264       /usr/lib/libexpat.so.1.5.2
b5631000-b5634000 r-xp 00000000 08:02 1881       /lib/libuuid.so.1.3.0
b5634000-b5635000 rw-p 00002000 08:02 1881       /lib/libuuid.so.1.3.0
b5635000-b5636000 rw-p 00000000 00:00 0
b5636000-b563a000 r-xp 00000000 08:02 20968      /usr/lib/libXdmcp.so.6.0.0
b563a000-b563b000 rw-p 00003000 08:02 20968      /usr/lib/libXdmcp.so.6.0.0
b563b000-b563d000 r-xp 00000000 08:02 20982      /usr/lib/libXau.so.6.0.0
b563d000-b563e000 rw-p 00001000 08:02 20982      /usr/lib/libXau.so.6.0.0
b563e000-b5645000 r-xp 00000000 08:02 22705      /usr/lib/libXrender.so.1.3.0
b5645000-b5646000 rw-p 00007000 08:02 22705      /usr/lib/libXrender.so.1.3.0
b5646000-b5672000 r-xp 00000000 08:02 23002      /usr/lib/libfontconfig.so.1.4.4
b5672000-b5674000 rw-p 0002b000 08:02 23002      /usr/lib/libfontconfig.so.1.4.4
b5674000-b5688000 r-xp 00000000 08:02 21926      /usr/lib/libICE.so.6.3.0
b5688000-b5689000 rw-p 00013000 08:02 21926      /usr/lib/libICE.so.6.3.0
b5689000-b568c000 rw-p 00000000 00:00 0
b568c000-b5692000 r-xp 00000000 08:02 21934      /usr/lib/libSM.so.6.0.1
b5692000-b5693000 rw-p 00005000 08:02 21934      /usr/lib/libSM.so.6.0.1
b5693000-b56e0000 r-xp 00000000 08:02 22323      /usr/lib/libXt.so.6.0.0
b56e0000-b56e4000 rw-p 0004c000 08:02 22323      /usr/lib/libXt.so.6.0.0
b56e4000-b56fb000 r-xp 00000000 08:02 21003      /usr/lib/libxcb.so.1.1.0
b56fb000-b56fc000 rw-p 00016000 08:02 21003      /usr/lib/libxcb.so.1.1.0
b56fc000-b56fe000 r-xp 00000000 08:02 23141      /usr/lib/libXinerama.so.1.0.0
b56fe000-b56ff000 rw-p 00001000 08:02 23141      /usr/lib/libXinerama.so.1.0.0
b56ff000-b5710000 r-xp 00000000 08:02 23176      /usr/lib/libXft.so.2.2.0
b5710000-b5711000 rw-p 00011000 08:02 23176      /usr/lib/libXft.so.2.2.0
b5711000-b5712000 rw-p 00000000 00:00 0 Aborted

Running the Editor with Valgrind brings hundreds of error messages, most of which are like
Conditional jump or move depends on uninitialised value(s)
Pretty common, I think. IIRC, libGL produces some of those on a regular basis.

The interesting part is the crash itself (again, when I select Entities/enemy):

==8653== Invalid free() / delete / delete[]
==8653==    at 0x40238AC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==8653==    by 0x8181FD1: std::list<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::erase(std::_List_iterator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x818B2A1: iEditorObjectIndexDir::Refresh(hpl::cXmlElement*, bool) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x818AC99: iEditorObjectIndexDir::Refresh(hpl::cXmlElement*, bool) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x818BF42: iEditorObjectIndex::Refresh() (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x81C9EE3: cEditorWindowObjectBrowser::CreateIndex(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x81CA1BE: cEditorWindowObjectBrowser::BuildObjectList() (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x81CA1F0: cEditorWindowObjectBrowser::ObjectSets_OnChange(hpl::iWidget*, hpl::cGuiMessageData const&) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x81CA21E: cEditorWindowObjectBrowser::ObjectSets_OnChange_static_gui(void*, hpl::iWidget*, hpl::cGuiMessageData const&) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x832223B: hpl::iWidget::ProcessCallbacks(hpl::eGuiMessage, hpl::cGuiMessageData const&) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x8322305: hpl::iWidget::ProcessMessage(hpl::eGuiMessage, hpl::cGuiMessageData const&, bool, bool) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==    by 0x82F58EF: hpl::cWidgetComboBox::SetSelectedItem(int, bool, bool) (in /home/tly/games/Amnesia/LevelEditor.bin)
==8653==  Address 0xbee5e170 is on thread 1's stack
==8653==
01-16-2011, 06:17 PM
Find
Andross Offline
Junior Member

Posts: 38
Threads: 1
Joined: Oct 2010
Reputation: 0
#7
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

So, I found a workaround here. It's meant for the Mac, but was easy to adapt.

Clear the Temp and Thumbnails directories in ~/.frictionalgames/HPL2/ before you start the editor.
02-06-2011, 02:26 AM
Find
Akasu Offline
Member

Posts: 62
Threads: 6
Joined: Aug 2010
Reputation: 2
#8
Solved: 8 Years, 9 Months, 1 Week ago RE: Random Crashes in Level Editor on Linux

Bumping up an old post but anyways, the workaround doesn't work for me. It still crashes randomly when selecting anything from the entity or static objects list.
I included two LevelEditor log files. One is when it crashed before I used the workaround and the other is when it crashed after I had used it.


Attached Files
.log   LevelEditor(before).log (Size: 9.61 KB / Downloads: 146)
.log   LevelEditor(after).log (Size: 6.59 KB / Downloads: 147)
06-15-2011, 11:30 PM
Find




Users browsing this thread: 1 Guest(s)