UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
CLOSED  Bug report #154  -  Segfault on x86_64
Posted Jul 18, 2006 - updated Jan 28, 2013
icon_info.png This issue has been closed with status "Closed" and resolution "Not determined".
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
  • Resolution
    Not determined
  • Priority
    3. Normal
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Item 154 imported from sourceforge.net tracker on 2013-01-28 18:11:52

Revision 1945 on x86_64 segfaults when opening the program. When running make I get a lot of the following errors:

ref_gl/../client/../qcommon/../game/../common/mem.h:63:2: warning: #warning "MEM_SUBSYS not defined before including 'common/mem.h'"

then, after building:

(gdb) run +set vid_fullscreen 0 +set vid_grabmouse 0 Starting program: /home/matt/Games/ufoai/trunk/ufo +set vid_fullscreen 0 +set vid_grabmouse 0 debugging using libthread_db enabled Thread 46912514634240 (LWP 15445)

Program received signal SIGSEGV, Segmentation fault. to Thread 46912514634240 (LWP 15445) 0x00002aaaab569213 in strncmp () from /lib/libc.so.6 (gdb) bt
  1. 0 0x00002aaaab569213 in strncmp ()
from /lib/libc.so.6
  1. 1 0x000000000045fa74 in Q_strcmp
(s1=0x4751f9 "path", s2=0x31 <Address 0x31 out of bounds>) at game/q_shared.c:1663
  1. 2 0x0000000000440ecd in Cmd_AddCommand
(cmd_name=0x4751f9 "path", function=0x44f160 <FS_Path_f>) at qcommon/cmd.c:712
  1. 3 0x000000000044f2ff in FS_InitFilesystem () at
  1. 4 0x000000000044c2ae in Qcommon_Init (argc=7,
argv=0x7fffffc992f8) at qcommon/common.c:1394
  1. 5 0x0000000000464907 in main (argc=7,
argv=0x7fffffc992f8) at linux/sys_linux.c:376
Comments Ported from Sourceforge  ⇑ top
bandobraz (2006-07-18 15:01:00)  ⇑ top
Logged In: YES user_id=1557623

This is probably related to refusal to run on i386_32 submitted a minute ago. There nothing is printed, just hangs.

(Woo-hoo, I have my own sf account now!)
tlh2000 (2006-07-18 19:50:15)  ⇑ top
Logged In: YES user_id=116930

reverted this patch
Steps to reproduce this issue
Nothing entered.