UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2611 [rev 30837] Battlescape crash with SIGSEGV
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2611 Item 2611] imported from sourceforge.net tracker on 2013-01-28 19:43:45

During enemy turn game crashed with SIGSEGV when first(?) tried to shoot.
Program received signal SIGSEGV, Segmentation fault.
0x6b442dd0 in AI_GetItemForShootType (shootType=2, ent=0x1bb44118)
at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:252
252 if (item->m && item->t->weapon && (!item->t->reload || item->a > 0))

Backtrace:
(gdb) bt full
#0 0x6b442dd0 in AI_GetItemForShootType (shootType=2, ent=0x1bb44118)
at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:252
ic = 0x0
item = 0x0
#1 0x6b4436a0 in AI_FighterCalcBestAction (ent=0x1bb44118, to=0x28fc82 "ev",
aia=0x28fca4) at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:445
item = 0x0
fdIdx = 4
fdArray = 0x821b508
visChecked = qfalse
check = 0x1bb40548
tu = 0
move = 32 ' '
shootType = 2
dist = 3.76400258e-039
minDist = 0
bestActionPoints = 0
dmg = 7.34909438e-039
maxDmg = 0
bestTime = -1
ad = 0x6b01ea8
#2 0x6b444772 in AI_PrepBestAction (player=0x2573f0fc, ent=0x1bb44118)
at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:834
move = 32 ' '
aia = {to = "ev", stop = "ev", shootType = 0, shots = 0 '\000',
target = 0x0, fd = 0x0, z_align = 0}
bestAia = {to = "\000\000", stop = "\000\000", shootType = 0,
shots = 0 '\000', target = 0x0, fd = 0x0, z_align = 63}
oldPos = "i""
to = "ev"
oldOrigin = {-720, 144, 36}
xl = 89
yl = 116
xh = 121
yh = 148
dist = 16
bestActionPoints = 1.12559299e-040
best = -10000
crouchingState = 0 '\000'
#3 0x6b444cdb in AI_ActorThink (player=0x2573f0fc, ent=0x1bb44118)
at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:951
bestAia = {to = "\n\000", stop = "\000\000", shootType = 2686328,
shots = 169 'c', target = 0x1bb4282c, fd = 0x0, z_align = 0}
#4 0x6b444f3f in AI_Run () at E:\SRC\UFOAI-BZR\trunk\src\game\g_ai.c:1021
ent = 0x1bb44118
player = 0x2573f0fc
i = 1
#5 0x6b452eed in G_RunFrame ()
at E:\SRC\UFOAI-BZR\trunk\src\game\g_main.c:422
No locals.
#6 0x0052ac80 in SV_RunGameFrame ()
at E:\SRC\UFOAI-BZR\trunk\src\server\sv_game.c:528
No locals.
#7 0x0052d233 in SV_Frame (now=257263, data=0x0)
at E:\SRC\UFOAI-BZR\trunk\src\server\sv_main.c:772
No locals.
#8 0x00503742 in tick_timer (now=257263, data=0x12d70ddc)
at E:\SRC\UFOAI-BZR\trunk\src\common\common.c:1015
timer = 0x12d70ddc
old_interval = 100
lateness = 21
#9 0x00503bb0 in Qcommon_Frame ()
at E:\SRC\UFOAI-BZR\trunk\src\common\common.c:1166
time_to_next = 0
event = 0x251ecab4
#10 0x005285f3 in WinMain@16 (hInstance=0x400000, hPrevInstance=0x0,
lpCmdLine=0x10a72e37 "", nCmdShow=10)
at E:\SRC\UFOAI-BZR\trunk\src\ports\windows\win_main.c:247
No locals.
#11 0x005d0ee6 in main ()
No symbol table info available.
===== Comments Ported from Sourceforge =====

====== markhop56 (2010-07-05 01:26:17) ======

Seems to be fixed in rev 30829. Thank you.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif