News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

[9.2] seg fault for world enlargement

Started by sdog, January 10, 2011, 04:38:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdog

When enlarging the map from 256x256 to 1024x1024 the program reproduceably exited with segmentation fault. It is reproducible for a newly created map.

Tested with: simutrans experimental 9.2, 64 bit binary, compiled with gcc 4.4.5; pak128.gritain-ex 7.1

Test system: ubuntu 10.10, 64 bit


Program received signal SIGSEGV, Segmentation fault.
0x00000000004471c1 in weg_t::calc_bild() ()
(gdb) bt
#0  0x00000000004471c1 in weg_t::calc_bild() ()
#1  0x000000000043b1ed in grund_t::calc_bild() ()
#2  0x00000000006306c9 in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#3  0x00000000006305ec in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#4  0x00000000006307f7 in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#5  0x000000000063062a in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#6  0x0000000000630548 in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#7  0x00000000006307f7 in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#8  0x00000000006307f7 in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#9  0x000000000063065e in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#10 0x00000000006305ec in karte_t::lower_to(short, short, signed char, signed char, signed char, signed char) ()
#11 0x0000000000630b21 in karte_t::lower(koord) ()
#12 0x0000000000636681 in karte_t::enlarge_map(einstellungen_t*, signed char*)
    ()
---Type <return> to continue, or q <return> to quit---
#13 0x00000000004de591 in enlarge_map_frame_t::action_triggered(gui_action_creator_t*, value_t) ()
#14 0x00000000004a673c in gui_action_creator_t::call_listeners(value_t) ()
#15 0x00000000004a496d in button_t::infowin_event(event_t const*) ()
#16 0x00000000004f6035 in gui_container_t::infowin_event(event_t const*) ()
#17 0x00000000004f72e5 in gui_frame_t::infowin_event(event_t const*) ()
#18 0x000000000061de9c in check_pos_win(event_t*) ()
#19 0x000000000063fc6b in karte_t::interactive(unsigned int) ()
#20 0x00000000005f0117 in simu_main(int, char**) ()
#21 0x000000000067b11a in main ()


jamespetts

9.3 fixes a possible cause of a segmentation fault on map enlargement - can you let me know whether this issue recurs in 9.3?
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.

jamespetts

There having been no further reports in 9.3, I shall treat this as being fixed.
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.