URL:
  <http://gna.org/bugs/?17433>

                 Summary: 0: in city_owner() [city.c::1046]: assertion 'NULL
!= pcity->owner' failed
                 Project: Freeciv
            Submitted by: doctorjlowe
            Submitted on: Sat 08 Jan 2011 01:50:32 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.3.0.b1
         Discussion Lock: Any
        Operating System: Mac OS
         Planned Release: 

    _______________________________________________________

Details:

I captured a city, did some other stuff, and before ending the turn double
clicked on the city name in the message window to review its production.  I
don't have a savegame yet, but will try to repeat this tomorrow.  Since i
happened to have been using the "-F" flag this time, OSX stepped in and
provided the crash report in its preferred format.  Hopefully this is useful:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                   0x941a5176 __kill + 10
1   libSystem.B.dylib                   0x941a5168 kill$UNIX2003 + 32
2   libSystem.B.dylib                   0x9423789d raise + 26
3   freeciv-gtk2                        0x0017b60c fc_assert_fail + 220
4   freeciv-gtk2                        0x000c3dea city_owner + 90
5   freeciv-gtk2                        0x00025352 
find_city_or_settler_near_tile
+ 338
6   freeciv-gtk2                        0x0004e6db fill_sprite_array + 7131
7   freeciv-gtk2                        0x00028899 put_one_element + 105
8   freeciv-gtk2                        0x000297bf update_map_canvas + 2735
9   freeciv-gtk2                        0x0002b971 base_set_mapview_origin + 241
10  freeciv-gtk2                        0x0002bcc2 set_mapview_origin + 418
11  freeciv-gtk2                        0x0002be3b center_tile_mapcanvas + 187
12  freeciv-gtk2                        0x0002c581 meswin_popup_city + 209
13  freeciv-gtk2                        0x000a74ed
meswin_dialog_row_activated_callback + 125
14  libgobject-2.0.0.dylib              0x00c1cd24 g_closure_invoke + 439
15  libgobject-2.0.0.dylib              0x00c305a8 signal_emit_unlocked_R + 4920
16  libgobject-2.0.0.dylib              0x00c3151b g_signal_emit_valist + 1981
17  libgobject-2.0.0.dylib              0x00c318f6 g_signal_emit + 41
18  libgtk-x11-2.0.0.dylib              0x006bfe7d gtk_tree_view_row_activated +
105
19  libgtk-x11-2.0.0.dylib              0x006d1986 gtk_tree_view_button_press +
2189
20  libgtk-x11-2.0.0.dylib              0x005e1347 _gtk_marshal_BOOLEAN__BOXED +
169
21  libgobject-2.0.0.dylib              0x00c1cd24 g_closure_invoke + 439
22  libgobject-2.0.0.dylib              0x00c30798 signal_emit_unlocked_R + 5416
23  libgobject-2.0.0.dylib              0x00c3157f g_signal_emit_valist + 2081
24  libgobject-2.0.0.dylib              0x00c318f6 g_signal_emit + 41
25  libgtk-x11-2.0.0.dylib              0x006e11d2 gtk_widget_event_internal +
735
26  libgtk-x11-2.0.0.dylib              0x005dac0e gtk_propagate_event + 314
27  libgtk-x11-2.0.0.dylib              0x005dbc2c gtk_main_do_event + 1103
28  libgdk-x11-2.0.0.dylib              0x0092209d gdk_event_dispatch + 85
29  libglib-2.0.0.dylib                 0x00c8391a g_main_context_dispatch + 497
30  libglib-2.0.0.dylib                 0x00c86332 g_main_context_iterate + 1028
31  libglib-2.0.0.dylib                 0x00c865d9 g_main_loop_run + 540
32  libgtk-x11-2.0.0.dylib              0x005dbf51 gtk_main + 172
33  freeciv-gtk2                        0x00093bb0 ui_main + 9696
34  freeciv-gtk2                        0x0000a4cf client_main + 1007
35  freeciv-gtk2                        0x00002fcc -[SDLMain
applicationDidFinishLaunching:] + 76
36  com.apple.Foundation                0x9642d4df _nsnote_callback + 176
37  com.apple.CoreFoundation            0x96fd6793 __CFXNotificationPost + 947
38  com.apple.CoreFoundation            0x96fd619a
_CFXNotificationPostNotification + 186
39  com.apple.Foundation                0x96422384 -[NSNotificationCenter
postNotificationName:object:userInfo:] + 128
40  com.apple.Foundation                0x9642f789 -[NSNotificationCenter
postNotificationName:object:] + 56
41  com.apple.AppKit                    0x973e0422 -[NSApplication
_postDidFinishNotification] + 125
42  com.apple.AppKit                    0x973e0332 -[NSApplication
_sendFinishLaunchingNotification] + 74
43  com.apple.AppKit                    0x975374ed
-[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
44  com.apple.AppKit                    0x9753710d
-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
45  com.apple.Foundation                0x964627a4 -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
46  com.apple.Foundation                0x96462568
_NSAppleEventManagerGenericHandler + 228
47  com.apple.AE                        0x98f46f58 aeDispatchAppleEvent(AEDesc
const*, AEDesc*, unsigned long, unsigned char*) + 166
48  com.apple.AE                        0x98f46e57
dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
49  com.apple.AE                        0x98f46d61 aeProcessAppleEvent + 197
50  com.apple.HIToolbox                 0x900aa323 AEProcessAppleEvent + 50
51  com.apple.AppKit                    0x973b09ca _DPSNextEvent + 1420
52  com.apple.AppKit                    0x973affce -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
53  com.apple.AppKit                    0x97372247 -[NSApplication run] + 821
54  freeciv-gtk2                        0x00003776 main + 1590
55  freeciv-gtk2                        0x00002d85 start + 53

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib                   0x9416a982 kevent + 10
1   libSystem.B.dylib                   0x9416b09c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib                   0x9416a559 _dispatch_queue_invoke + 163
3   libSystem.B.dylib                   0x9416a2fe _dispatch_worker_thread2 + 
240
4   libSystem.B.dylib                   0x94169d81 _pthread_wqthread + 390
5   libSystem.B.dylib                   0x94169bc6 start_wqthread + 30

Thread 2:
0   libSystem.B.dylib                   0x9414415a 
semaphore_timedwait_signal_trap
+ 10
1   libSystem.B.dylib                   0x94171ce5 _pthread_cond_wait + 1066
2   libSystem.B.dylib                   0x941a0ac8
pthread_cond_timedwait_relative_np + 47
3   com.apple.audio.CoreAudio           0x936953c7 CAGuard::WaitFor(unsigned 
long
long) + 219
4   com.apple.audio.CoreAudio           0x936983f9 CAGuard::WaitUntil(unsigned
long long) + 289
5   com.apple.audio.CoreAudio           0x93695cf6 HP_IOThread::WorkLoop() + 
1892
6   com.apple.audio.CoreAudio           0x9369558d
HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7   com.apple.audio.CoreAudio           0x936954a4 CAPThread::Entry(CAPThread*) 
+
140
8   libSystem.B.dylib                   0x9417185d _pthread_start + 345
9   libSystem.B.dylib                   0x941716e2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x0017b53e  ecx: 0xbfffca6c  edx: 0x941a5176
  edi: 0x00000416  esi: 0x00000000  ebp: 0xbfffca88  esp: 0xbfffca6c
   ss: 0x0000001f  efl: 0x00200282  eip: 0x941a5176   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x94237883




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17433>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to