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 #2095 segfault around CL_ActorDoShoot (r24187)
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
    5. Important
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/2095 Item 2095] imported from sourceforge.net tracker on 2013-01-28 19:18:54

A taman tried to shot my man...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223485760 (LWP 13485)]
0x080924e6 in S_StartSound (origin=0x14, sfx=0x1972b5ec, atten=0.150000006) at src/client/cl_sound.c:244
244 VectorCopy(origin, ch->org);
(gdb) bt full
#0 0x080924e6 in S_StartSound (origin=0x14, sfx=0x1972b5ec, atten=0.150000006) at src/client/cl_sound.c:244
ch = (s_channel_t *) 0xa78d84c
i = 0
#1 0x08067bf8 in CL_ActorDoShoot (msg=0x1c09f3b4) at src/client/cl_actor.c:1646
fd = (const fireDef_t *) 0xd7f1034
le = (le_t *) 0x0
muzzle = {-266.3125, 85.65625, 36}
impact = {-248.40625, 102.96875, 36}
flags = 2
normal = 104
entnum = 1
objIdx = 88
obj = (const objDef_t *) 0xd7f0de0
weapFdsIdx = 0
fdIdx = 0
surfaceFlags = 0
shootType = 2
#2 0x0808d281 in CL_ExecuteBattlescapeEvent (now=420162, data=0x0) at src/client/cl_parse.c:1479
event = (evTimes_t *) 0x1bc08d2c
#3 0x0812f0f3 in Qcommon_Frame () at src/common/common.c:1120
event = (struct event *) 0x1b3ec53c
time_to_next = 0
#4 0x0817aacb in main (argc=1, argv=0xbf89c134) at src/ports/linux/linux_main.c:58
No locals.


-geever
===== Comments Ported from Sourceforge =====

====== andrewusu (2009-04-26 00:21:11) ======

I got this too. Seg fault right after I aimed a grenade launcher and fired at a couple aliens. The seg fault was immediately following my click to fire.

Here is a screenshot, if it helps.
http://blattengel.farvista.net/UFOAI/ufoai_AfterShotSegFault.jpg

SVN Rev 24204. Ubuntu 2.6.24-23-generic

Here is the last section of my output, with 'bt full' (ran ufoai from within gdb):
music change to PsymongN1 (from AlexForest)
S_Music_Start: Playing music: 'music/PsymongN1'
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f11b86a2750 (LWP 10895)]
0x000000000042b0b8 in CL_ActorSelectMouse () at src/client/cl_actor.c:1987
1987 if (mouseActor->selected)
(gdb) bt full
#0 0x000000000042b0b8 in CL_ActorSelectMouse () at src/client/cl_actor.c:1987
No locals.
#1 0x000000000043c832 in CL_SelectDown_f () at src/client/cl_input.c:420
menu = (menuNode_t *) 0x7f11b87d2c00
#2 0x00000000004e8ee5 in Cmd_ExecuteString (
text=0x7fffc07d0b00 "+select 200 230519") at src/common/cmd.c:911
cmd = (const cmd_function_t *) 0xff14b78
a = (const cmd_alias_t *) 0x7f11b87d2c00
str = 0x1094a848 "+select"
hash = 24
#3 0x00000000004e7c6a in Cbuf_Execute () at src/common/cmd.c:228
text = 0x1913800 "+select 200 230519\n\ntartreactiononcea;\n\n;startreactiononcea;\n;startreactiononcea;\n\nces;startreactiononcea;\ndeselprs;deselpra;\n\ns;deselpra;\ns;deselpra;\n\ndeselprs;deselpra;\ndeselprs;deselpra;\ne 0\nfullsc"...
quotes = 0
i = 19
line = "+select 200 230519\000\000\000\000\000\000\000t�\017\000\000\000\000x\f}��\177\000\000�\v}��\177\000\000�\v}��\177\000\000\211;��\021\177\000\000\000\000\000\000\000\000\000\000�y��\021\177\000\000\020", &#039;\0&#039; <repeats 15 times>, " \000\000\000\000\000\000\000�t�\017\000\000\000\000�\204�\017\000\000\000\000`\003��\021\177\000\000\000t�\017\000\000\000\000\020", &#039;\0&#039; <repeats 15 times>, "\227\001\005�\021\177\000\000\020m\201\022\000\000\000\000\000t�\017\000\0---Type <return> to continue, or q <return> to quit---
00\000\000\020m\201\022\000\000\000\000\r�j�\021\177\000\000�\204�\017\000\000\000\000\217\006��\021\177\000\000 \f"...
#4 0x000000000044c2b5 in CL_SendCommand () at src/client/cl_main.c:901
No locals.
#5 0x000000000044c7c0 in CL_Frame (now=230467, data=0x0)
at src/client/cl_main.c:1077
delta = 63
last_frame = 230467
#6 0x00000000004f6ff2 in tick_timer (now=230467, data=0x101af9d8)
at src/common/common.c:1039
timer = (struct timer *) 0x101af9d8
old_interval = 20
lateness = 52
#7 0x00000000004f72e8 in Qcommon_Frame () at src/common/common.c:1120
event = (struct event *) 0x1216fb78
time_to_next = 0
#8 0x000000000054c291 in main (argc=7, argv=0x7fffc07d10f8)
at src/ports/linux/linux_main.c:58
No locals.
(gdb)

====== tlh2000 (2009-04-27 17:24:48) ======

should already be fixed
====== geever (2009-04-27 22:17:13) ======

When? If you refer to r24220, then it may not. Someone has reported it with 24222:
http://colabti.org/irclogger/irclogger_log/ufoai?date=2009-04-26#l508

I&#039;ll try to reproduce it tomorrow.

-geever
====== tlh2000 (2009-05-02 05:38:45) ======

r24308 - please retry
====== sf-robot (2009-05-12 02:21:30) ======

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