News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[10.18] Backtrace from server crash

Started by jamespetts, January 02, 2013, 05:12:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

Following the server crash reported here, I happened to have the SSH window open at the time, and it has given me a backtrace as follows. I have posted this here for reference purposes. However, if anyone would like to assist in debugging this crash, I should be most grateful.


*** glibc detected *** /usr/share/games/simutrans-experimental/simutrans/simutrans-experimental: free(): invalid pointer: 0x0000000023b3d550 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fa72a433b96]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x45cd78]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x45d264]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5578c9]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x558441]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5585eb]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x55c28b]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5bce11]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5cb70d]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5cd8b5]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x455b48]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5c5ae2]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x58a759]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5961b8]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x5f2475]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fa72a3d676d]
/usr/share/games/simutrans-experimental/simutrans/simutrans-experimental[0x4038f9]
======= Memory map: ========
00400000-0066d000 r-xp 00000000 fd:03 396794                             /usr/share/games/simutrans-experimental/simutrans/simutrans-experimental
0086d000-0086e000 r--p 0026d000 fd:03 396794                             /usr/share/games/simutrans-experimental/simutrans/simutrans-experimental
0086e000-0086f000 rw-p 0026e000 fd:03 396794                             /usr/share/games/simutrans-experimental/simutrans/simutrans-experimental
0086f000-009b0000 rw-p 00000000 00:00 0
01728000-32555000 rw-p 00000000 00:00 0                                  [heap]
7fa72a3b3000-7fa72a3b5000 rw-p 00000000 00:00 0
7fa72a3b5000-7fa72a56a000 r-xp 00000000 fd:03 2359312                    /lib/x86_64-linux-gnu/libc-2.15.so
7fa72a56a000-7fa72a769000 ---p 001b5000 fd:03 2359312                    /lib/x86_64-linux-gnu/libc-2.15.so
7fa72a769000-7fa72a76d000 r--p 001b4000 fd:03 2359312                    /lib/x86_64-linux-gnu/libc-2.15.so
7fa72a76d000-7fa72a76f000 rw-p 001b8000 fd:03 2359312                    /lib/x86_64-linux-gnu/libc-2.15.so
7fa72a76f000-7fa72a774000 rw-p 00000000 00:00 0
7fa72a774000-7fa72a789000 r-xp 00000000 fd:03 2359374                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa72a789000-7fa72a988000 ---p 00015000 fd:03 2359374                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa72a988000-7fa72a989000 r--p 00014000 fd:03 2359374                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa72a989000-7fa72a98a000 rw-p 00015000 fd:03 2359374                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa72a98a000-7fa72aa85000 r-xp 00000000 fd:03 2359329                    /lib/x86_64-linux-gnu/libm-2.15.so
7fa72aa85000-7fa72ac84000 ---p 000fb000 fd:03 2359329                    /lib/x86_64-linux-gnu/libm-2.15.so
7fa72ac84000-7fa72ac85000 r--p 000fa000 fd:03 2359329                    /lib/x86_64-linux-gnu/libm-2.15.so
7fa72ac85000-7fa72ac86000 rw-p 000fb000 fd:03 2359329                    /lib/x86_64-linux-gnu/libm-2.15.so
7fa72ac86000-7fa72ad68000 r-xp 00000000 fd:03 3015327                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fa72ad68000-7fa72af67000 ---p 000e2000 fd:03 3015327                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fa72af67000-7fa72af6f000 r--p 000e1000 fd:03 3015327                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fa72af6f000-7fa72af71000 rw-p 000e9000 fd:03 3015327                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fa72af71000-7fa72af86000 rw-p 00000000 00:00 0
7fa72af86000-7fa72af95000 r-xp 00000000 fd:03 2359460                    /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fa72af95000-7fa72b194000 ---p 0000f000 fd:03 2359460                    /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fa72b194000-7fa72b195000 r--p 0000e000 fd:03 2359460                    /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fa72b195000-7fa72b196000 rw-p 0000f000 fd:03 2359460                    /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fa72b196000-7fa72b1ac000 r-xp 00000000 fd:03 2359370                    /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fa72b1ac000-7fa72b3ab000 ---p 00016000 fd:03 2359370                    /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fa72b3ab000-7fa72b3ac000 r--p 00015000 fd:03 2359370                    /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fa72b3ac000-7fa72b3ad000 rw-p 00016000 fd:03 2359370                    /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fa72b3ad000-7fa72b3cf000 r-xp 00000000 fd:03 2359340                    /lib/x86_64-linux-gnu/ld-2.15.so
7fa72b59e000-7fa72b5c5000 rw-p 00000000 00:00 0
7fa72b5cc000-7fa72b5cf000 rw-p 00000000 00:00 0
7fa72b5cf000-7fa72b5d0000 r--p 00022000 fd:03 2359340                    /lib/x86_64-linux-gnu/ld-2.15.so
7fa72b5d0000-7fa72b5d2000 rw-p 00023000 fd:03 2359340                    /lib/x86_64-linux-gnu/ld-2.15.so
7fffe40e3000-7fffe4104000 rw-p 00000000 00:00 0                          [stack]
7fffe41ff000-7fffe4200000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
root@438242:/usr/share/games/simutrans-experimental/simutrans#

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

ӔO

#1
Hopefully, this save game can help track down the cause of corrupt save games
http://dl.dropbox.com/u/17111233/backup2-autosave01.sve

---

PS. take a look at overcrowded stations, like nutish railport, and cycle through the various display modes. "origin" sometimes has extremely excessive text that blacks out the fields.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

Hmm - I have been looking into the corrupt saves. They always seem to go wrong in the section dealing with stops, which is after the basic settings and the map itself, but before things like convoys, so fairly early in the save/load sequence. There does not seem to be any discernible pattern in which stops are the ones on which the loading/saving fails, except that it is a different one each time. None of them seem to be particularly large or crowded stops. This does not seem in principle to be related to crashes connected to vehicle replacing, although it is hard to tell without being able to reproduce it precisely.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

asaphxiix

alas, at first after the new release I joined, and saved, and everything was alright, but then I tried again to work on my newest track, making stations for it, then in mid-process saved and rejoined, and there's the error again.

jamespetts

Hmm - this is a difficult bug indeed. The best way of dealing with this, I think, is a series of tests to see what additions/changes to the map cause this problem: please see here for more details on how you can help.

Sorry for the trouble!
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.