[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Update of bug #21272 (project freeciv): Status:None = Fixed Open/Closed:Open = Closed Planned Release: = 2.3.5 ___ Follow-up Comment #21: Since there is a little evidence that this crash went away when we upgraded Gtk+ from 2.16.6 to 2.24.10, I'm going to close this as fixed; seems little point keeping it open. Note that I'm treating this ticket as applying specifically to backtraces terminating in gdk_win32_drawable_get_handle(). There are some other backtraces posted here which appear unrelated, and there's no evidence that we can blame them on Gtk bugs. However, since they were reported against an old 2.3.4 version, I don't plan to take any further action on them, despite not having an explanation for them. I'll post the decodes here as search fodder and move on. If anyone has anything to say about these backtraces, or similar reports, please open a new ticket for them. Comment #17: Call stack: 0041CC20 _fill_sprite_array 004335F0 _put_one_element 004336D6 _put_unit 0042C612 _put_unit_gpixmap 00406019 _set_unit_icon 00422335 _update_unit_pix_label 0042184F _focus_units_changed 00423669 _advance_unit_focus 00445779 _client_remove_unit 004633B0 _handle_unit_remove 00472753 _client_handle_packet 00406D2B _client_packet_input 0042D8BF _input_from_server 6C3463D2 C:\MyGames\Freeciv\libgdk-win32-2.0-0.dll:6C3463D2 gdk_drawable_get_visible_region 685ED10B C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:\MyGames\Freeciv\libglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E94A80 gtk_main ... Comment #18: bug #21272 comment 18 http://gna.org/bugs/?21272#comment18: +verbatim_ 00432A94 _tile_to_canvas_pos 004333D4 _tile_visible_and_not_on_border_mapcanvas 00423656 _advance_unit_focus 0046398B _handle_unit_packet_common 00465818 _handle_unit_info 00472742 _client_handle_packet 00406D2B _client_packet_input 0042D8BF _input_from_server 6C3463D2 C:\MyGames\Freeciv\libgdk-win32-2.0-0.dll:6C3463D2 gdk_drawable_get_visible_region 685ED10B C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:\MyGames\Freeciv\libglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E94A80 gtk_main ... Neither of these look exactly like other symptoms I remember (e.g. the collection in bug #20939). ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #20, bug #21272 (project freeciv): There is some support to the idea that this bug has gone away with the updating of the gtk library. In the two weeks after my last post I had 6 further crashes of this sort with freeciv 2.3.4 In two weeks playing with 2.3.5 I had no crashes. LT32 has now finished. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #19, bug #21272 (project freeciv): The standard 2.3.5 Windows package was built with a newer Gtk library (same as 2.4.x), so we might hope for this to have gone away? (There's also a version of 2.3.5 available built with the old library http://download.gna.org/freeciv/packages/windows/testing/Freeciv-2.3.5-win32-gtk2(2.16.6)-setup.exe for testing purposes.) ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #18, bug #21272 (project freeciv): Here is another one - again in gdk_drawable_get_visible_region. This crash does not involve looking in the city, but I put it together with the others because it also seems to be a gtk bug. C:MyGamesFreecivfreeciv-gtk2.exe caused an Access Violation at location 00432a94 in module C:MyGamesFreecivfreeciv-gtk2.exe Reading from location 0018. Registers: eax=0062 ebx=0022f81c ecx=0022f7a8 edx= esi=0014 edi=01c4 eip=00432a94 esp=0022f780 ebp=0022f7c8 iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010206 Call stack: 00432A94 C:MyGamesFreecivfreeciv-gtk2.exe:00432A94 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004333D4 C:MyGamesFreecivfreeciv-gtk2.exe:004333D4 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00423656 C:MyGamesFreecivfreeciv-gtk2.exe:00423656 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0046398B C:MyGamesFreecivfreeciv-gtk2.exe:0046398B WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00465818 C:MyGamesFreecivfreeciv-gtk2.exe:00465818 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00472742 C:MyGamesFreecivfreeciv-gtk2.exe:00472742 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00406D2B C:MyGamesFreecivfreeciv-gtk2.exe:00406D2B WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0042D8BF C:MyGamesFreecivfreeciv-gtk2.exe:0042D8BF WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 6C3463D2 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C3463D2 gdk_drawable_get_visible_region 685ED10B C:MyGamesFreecivlibglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:MyGamesFreecivlibglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:MyGamesFreecivlibglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E94A80 gtk_main 00405DD7 C:MyGamesFreecivfreeciv-gtk2.exe:00405DD7 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004072ED C:MyGamesFreecivfreeciv-gtk2.exe:004072ED WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0040235B C:MyGamesFreecivfreeciv-gtk2.exe:0040235B console_main /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:318 00402418 C:MyGamesFreecivfreeciv-gtk2.exe:00402418 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00401AD6 C:MyGamesFreecivfreeciv-gtk2.exe:00401AD6 004010DB C:MyGamesFreecivfreeciv-gtk2.exe:004010DB 00401158 C:MyGamesFreecivfreeciv-gtk2.exe:00401158 77E6F1EB C:WINDOWSsystem32kernel32.dll:77E6F1EB ProcessIdToSessionId ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #16, bug #21272 (project freeciv): Here is another of these bugs Again windows 2.3.4, again gdk_win32_drawable_get_handle. C:MyGamesFreecivfreeciv-gtk2.exe caused an Access Violation at location 01b76408 Writing to location 01b76408. Registers: eax=01b76450 ebx=0001 ecx=132aef00 edx= esi=0022c6a4 edi=13283cc8 eip=01b76408 esp=0022c170 ebp=0022c1ac iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00210202 Call stack: 01B76408 6C36B525 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C36B525 gdk_win32_drawable_get_handle 6C36DD14 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C36DD14 gdk_event_get_graphics_expose 6C371737 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C371737 gdk_event_get_graphics_expose 7739B6E3 C:WINDOWSsystem32USER32.dll:7739B6E3 LoadCursorW 7739B874 C:WINDOWSsystem32USER32.dll:7739B874 LoadCursorW 7739C8B8 C:WINDOWSsystem32USER32.dll:7739C8B8 GetMessageW 7739223B C:WINDOWSsystem32USER32.dll:7739223B LoadCursorA 7C8283A6 C:WINDOWSsystem32ntdll.dll:7C8283A6 KiUserCallbackDispatcher 77392390 C:WINDOWSsystem32USER32.dll:77392390 SetWindowLongW 773923EB C:WINDOWSsystem32USER32.dll:773923EB CreateWindowExW 6C38C8EF C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C38C8EF gdk_window_set_skip_taskbar_hint 6C35A8D3 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C35A8D3 gdk_window_new 00DE3D4C C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00DE3D4C gtk_button_get_type 63A43B7A C:MyGamesFreecivlibgobject-2.0-0.dll:63A43B7A g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAEF45 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAEF45 gtk_widget_realize 00FAF760 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF760 gtk_widget_map 00F1E920 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00F1E920 gtk_table_get_type 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00EF9EB8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00EF9EB8 gtk_scrolled_window_get_type 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00E59285 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E59285 gtk_frame_get_type 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00DDB0B6 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00DDB0B6 gtk_box_get_type 00E11852
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #17, bug #21272 (project freeciv): And here is a new one - this time in gdk_drawable_get_visible_region C:MyGamesFreecivfreeciv-gtk2.exe caused an Access Violation at location 0041cc20 in module C:MyGamesFreecivfreeciv-gtk2.exe Reading from location c0d40878. Registers: eax=afc75b41 ebx=01b68fc0 ecx=70128000 edx=01b68fc0 esi=0022f170 edi=003f0228 eip=0041cc20 esp=0022f040 ebp=0022f128 iopl=0 nv up ei pl nz na pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010203 Call stack: 0041CC20 C:MyGamesFreecivfreeciv-gtk2.exe:0041CC20 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004335F0 C:MyGamesFreecivfreeciv-gtk2.exe:004335F0 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004336D6 C:MyGamesFreecivfreeciv-gtk2.exe:004336D6 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0042C612 C:MyGamesFreecivfreeciv-gtk2.exe:0042C612 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00406019 C:MyGamesFreecivfreeciv-gtk2.exe:00406019 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00422335 C:MyGamesFreecivfreeciv-gtk2.exe:00422335 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0042184F C:MyGamesFreecivfreeciv-gtk2.exe:0042184F WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00423669 C:MyGamesFreecivfreeciv-gtk2.exe:00423669 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00445779 C:MyGamesFreecivfreeciv-gtk2.exe:00445779 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004633B0 C:MyGamesFreecivfreeciv-gtk2.exe:004633B0 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00472753 C:MyGamesFreecivfreeciv-gtk2.exe:00472753 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00406D2B C:MyGamesFreecivfreeciv-gtk2.exe:00406D2B WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0042D8BF C:MyGamesFreecivfreeciv-gtk2.exe:0042D8BF WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 6C3463D2 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C3463D2 gdk_drawable_get_visible_region 685ED10B C:MyGamesFreecivlibglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:MyGamesFreecivlibglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:MyGamesFreecivlibglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E94A80 gtk_main 00405DD7 C:MyGamesFreecivfreeciv-gtk2.exe:00405DD7 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 004072ED C:MyGamesFreecivfreeciv-gtk2.exe:004072ED WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 0040235B C:MyGamesFreecivfreeciv-gtk2.exe:0040235B console_main /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:318 00402418 C:MyGamesFreecivfreeciv-gtk2.exe:00402418 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402 00401AD6 C:MyGamesFreecivfreeciv-gtk2.exe:00401AD6 004010DB C:MyGamesFreecivfreeciv-gtk2.exe:004010DB 00401158 C:MyGamesFreecivfreeciv-gtk2.exe:00401158 77E6F1EB C:WINDOWSsystem32kernel32.dll:77E6F1EB ProcessIdToSessionId ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #12, bug #21272 (project freeciv): Hmm, thanks. From the tip of the stack, the common suffix of those backtraces starts at gdk_window_new() (from the base, there's not much -- in particular the main()-y bits are exactly the same as my previous decode so I won't post them again, and it never hits Freeciv code once it dives off into Gtk event loop stuff). One could read the common section of the call stack as handling an expose event on a window that's in the process of being created and fluffing that up, or something like that, maybe...? (Googling the top of the call stack in both cases, gdk_win32_drawable_get_handle(), I idly wonder about Gtk bug 658841 https://bugzilla.gnome.org/show_bug.cgi?id=658841, fixed in 2.24.7, not that there's enough detail there of why they made this change.) Keep 'em coming... (I realise this may be harder without the LT32 server :) ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #14, bug #21272 (project freeciv): Here is a 3rd version of this bug. Thanks. And yes the top of the call stack is again gdk_win32_drawable_get_handle. ...and again, common suffix starts at gdk_window_new() and what's below that is different. Here's the decode for the bit of Freeciv code in the middle: ... 0FB01DC C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00FB01DC gtk_widget_show 00FBE2F1 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00FBE2F1 gtk_window_present 00430383 _popup_unit_select_dialog 00424AD6 _do_map_click 0042E993 _butt_down_mapcanvas 00E9733A C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E9733A gtk_marshal_VOID__UINT_STRING 63A43B7A C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A43B7A g_closure_invoke ... (Since this is the unit select dialog, this might have been clicking on a team-mate's city?) I'm reasonably willing to believe that this is a random Gtk failure with a chance of occurring whenever a window is popped up. A question: if this is an old gtk bug why did it not happen before, for instance in LT30 which also used freeciv version 2.3 Good question. From Google, I think LT30 ran from about Jan-Aug 2012, right? The latest clients available in that period were 2.3.1 and 2.3.2; the Windows builds might well have been using an even older version of Gtk which didn't have the bug (but I haven't checked). I guess it doesn't matter if it goes away with the new version of gtk We've got no evidence that it will yet, it's just a guess. On the other hand, I have no better ideas. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #15, bug #21272 (project freeciv): A question: if this is an old gtk bug why did it not happen before, for instance in LT30 which also used freeciv version 2.3 The answer is: I didn't use vanilla freeciv 2.3.0 in LT30 because it was broken. I used a modified freeciv 2.3.0 with the adam smith patch see http://gna.org/bugs/?19219 I had downloaded gtk+-bundle_2.24.8-2022_win32 to compile the client, which according to your previous post, already contains the gtk patch. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #8, bug #21272 (project freeciv): I have used the reporter's delegation in LT32, but I haven't found anything interesting. I was not able to use a client running under valgrind as that made it too slow and the server cut the connection (took about 4.5 minutes to get the full ruleset and map down from the server). I did connect with 2.3.4 not under valgrind, and clicked around pretty much all of the player's teammates' cities to try to provoke trouble, as well as some of the player's own cities, without running into difficulty. Unfortunately, the LT32 server has died, precluding further investigation. Instead, I've had a go at making sense of the reporter's original backtrace in comment #0 by installing Ubuntu 'mingw-w64'. Using the supplied i686-w64-mingw32-addr2line against freeciv-gtk2.exe doesn't give any better decode than that attached here. A crude guesswork backtrace based on nm -n follows: [...gtk stuff as below...] 00FB01DC C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00FB01DC gtk_widget_show 00FBE2F1 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00FBE2F1 gtk_window_present 0047885F _real_city_dialog_popup 0045883C _cities_update_callback 00458A11 _update_unqueue 004025FE _idle_callback_wrapper 685ED10B C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:\MyGames\Freeciv\libglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:\MyGames\Freeciv\libglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E94A80 gtk_main 00405DD7 _ui_main 004072ED _client_main 0040235B _console_main 00402418 _WinMain@16 00401AD6 _main 004010DB ___mingw_CRTStartup 00401158 _WinMainCRTStartup 77E6F1EB C:\WINDOWS\system32\kernel32.dll:77E6F1EB ProcessIdToSessionId Which probably isn't that surprising given that this was when looking inside one of my own cities. (I'd be interested to see a backtrace from when you look in a teammate's city.) ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #9, bug #21272 (project freeciv): Given how deep in Gtk the crash is, I wonder if it's a Gtk rather than Freeciv bug. 2.3.4 looks like it was supplied with Gtk 2.16.6. I would expect cproc to build a Freeciv 2.3.5 release with at least Gtk 2.24.10, since that's what the Freeciv-2.4.0 Windows package uses. So, maybe this will fix itself. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #10, bug #21272 (project freeciv): I wonder if it's a Gtk rather than Freeciv bug. ...especially as the call trace is inside gtk_window_present(), and reportedly occurs for two completely different kinds of popup windows (city dialog and unit selection). Perhaps it's something that has a chance of happening for any popup window, and it's just that these are the most common popups? ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #11, bug #21272 (project freeciv): ...especially as the call trace is inside gtk_window_present(), maybe, maybe not. I hadn't realised the error messages I was getting were not the same. I have 4 of them with Access Violation at location 01b76408. I now see they are 3 different errors. Here is another one without the gtk_window_present() C:MyGamesFreecivfreeciv-gtk2.exe caused an Access Violation at location 01b76408 Writing to location 01b76408. Registers: eax=01b76450 ebx=0001 ecx=0e9d2ec0 edx= esi=0022e0c4 edi=0e719a58 eip=01b76408 esp=0022db90 ebp=0022dbcc iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010206 Call stack: 01B76408 6C36B525 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C36B525 gdk_win32_drawable_get_handle 6C36DD14 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C36DD14 gdk_event_get_graphics_expose 6C371737 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C371737 gdk_event_get_graphics_expose 7739B6E3 C:WINDOWSsystem32USER32.dll:7739B6E3 LoadCursorW 7739B874 C:WINDOWSsystem32USER32.dll:7739B874 LoadCursorW 7739C8B8 C:WINDOWSsystem32USER32.dll:7739C8B8 GetMessageW 7739223B C:WINDOWSsystem32USER32.dll:7739223B LoadCursorA 7C8283A6 C:WINDOWSsystem32ntdll.dll:7C8283A6 KiUserCallbackDispatcher 77392390 C:WINDOWSsystem32USER32.dll:77392390 SetWindowLongW 773923EB C:WINDOWSsystem32USER32.dll:773923EB CreateWindowExW 6C38C8EF C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C38C8EF gdk_window_set_skip_taskbar_hint 6C35A8D3 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C35A8D3 gdk_window_new 00EA7567 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00EA7567 gtk_menu_item_get_type 63A43B7A C:MyGamesFreecivlibgobject-2.0-0.dll:63A43B7A g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAEF45 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAEF45 gtk_widget_realize 00FAF760 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF760 gtk_widget_map 00EAA86A C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00EAA86A gtk_menu_shell_get_type 00E11852 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11852 gtk_container_forall 00E11992 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E11992 gtk_container_forall 63A43AA3 C:MyGamesFreecivlibgobject-2.0-0.dll:63A43AA3 g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00FB9D6B C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FB9D6B gtk_window_get_type 63A43B7A C:MyGamesFreecivlibgobject-2.0-0.dll:63A43B7A g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FAF6D8 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FAF6D8 gtk_widget_map 00FBA847 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FBA847 gtk_window_set_focus 63A43B7A C:MyGamesFreecivlibgobject-2.0-0.dll:63A43B7A g_closure_invoke 63A522AC C:MyGamesFreecivlibgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect 63A5A126 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A126 g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FB01DC C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FB01DC gtk_widget_show 00EA1D53 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00EA1D53 gtk_menu_popup 00E04137 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E04137 gtk_color_selection_dialog_get_color_selection 00E078AA C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E078AA gtk_combo_box_get_type 00E9733A C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E9733A gtk_marshal_VOID__UINT_STRING 63A43B7A C:MyGamesFreecivlibgobject-2.0-0.dll:63A43B7A g_closure_invoke 63A52A50 C:MyGamesFreecivlibgobject-2.0-0.dll:63A52A50 g_signal_handler_disconnect 63A59F4E C:MyGamesFreecivlibgobject-2.0-0.dll:63A59F4E g_signal_emit_valist 63A5A2B6 C:MyGamesFreecivlibgobject-2.0-0.dll:63A5A2B6 g_signal_emit 00FA562F C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00FA562F gtk_requisition_copy 00E9565A C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E9565A gtk_propagate_event 00E95A97 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E95A97 gtk_main_do_event 6C371903 C:MyGamesFreecivlibgdk-win32-2.0-0.dll:6C371903 gdk_event_get_graphics_expose 685ED10B C:MyGamesFreecivlibglib-2.0-0.dll:685ED10B g_main_context_dispatch 685ED925 C:MyGamesFreecivlibglib-2.0-0.dll:685ED925 g_main_context_dispatch 685EDE61 C:MyGamesFreecivlibglib-2.0-0.dll:685EDE61 g_main_loop_run 00E94A80 C:MyGamesFreecivlibgtk-win32-2.0-0.dll:00E94A80 gtk_main 00405DD7
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #7, bug #21272 (project freeciv): I have delegated to you in lt32 if you want to have a look. Have just checked the times of the four crashes to see if this is a factor. All four are completely different. Main reason for doing this is that the machine the freeciv server is running on seems to run a daily task for about ten minutes that takes 100% of the CPU. At this time the freeciv game freezes for all players logged on. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #6, bug #21272 (project freeciv): Thank you. I've now tried valgrind with 2.3.4 and teammates' cities with (their) units inside, in a toy game for about 12 turns, and not turned up any obvious trouble :( ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #4, bug #21272 (project freeciv): How annoying. I ran a brief toy game with two players on a team using pooled research for a while, with both clients run under valgrind, in case there was anything obvious. It didn't spot anything (well, it found other issues, but nothing that could explain this crash). However, there were a couple of differences: * I was using 2.4.0 rather than 2.3.4; * One player was not able to look into the other's cities by clicking on the map. This is probably more important. Remind me in what circumstances one player can inspect another's city (I assume you don't mean with diplomats/spies)? By looking inside, do you mean you get the full city dialog, or a unit list? And what exactly do you do in the UI to bring it up? If we don't make progress here, maybe you can delegate the relevant player to me so I can have a look? ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #5, bug #21272 (project freeciv): By looking into a city - I mean left clicking on a city that is owned by a team mate to get the Unit Selection dialog box. It does not matter if I have units in the city or not. It does not matter if the other player is online at the time or not. This is a client error - my client will crash but the server will stay running and those connected at the time will not notice anything. My guess is this crash is somehow server related, either because of a slow server or network lag. The client is expecting data from the server in a certain time frame. If it doesn't get that data it crashes. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Follow-up Comment #3, bug #21272 (project freeciv): Just had my client crash for a fourth time with this bug. I was looking into a team mates city again. I was able to look into that city both before the crash and again after I logged back on. Nothing had changed to the city in the meantime. This is a longturn game, so yes the savegame is not possible. ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21272] freeciv-gtk2.exe caused an Access Violation while looking inside city
Update of bug #21272 (project freeciv): Summary: freeciv-gtk2.exe caused an Access Violation at location 01b76408 = freeciv-gtk2.exe caused an Access Violation while looking inside city ___ Follow-up Comment #2: I had a look at what's been fixed on the S2_3 branch since 2.3.4 was released (results on the wiki http://www.freeciv.org/wiki/NEWS-2.3.5), and didn't spot anything which we've already fixed which I thought could cause this symptom. So it might be something new. I've also played quite a few turns of the civ2-3 ruleset using head-of-S2_3 (not 2.3.4) on Linux without obvious issues. two of the 3 (possibly all) were team mates cities I wonder if this is significant (although you also say when looking inside one of my own cities, so it would have to be something triggered by the mere existence of teams in the game, such as pooled research?) I'm guessing this is a multiplayer game, so we can't see the savegame? ___ Reply to this item at: http://gna.org/bugs/?21272 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev