URL:
<http://gna.org/bugs/?22496>
Summary: Segmentation fault in do_paradrop in trunk
Project: Freeciv
Submitted by: andreasr
Submitted on: Mon 18 Aug 2014 08:24:23 PM UTC
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: GNU/Linux
Planned Release:
_______________________________________________________
Details:
Seems related to bug #22391. SVN revision 25923. Running on Freeciv-web, but
segfault seems to be Freeciv server specific.
Backtrace:
#0 0x0000000000545b1d in pplayers_non_attack (
pplayer=pplayer@entry=0x31f8490, pplayer2=0x0) at player.c:1279
ds = <optimized out>
#1 0x0000000000421eab in do_paradrop (punit=punit@entry=0x3639320,
ptile=ptile@entry=0x3125cc0) at unittools.c:2688
plrtile = 0x317d390
pplayer = 0x31f8490
range = <optimized out>
distance = <optimized out>
#2 0x00000000004d45d1 in dai_manage_paratrooper (
ait=ait@entry=0x8c59c0 <ai_types>, pplayer=pplayer@entry=0x31f8490,
punit=punit@entry=0x3639320) at aiparatrooper.c:221
pcity = <optimized out>
ptile_dest = <optimized out>
sanity = <optimized out>
__FUNCTION__ = "dai_manage_paratrooper"
#3 0x00000000004e19f7 in dai_manage_unit (ait=ait@entry=0x8c59c0 <ai_types>,
pplayer=pplayer@entry=0x31f8490, punit=punit@entry=0x3639320)
at aiunit.c:2545
bodyguard = <optimized out>
is_ferry = false
__FUNCTION__ = "dai_manage_unit"
#4 0x00000000004e2e6c in dai_manage_units (ait=ait@entry=0x8c59c0
<ai_types>,
pplayer=pplayer@entry=0x31f8490) at aiunit.c:2700
punit = 0x3639320
punit_numbers = 0x7fff8939e8c8
punit_index = <optimized out>
#5 0x00000000004d0557 in dai_do_first_activities (ait=0x8c59c0 <ai_types>,
pplayer=pplayer@entry=0x31f8490) at aihand.c:740
No locals.
#6 0x00000000004a1523 in cai_do_first_activities (pplayer=0x31f8490)
at classicai.c:411
No locals.
#7 0x000000000040bd02 in ai_start_phase () at srv_main.c:857
_plr_ = 0x31f8490
MY_i = 8
pplayer = 0x31f8490
#8 begin_phase (is_new_phase=true) at srv_main.c:1020
No locals.
#9 srv_running () at srv_main.c:2410
save_counter = 1
i = <optimized out>
is_new_turn = true
skip_mapimg = false
eot_timer = <optimized out>
need_send_pending_events = false
#7 0x000000000040bd02 in ai_start_phase () at srv_main.c:857
_plr_ = 0x31f8490
MY_i = 8
pplayer = 0x31f8490
#8 begin_phase (is_new_phase=true) at srv_main.c:1020
No locals.
#9 srv_running () at srv_main.c:2410
save_counter = 1
i = <optimized out>
is_new_turn = true
skip_mapimg = false
eot_timer = <optimized out>
need_send_pending_events = false
---Type <return> to continue, or q <return> to quit---
#10 srv_main () at srv_main.c:2952
__FUNCTION__ = "srv_main"
#11 0x0000000000405621 in main (argc=17, argv=0x7fff8939f2a8)
at civserver.c:456
inx = 17
showhelp = <optimized out>
showvers = <optimized out>
option = <optimized out>
__FUNCTION__ = "main"
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22496>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev