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 #1886 segfault when using tab completion
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
    General
  • 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/1886 Item 1886] imported from sourceforge.net tracker on 2013-01-28 19:12:13

trunk revision 20288.
tried multiple times tab completion with 'debu', 'debug', 'debug_', 'debug_-', 'debug_m'.
then entered "a[tab]" - segfault.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6a65b70 (LWP 28739)]
0xb7c88e43 in strlen () from /lib/libc.so.6
(gdb) bt full
#0 0xb7c88e43 in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0xb7c5838a in vfprintf () from /lib/libc.so.6
No symbol table info available.
#2 0xb7c79694 in vsnprintf () from /lib/libc.so.6
No symbol table info available.
#3 0x08143a01 in Q_vsnprintf (str=0xbf84b8d4 "\001 i_autojoin = \"0\"\n", size=4096, format=0x8176052 "%c %s\n", ap=0xbf84c914 "\001")
at src/shared/shared.c:419
len = 0
#4 0x080ff79f in Com_vPrintf (fmt=0x8176052 "%c %s\n", ap=0xbf84c914 "\001") at src/common/common.c:143
msg = "\001 i_autojoin = \"0\"\n\000executes a command string\n\000\000\000 \000\000\000\000Pos.\n\000\n\000p\n\000 rela\000\000\000\000 to its ����ent location\n", &#039;\0&#039; <repeats 27 times>, " �շ\000\000\000\000\000<\023\000\000\000\000\000\002\002��\000\004", &#039;\0&#039; <repeats 26 times>, "\001\000\000\000\000\000\000\000��\204���ǷDt\032\b \000\000\000�\000\000\000��\002�\005�\204�\000\000\000\000��շp"...
#5 0x080ff933 in Com_Printf (fmt=0x8176052 "%c %s\n") at src/common/common.c:185
ap = 0xbf84c914 "\001"
#6 0x08101ffa in Cvar_CompleteVariable (partial=0xa215a41 "a", match=0xbf84cd58) at src/common/cvar.c:268
matches = 0
localMatch = {0x0, 0x8152400 "addeventmail", 0x8152313 "add_battery", 0x81522eb "airequip_del_item", 0x81522c8 "airequip_add_item",
0x81522b3 "airequip_zone_select", 0x815229e "airequip_slot_select", 0x815228a "airequip_list_click", 0x815224b "airequip_updatemenu", 0x815223b "aircraft_select",
0x815222c "aircraft_start", 0x81521f0 "aircraft_return", 0x81521d6 "aircraft_new", 0xa38417c "althud_disheadgear", 0xa383d44 "althud_deselheadgear",
0xa352c94 "aliencontkill11", 0xa35285c "aliencontkill10", 0xa352424 "aliencontkill9", 0xa351fec "aliencontkill8", 0xa351bb4 "aliencontkill7", 0xa35177c "aliencontkill6",
0xa351344 "aliencontkill5", 0xa350f0c "aliencontkill4", 0xa350ad4 "aliencontkill3", 0xa35069c "aliencontkill2", 0xa350264 "aliencontkill1", 0xa34fe2c "aliencontkill0",
0xa34f9f4 "aliencontneedautopsy11", 0xa34f5bc "aliencontneedautopsy10", 0xa34f184 "aliencontneedautopsy9", 0xa34ed4c "aliencontneedautopsy8",
0xa34e914 "aliencontneedautopsy7", 0xa34e4dc "aliencontneedautopsy6", 0xa34e0a4 "aliencontneedautopsy5", 0xa34dc6c "aliencontneedautopsy4",
0xa34d834 "aliencontneedautopsy3", 0xa34d3fc "aliencontneedautopsy2", 0xa34cfc4 "aliencontneedautopsy1", 0xa34cb8c "aliencontneedautopsy0", 0xa34c754 "ac_hide_autopsy11",
0xa34c31c "ac_hide_autopsy10", 0xa34bee4 "ac_hide_autopsy9", 0xa34baac "ac_hide_autopsy8", 0xa34b674 "ac_hide_autopsy7", 0xa34b23c "ac_hide_autopsy6",
0xa34ae04 "ac_hide_autopsy5", 0xa34a9cc "ac_hide_autopsy4", 0xa34a594 "ac_hide_autopsy3", 0xa34a15c "ac_hide_autopsy2", 0xa349d24 "ac_hide_autopsy1",
0xa3498ec "ac_hide_autopsy0", 0xa3494b4 "ac_hide_kill11", 0xa34907c "ac_hide_kill10", 0xa348c44 "ac_hide_kill9", 0xa34880c "ac_hide_kill8", 0xa3483d4 "ac_hide_kill7",
0xa347f9c "ac_hide_kill6", 0xa347b64 "ac_hide_kill5", 0xa34772c "ac_hide_kill4", 0xa3472f4 "ac_hide_kill3", 0xa346ebc "ac_hide_kill2", 0xa346a84 "ac_hide_kill1",
0xa34664c "ac_hide_kill0", 0xa346214 "aliencont_clear", 0xa34556c "aliencont_killg", 0xa345134 "aliencont_killb", 0xa32f744 "airequip_zone3_on",
0xa32f30c "airequip_zone3_off", 0x8148744 "aliencont_list_down", 0x814870a "aliencont_list_up", 0x81486d0 "aliencont_killone", 0x814869a "aliencont_prevbase",
0x8148656 "aliencont_nextbase", 0x8148617 "aliencont_research", 0x81485f1 "aliencont_killall", 0x81485c0 "aliencont_pedia", 0x8148586 "aliencont_click",
0x8148555 "aliencont_init", 0x814d957 "assign_initial", 0x8173239 "alias", 0x169919d4 "gen_radarmap", 0x16991bdc "showchat", 0x16991b0c "dedicated_start",
0x16991a3c "newgame", 0x16a790b0 "\030��\026", 0x2 <Address 0x2 out of bounds>, 0xb578a010 "", 0x0, 0x0, 0x0, 0x300 <Address 0x300 out of bounds>, 0x0, 0xb578a010 "",
0x1 <Address 0x1 out of bounds>, 0x16a790b0 "\030��\026", 0x16a790b8 "P��\026", 0xbf84cd10 "", 0xb5aee008 "\006", 0x16a787b8 "/", 0x1 <Address 0x1 out of bounds>,
0xb751d0fb "�\002", 0xb5aee008 "\006", 0x16a787b8 "/", 0x16a790b8 "P�\026", 0x16a790b0 "\030��\026", 0x1 <Address 0x1 out of bounds>, 0x2 <Address 0x2 out of bounds>,
0xb578a010 "", 0x0, 0x41 <Address 0x41 out of bounds>, 0x0, 0x16a8e588 "", 0x0, 0x0, 0x3 <Address 0x3 out of bounds>, 0x2 <Address 0x2 out of bounds>, 0x0, 0x0, 0x0,
0x7f3f3 <Address 0x7f3f3 out of bounds>, 0xb5aee008 "\006", 0x4b0 <Address 0x4b0 out of bounds>, 0x0, 0x16a787b8 "/", 0xb727de35 "\204�tV\200|$\177", 0xb69c8008 "\001",
0x16a787b8 "/", 0x0}
cvar = (cvar_t *) 0x1c697fd4
len = 1
#7 0x08100272 in Com_ConsoleCompleteCommand (s=0xa215a41 "a", target=0xa215a40 "]a", bufSize=256, pos=0xa214220, offset=1) at src/common/common.c:567
cmd = 0x92a9640 "a"
cvar = 0x0
use = 0x0
cntCmd = 1
cntCvar = 0
cntParams = 0
cmdLine = &#039;\0&#039; <repeats 255 times>
cmdBase = &#039;\0&#039; <repeats 255 times>
append = qtrue
tmp = 0xbdbdbcbc <Address 0xbdbdbcbc out of bounds>
__PRETTY_FUNCTION__ = "Com_ConsoleCompleteCommand"
#8 0x080959db in Key_Console (key=9, unicode=9) at src/client/cl_keys.c:260
i = -471604510
#9 0x08097292 in Key_Event (key=9, unicode=9, down=qtrue, time=7651287) at src/client/cl_keys.c:1018
kb = 0x0
cmd = "\002\002\003\003\004\004\005\005\006\006\a\a\b\b\t\t\n\n\v\v\f\f\r\r\016\016\017\017\020\020\021\021\022\022\023\023\024\024\025\025\026\026\027\027\030\030\031\031\032\032\033\033\034\034\035\035\036\036\037\037 !!\"\"##$$%%&&&#039;&#039;(())**++,,--..//00112233445566778899::;;<<==>>??@@AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ[[\\\\]]^^__``aabbccddee"...
#10 0x0808e410 in IN_SendKeyEvents () at src/client/cl_input.c:1815
No locals.
#11 0x0809f9fb in CL_SendCommand () at src/client/cl_main.c:2163
No locals.
#12 0x0809ff8b in CL_Frame (now=7651286, data=0x0) at src/client/cl_main.c:2359
delta = 27
last_frame = 7651286
#13 0x0810115d in tick_timer (now=7651286, data=0x19fac1c4) at src/common/common.c:1072
timer = (struct timer *) 0x19fac1c4
old_interval = 20
lateness = 1
#14 0x081013f8 in Qcommon_Frame () at src/common/common.c:1153
event = (struct event *) 0x1b6d80c4
time_to_next = 0
#15 0x08143ef7 in main (argc=1, argv=0xbf84d394) at src/ports/linux/linux_main.c:97
No locals.

===== Comments Ported from Sourceforge =====

====== richlv (2009-02-10 22:03:54) ======

can&#039;t reproduce in trunk, rev 22573. i had hoped backtrace could help, didn&#039;t seem to be so :)
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