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

Hi, I've noticed a very predictable crash when playing against AI players.

I'm running freeciv 2.1.4    on mac os 10.5.2     under X11  "X11.app 
2.1.1 - (xorg-server 1.3.0-apple5)"
(or 2.1.3 if thats what those numbers after the mac download mean)


the sequence of events is always this:

when theres an enemy city I want gone due to it being so close to 
neighboring cities,
step 1: poison it down to a level 1 city with spies
step 2: kill any defending units with my "armor" units
step 3: move armor unit into city, the city is destroyed
step 4: crash!


I pulled this error log from the console utility:



Process:         civserver [1528]
Path:            
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver
Identifier:      civserver
Version:         ??? (???)
Code Type:       PPC (Translated)
Parent Process:  civclient [1520]

Date/Time:       2008-04-25 01:06:06.560 -0400
OS Version:      Mac OS X 10.5.2 (9C7010)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread:  0

Thread 0 Crashed:
0   ???                               0x844b3be0 0 + 2219523040

Thread 1:
0   ???                               0x800bb9e6 0 + 2148252134
1   ???                               0x800c31dc 0 + 2148282844
2   translate                         0xb818b69a 
CallPPCFunctionAtAddressInt + 202826
3   ???                               0x800ecc55 0 + 2148453461
4   ???                               0x800ecb12 0 + 2148453138

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000002  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000005
  edi: 0x00000005  esi: 0x00000004  ebp: 0x8080d180  esp: 0xb7fffacc
   ss: 0x0000001f  efl: 0x00010202  eip: 0x844b3be0   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000004

Binary Images:
0xb8000000 - 0xb81d7fe7  translate ??? (???) /usr/libexec/oah/translate

Translated Code Information:
Rosetta Version:  20.44
Args:      civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves
Exception: EXC_BAD_ACCESS (0x0001)

Thread 0: Crashed (0xb7fffacc, 0x844b3be0)
0x00000000: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
:  + 0
0x000b37b4: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _citymap_free_city_spot + 100
0x000b31d0: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _ai_unit_new_role + 588
0x00040bb4: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _server_remove_unit + 200
0x00043580: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _wipe_unit + 212
0x00047900: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _server_handle_packet + 972
0x0000955c: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _server_packet_input + 628
0x00016cc8: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _server_sniff_all_input + 3168
0x0000b0c8: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _srv_main + 1568
0x00002754: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: _main + 1604
0x00001c9c: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: __start + 760
0x000019a0: 
/Users/Ben/Desktop/Freeciv.app/Contents/Resources/freeciv/bin/civserver 
: start + 48

PPC Thread State
srr0: 0x00000000    srr1: 0x00000000                     vrsave: 0x00000000
cr:  0xXXXXXXXX        xer: 0x00000000         lr: 0x00062758        
ctr: 0x000cdd70
r00: 0x00000000     r01: 0xbfffc100     r02: 0x00000000     r03: 
0x00000000    
r04: 0x00000000     r05: 0x00000002     r06: 0x00000000     r07: 
0x0010186c    
r08: 0x00000018     r09: 0x00560120     r10: 0x000a84bc     r11: 
0x0012b494    
r12: 0x000cdd70     r13: 0x00217550     r14: 0x0012aabc     r15: 
0x000faabc    
r16: 0x0012aabc     r17: 0x00217550     r18: 0x00000001     r19: 
0xbfffd41c    
r20: 0xbfffd420     r21: 0x00126078     r22: 0x001d4298     r23: 
0x00000000    
r24: 0x00203760     r25: 0x00275ee0     r26: 0x00000000     r27: 
0x00275ee4    
r28: 0x00000002     r29: 0x00000002     r30: 0x00000000     r31: 
0x00062738    



I hope this is useful to you, good luck debugging!

a faithful player,
Bennett

-I still have my game box and extras for Civilization 2



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

Reply via email to