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 #2352 Received signal 6: G_ClientInvMove: Assertion `fItem' failed
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
    4. Useful
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/2352 Item 2352] imported from sourceforge.net tracker on 2013-01-28 19:30:37

During AI move an alien stepped into range of reaction fire of two of my own. I assume the alien was going to throw away his (probably) empty weapon or switch to granade to get both soldiers when the game crashed with this:

Team 1 ended round, team 7's round started!
ufo: src/game/g_actor.c:245: G_ActorInvMove: Assertion >>fItem<< failed
./ufo(Sys_Backtrace+0x1c)[0x5659b9]
./ufo[0x565a1b]
/lib/libc.so.6[0x7f3e4498dea0]
/lib/libc.so.6(gsignal+0x3b)[0x7f3e4498ddfb]
/lib/libc.so.6(abort+0x10e)[0x7f3e4498f1de]
/lib/libc.so.6(__assert_fail+0xef)[0x7f3e449873df]
./base/game.so(G_ActorInvMove+0x90)[0x7f3e37b0b566]
./base/game.so[0x7f3e37b0ebbe]
./base/game.so(AI_ActorThink+0xb5)[0x7f3e37b0ec75]
./base/game.so(AI_Run+0x105)[0x7f3e37b0f00b]
./base/game.so(G_RunFrame+0x16a)[0x7f3e37b1e9b5]
./ufo(SV_RunGameFrame+0x14)[0x529c59]
./ufo(SV_Frame+0x72)[0x52c0b2]
./ufo[0x506e7e]
./ufo(Qcommon_Frame+0x70)[0x507341]
./ufo(main+0x57)[0x564885]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f3e4497b164]
./ufo[0x42e9b9]
./ufo(Sys_Backtrace+0x1c)[0x5659b9]
./ufo(Sys_Error+0x92)[0x564bf9]
./ufo[0x565a2d]
/lib/libc.so.6[0x7f3e4498dea0]
/lib/libc.so.6(gsignal+0x3b)[0x7f3e4498ddfb]
/lib/libc.so.6(abort+0x10e)[0x7f3e4498f1de]
/lib/libc.so.6(__assert_fail+0xef)[0x7f3e449873df]
./base/game.so(G_ActorInvMove+0x90)[0x7f3e37b0b566]
./base/game.so[0x7f3e37b0ebbe]
./base/game.so(AI_ActorThink+0xb5)[0x7f3e37b0ec75]
./base/game.so(AI_Run+0x105)[0x7f3e37b0f00b]
./base/game.so(G_RunFrame+0x16a)[0x7f3e37b1e9b5]
./ufo(SV_RunGameFrame+0x14)[0x529c59]
./ufo(SV_Frame+0x72)[0x52c0b2]
./ufo[0x506e7e]
./ufo(Qcommon_Frame+0x70)[0x507341]
./ufo(main+0x57)[0x564885]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f3e4497b164]
./ufo[0x42e9b9]
Error: Received signal 6.

occured with r28496 (sadly run without gdb, sorry). maybe a follow up of the bugfix in commit r28488 for bug id 2921231.

I can&#039;t reproduce this. I moved around my own items a lot, threw them away and picked them up again but nothing special happened.
===== Comments Ported from Sourceforge =====

====== tlh2000 (2010-02-08 14:20:51) ======

r28488 and this bug are not related.

please let us know once you&#039;ve found a way to reliable reproduce it.
====== freakyd (2010-02-09 00:21:47) ======

This item is totally related to the aliens reloading their guns! Check it out:

#0 0x00000038004332f5 in raise () from /lib64/libc.so.6
#1 0x0000003800434b20 in abort () from /lib64/libc.so.6
#2 0x000000380042c2fa in __assert_fail () from /lib64/libc.so.6
#3 0x00007fffe932f204 in G_ActorInvMove (ent=0x1da87b48, from=0x6379634, fItem=0x0, to=0x6379a24,
tx=-1, ty=-1, checkaction=qtrue) at src/game/g_actor.c:245
#4 0x00007fffe93329d8 in AI_TryToReloadWeapon (ent=0x1da87b48, containerID=2) at src/game/g_ai.c:804
#5 0x00007fffe9332aa6 in AI_ActorThink (player=0x1f6d2fc8, ent=0x1da87b48) at src/game/g_ai.c:823
#6 0x00007fffe9332e80 in AI_Run () at src/game/g_ai.c:902
#7 0x00007fffe9342f5c in G_RunFrame () at src/game/g_main.c:417
#8 0x00000000005331bd in SV_RunGameFrame () at src/server/sv_game.c:418
#9 0x0000000000535ae1 in SV_Frame (now=947485, data=0x0) at src/server/sv_main.c:772
#10 0x000000000050f2f9 in tick_timer (now=947485, data=0x1ab53e48) at src/common/common.c:1003
#11 0x000000000050f7d8 in Qcommon_Frame () at src/common/common.c:1154
#12 0x0000000000570d82 in main (argc=1, argv=0x7fffffffe218) at src/ports/linux/linux_main.c:53

Lovely backtrace says it has something to do with moving inventory items during a reload. IMHO ;)

====== tlh2000 (2010-02-09 07:31:28) ======

the bug is in AI_TryToReloadWeapon: the assumption is that the ai actor always have something in his left hand - which of course is nonsense.
====== tlh2000 (2010-02-09 07:45:12) ======

should be fixed in r28507
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