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 #2225 Move item in inventory results in SIGSEV
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/2225 Item 2225] imported from sourceforge.net tracker on 2013-01-28 19:26:38

Move in inventory does SIGSEV - replicate: any mish move in inventory

*svn info*:
Path: ufoai
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 27489
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 27489
Last Changed Date: 2009-12-16 09:14:10 +0100 (St, 16 pro 2009)

*gdb bt full (CFLAGS -02 and CFLAGS -O0 -g -ggdb):*

#0 0x00007f14ea1b0d11 in G_EventInventoryAdd (ent=0x0, playerMask=1,
itemAmount=1) at src/game/g_events.c:76
No locals.
#1 0x00007f14ea1a088d in G_ActorInvMove (entNum=1, from=0x630f9c4,
fItem=0x7f14ea49a920, to=0x630f91c, tx=0, ty=0, checkaction=qtrue,
quiet=qfalse) at src/game/g_actor.c:319
player = (player_t *) 0x21f761e8
ent = (edict_t *) 0x21dde7d8
floor = (edict_t *) 0x0
newFloor = qfalse
ic = (invList_t *) 0x7f14ea49a920
item = {a = 0, m = 0x0, t = 0x61d6020, amount = 1, rotated = 0}
mask = 0
ia = IA_MOVE
msglevel = 1
fItemBackup = {item = {a = 0, m = 0x0, t = 0x61d6020, amount = 1,
rotated = 0}, x = 1, y = 1, next = 0x7f14ea49a950}
fItemBackupPtr = (const invList_t *) 0x7f14ea49a920
fx = 1
fy = 1
__PRETTY_FUNCTION__ = "G_ActorInvMove"
#2 0x00007f14ea1a8513 in G_ClientAction (player=0x21f761e8)
at src/game/g_client.c:654
---Type <return> to continue, or q <return> to quit---
fromPtr = (invDef_t *) 0x630f9c4
toPtr = (invDef_t *) 0x630f91c
fromItem = (invList_t *) 0x7f14ea49a920
action = PA_INVMOVE
num = 1
pos = "\210/ò"
i = 230
firemode = 230
from = 4
fx = 1
fy = 2
to = 3
tx = 0
ty = 0
hand = 32532
fdIdx = -150514808
objIdx = 4
resType = 80
resState = 1040
resValue = 831
ent = (edict_t *) 0x21dde7d8
#3 0x0000000000532905 in SV_ExecuteClientMessage (cl=0x21dd9018, cmd=4,
msg=0x2851e758) at src/server/sv_user.c:261
No locals.
#4 0x000000000052d8b8 in SV_ReadPacket (s=0x21fab128)
at src/server/sv_main.c:435
cmd = 4
cl = (client_t *) 0x21dd9018
msg = (struct dbuffer *) 0x2851e758
#5 0x0000000000514822 in NET_Wait (timeout=0) at src/common/net.c:457
s = (struct net_stream *) 0x21fab128
tv = {tv_sec = 0, tv_usec = 0}
ready = 0
i = 0
read_fds_out = {fds_bits = {0 <repeats 16 times>}}
write_fds_out = {fds_bits = {0 <repeats 16 times>}}
#6 0x0000000000509167 in Qcommon_Frame () at src/common/common.c:1155
s = 0x0
time_to_next = 15
event = (struct event *) 0x2851e758
#7 0x00000000005626b5 in main (argc=10, argv=0x7fffa3a408a8)
at src/ports/linux/linux_main.c:53
No locals.
===== Comments Ported from Sourceforge =====

====== technokar (2009-12-16 15:28:20) ======

arch: x86_64 gcc-4.3
====== wrwrwr (2009-12-17 03:38:21) ======

Same for me. A patch to try: https://sourceforge.net/tracker/?func=detail&aid=2916003&group_id=157793&atid=805244 .
====== tlh2000 (2009-12-17 06:43:02) ======

should be fixed in r27498 - was introduced in r27482 ( https://sourceforge.net/apps/trac/ufoai/changeset/27482#file2 )
====== markhawrylak (2009-12-23 06:29:53) ======

Tested and this appears to be resolved.
====== sf-robot (2010-01-01 02:20:14) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
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