News:

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

[devel-new 36cd6d] - Fatal error.

Started by O01eg, February 15, 2015, 06:50:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

O01eg



Quote
Program received signal SIGABRT, Aborted.
0x00007ffff6727607 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6727607 in raise () from /lib64/libc.so.6
#1  0x00007ffff6728948 in abort () from /lib64/libc.so.6
#2  0x000000000072a5d9 in log_t::fatal (this=<optimized out>, who=who@entry=0x77de0d "minivec_tpl<T>::[]",
    format=format@entry=0x77de58 "index out of bounds: %i not in 0..%d") at utils/log.cc:347
#3  0x0000000000688835 in operator[] (i=<optimized out>, this=<optimized out>) at tpl/minivec_tpl.h:143
#4  get_element (e=<optimized out>, this=<optimized out>) at tpl/minivec_tpl.h:155
#5  convoi_t::laden (this=this@entry=0x121fe8b0) at simconvoi.cc:4613
#6  0x00000000006898d8 in convoi_t::step (this=0x121fe8b0) at simconvoi.cc:1884
#7  0x0000000000718f4a in karte_t::step (this=this@entry=0x10721780) at simworld.cc:4978
#8  0x000000000071ce6b in karte_t::interactive (this=this@entry=0x10721780, quit_month=quit_month@entry=2147483647) at simworld.cc:9028
#9  0x00000000006c2d9e in simu_main (argc=argc@entry=1, argv=argv@entry=0x7fffffffd7e8) at simmain.cc:1345
#10 0x00000000006d3007 in sysmain (argc=1, argv=0x7fffffffd7e8) at simsys.cc:702
#11 0x00007ffff6713de5 in __libc_start_main () from /lib64/libc.so.6
#12 0x000000000040fe7d in _start ()
(gdb) f 5
#5  convoi_t::laden (this=this@entry=0x121fe8b0) at simconvoi.cc:4613
warning: Source file is more recent than executable.
4613            const koord3d halt_position = fpl->eintrag.get_element(iter.key.entry).pos;

Savegame: https://yadi.sk/d/vPrALIkaegSgf
Load savegame and wait for early August.

jamespetts

Thank you for the report: may I ask - when and how did you last change the schedule of vehicle no. 12? The crash is caused by the list of that vehicle's departures being longer than its schedule, which should not happen, as this should be reset whenever the schedule is changed.

I have added a mechanism to detect when this problem occurs and fix it before it causes a crash, but this has not dealt with the ultimate cause of the issue, the failure properly to clear the departure list when the schedule is changed, which may cause other problems elsewhere, so it would be helpful to know the circumstances in which the schedule changed to narrow this problem further.
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.

O01eg

It's hard to remember. I definitely change it. I upload the savegames where this vehicle exists also.

1: https://yadi.sk/d/5eVTTSjfegkit
2: https://yadi.sk/d/Kw_X3S0Regkj3