bugFreeciv - Bugs: bug #20939, freeciv-gtk2.exe caused an Access...

 
 
Show feedback again

bug #20939: freeciv-gtk2.exe caused an Access Violation

Submitted by:  None
Submitted on:  Tue 02 Jul 2013 04:15:30 PM UTC  
 
Category: client-gtk-2.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 2.3.4
Operating System: Microsoft WindowsPlanned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 11 Jan 2014 12:26:53 PM UTC, comment #7:

To summarise, there are four distinct backtrace signatures in this ticket so far:

  1. _finish_city (comment #2)
  2. _stop_timer (comment #5 second)
  3. _fill_grid_sprite_array.clone.13 via _idle_callback_wrapper (comment #5 first)
  4. _fill_grid_sprite_array.clone.13 via _blink_active_unit (comment #6)

(I'm guessing the last two will have the same root cause.)

The only other clue is that the production, presence, or cleanup of pollution may be somehow implicated in some or all of these. (I've had some email conversations indicating more issues here -- "the client begins misbehaving in these conditions. (freezing, crashing, cma errors ... )")

Jacob Nevins <jtn>
Project Administrator
Sun 01 Dec 2013 01:35:23 PM UTC, comment #6:

The two call traces in comment #4 are the same as each other (although registers are different):

...which is similar to the first one from comment #3, albeit in a slightly different place.

> I didn't post them earlier because I didn't want to spam
> the bug system with faults. These two are from a different
> bug - but I can't remember the circumstances of this crash
> now.

I think this ticket's going to have to become a metaticket for "Access Violations encountered by one unfortunate Windows user". I realise it is hard for you to know when to raise separate tickets if you can't figure out what's different between causes.

Jacob Nevins <jtn>
Project Administrator
Sun 01 Dec 2013 01:27:10 PM UTC, comment #5:

Decode of interesting bits of comment #3 traces:

These all look quite different, although I guess they might all somehow have the same root cause in pollution somehow.

Jacob Nevins <jtn>
Project Administrator
Sun 01 Dec 2013 01:22:46 PM UTC, comment #4:

Here are two more crash reports from a different Access Violation.
I didn't post them earlier because I didn't want to spam the bug system with faults. These two are from a different bug - but I can't remember the circumstances of this crash now.

Anonymous
Sun 01 Dec 2013 12:57:52 PM UTC, comment #3:

OK
I have a lot more of these crash reports - they are not identical.
But I think they were all related to the same error which went away after recycling centers were built. Here are two more.

and

Anonymous
Sun 01 Dec 2013 11:35:31 AM UTC, comment #2:

A guesswork decode of the top of the stack from "nm -n":

Looks plausible if we assume name_new_city_popup_callback() in between the top two.
But, this stack should only occur when you're founding a new city (after it's prompted you for the name), which I'd expect you'd remember and presumably shouldn't happen every other turn?
(My guess at explaining this stack trace from examining the assembler at 425EBB is that finish_city() has been called with ptile==NULL, but I can't immediately see how that might have happened.)

Jacob Nevins <jtn>
Project Administrator
Wed 10 Jul 2013 07:46:18 AM UTC, comment #1:

An update to this bug.

After building recycling centres and solar power plants in all cities this bug stopped occurring. Suggesting there is some connection to the pollution or pollution clean up.

Anonymous
Tue 02 Jul 2013 04:15:30 PM UTC, original submission:

Am using vanilla 2.3.4 client on windows.
Am playing a longturn testgame with 2 minute timeout.
Currently T2700

I have about 50 cities ranging in size to 60.
I have many thousands of units.
All units are sentried apart from about 10 auto engineers to clean up pollution.
The CMA has been turned off in all cities.

The client crashes every other turn.
It first hangs at TC then crashes after about 30 seconds.
There is no problem with the server. Other players are logged on fine.

I had played for 3 or 4 hours beforehand without this crash.

Error occured on Tuesday, July 2, 2013 at 23:02:27.

C:\MyGames\Freeciv\freeciv-gtk2.exe caused an Access Violation at location 00425ebb in module C:\MyGames\Freeciv\freeciv-gtk2.exe Reading from location 00000024.

Registers:
eax=00000000 ebx=03315608 ecx=00000000 edx=00000ea9 esi=01ebb420 edi=1df4f9b0
eip=00425ebb esp=0022ed10 ebp=0022ed38 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010202

Call stack:
00425EBB C:\MyGames\Freeciv\freeciv-gtk2.exe:00425EBB WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402
00498BFD C:\MyGames\Freeciv\freeciv-gtk2.exe:00498BFD WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402
63A43B7A C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A43B7A g_closure_invoke
63A52A50 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A52A50 g_signal_handler_disconnect
63A5A126 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A126 g_signal_emit_valist
63A5A2B6 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A2B6 g_signal_emit
00E16B80 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E16B80 gtk_dialog_response
63A43B7A C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A43B7A g_closure_invoke
63A52A50 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A52A50 g_signal_handler_disconnect
63A5A126 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A126 g_signal_emit_valist
63A5A2B6 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A2B6 g_signal_emit
00DE43F5 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00DE43F5 gtk_button_clicked
00DE56A4 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00DE56A4 gtk_button_get_alignment
63A43B7A C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A43B7A g_closure_invoke
63A522AC C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A522AC g_signal_handler_disconnect
63A5A126 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A126 g_signal_emit_valist
63A5A2B6 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A2B6 g_signal_emit
00DE4349 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00DE4349 gtk_button_released
00DE4384 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00DE4384 gtk_button_released
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
63A52888 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A52888 g_signal_handler_disconnect
63A59F4E C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A59F4E g_signal_emit_valist
63A5A2B6 C:\MyGames\Freeciv\libgobject-2.0-0.dll:63A5A2B6 g_signal_emit
00FA562F C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00FA562F gtk_requisition_copy
00E9565A C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E9565A gtk_propagate_event
00E95889 C:\MyGames\Freeciv\libgtk-win32-2.0-0.dll:00E95889 gtk_main_do_event
6C371903 C:\MyGames\Freeciv\libgdk-win32-2.0-0.dll:6C371903 gdk_event_get_graphics_expose
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 C:\MyGames\Freeciv\freeciv-gtk2.exe:00405DD7 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402
004072ED C:\MyGames\Freeciv\freeciv-gtk2.exe:004072ED WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402
0040235B C:\MyGames\Freeciv\freeciv-gtk2.exe:0040235B console_main /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:318
00402418 C:\MyGames\Freeciv\freeciv-gtk2.exe:00402418 WinMain /Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:402
00401AD6 C:\MyGames\Freeciv\freeciv-gtk2.exe:00401AD6
004010DB C:\MyGames\Freeciv\freeciv-gtk2.exe:004010DB
00401158 C:\MyGames\Freeciv\freeciv-gtk2.exe:00401158
77E6F1EB C:\WINDOWS\system32\kernel32.dll:77E6F1EB ProcessIdToSessionId

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Jul 2013 10:26:46 PM UTCjtnCategoryNone=>client-gtk-2.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup