Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] (PR#15204) SDL client: segfault with city names turned on
Home

[Freeciv-Dev] (PR#15204) SDL client: segfault with city names turned on

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: himasaram@xxxxxxxx
Subject: [Freeciv-Dev] (PR#15204) SDL client: segfault with city names turned on
From: "Christian Prochaska" <cp.ml.freeciv.dev@xxxxxxxxxxxxxx>
Date: Tue, 17 Jan 2006 19:32:55 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15204 >

Daniel Markstedt schrieb:

><URL: http://bugs.freeciv.org/Ticket/Display.html?id=15204 >
>
>The SDL client defaults to hidden city names on the map.
>
>When turned on (Map Options -> City Names) the client segfaults
>immediately or after a few turns.
>
>Same problem with City Productions.
>
>-Daniel
>

On my PC the client tends to run into a cycle, because
add_idle_callback() is not fully implemented yet and for now just calls
the idle function immediately.

#8  0x08063052 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1141
#9  0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#10 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#11 0x080658ec in queue_add_callback () at mapview_common.c:1971
#12 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#13 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533
#14 0x080634e7 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1131
#15 0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#16 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#17 0x080658ec in queue_add_callback () at mapview_common.c:1971
#18 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#19 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533
#20 0x080634e7 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1131
#21 0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#22 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#23 0x080658ec in queue_add_callback () at mapview_common.c:1971
#24 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#25 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533
#26 0x080634e7 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1131
#27 0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#28 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#29 0x080658ec in queue_add_callback () at mapview_common.c:1971
#30 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#31 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533
#32 0x080634e7 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1131
#33 0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#34 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#35 0x080658ec in queue_add_callback () at mapview_common.c:1971
#36 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#37 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533
#38 0x080634e7 in update_map_canvas (canvas_x=168, canvas_y=72,
width=112, height=37) at mapview_common.c:1131
#39 0x08065da9 in unqueue_mapview_updates (write_to_screen=true) at
mapview_common.c:2115
#40 0x08115324 in add_idle_callback (callback=0x80658a0
<queue_callback>, data=0x0) at gui_main.c:1072
#41 0x080658ec in queue_add_callback () at mapview_common.c:1971
#42 0x0806353d in update_city_description (pcity=0x0) at
mapview_common.c:1209
#43 0x0806473a in show_city_descriptions (canvas_x=0, canvas_y=0,
width=112, height=37) at mapview_common.c:1533

Maybe your segmentation faults are related to this. Can you post a
backtrace? (http://www.freeciv.org/index.php/Bug_Reporting)





[Prev in Thread] Current Thread [Next in Thread]