[quake3-bugzilla] [Bug 5077] New: Segfault in MSG_WriteBits()

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Jul 13 19:15:34 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5077

           Summary: Segfault in MSG_WriteBits()
           Product: ioquake3
           Version: SVN HEAD
          Platform: SGI
        OS/Version: IRIX
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Platform
        AssignedTo: zakk at icculus.org
        ReportedBy: ioquake at canavan.de
         QAContact: quake3-bugzilla at icculus.org


ioquake3 crashes when attempting to connect to the internal server. Compiler
was mipspro 7.4.4. Both debug and release binaries crash. Source is svn
revision 2080.

loaded crash from bots/crash_t.c
Process 79979: Regions overlap: PIOCMAP returned bad data.region 36 addr
0xd900000 size 0x1e8000 mflags 0x3100dregion 37 addr 0xdad8000 size 0x8000
mflags 0x12087 ignoring later region 
Process 79979: Regions overlap: PIOCMAP returned bad data.region 36 addr
0xd900000 size 0x1e8000 mflags 0x3100dregion 37 addr 0xdad8000 size 0x8000
mflags 0x12087 ignoring later region 
Process 79979: Regions overlap: PIOCMAP returned bad data.region 36 addr
0xd900000 size 0x1e8000 mflags 0x3100dregion 37 addr 0xdad8000 size 0x8000
mflags 0x12087 ignoring later region 
Process 79979: Regions overlap: PIOCMAP returned bad data.region 36 addr
0xd900000 size 0x1e8000 mflags 0x3100dregion 37 addr 0xdad8000 size 0x8000
mflags 0x12087 ignoring later region 
Process 79979 (ioquake3.mips) stopped on signal SIGBUS: Bus error (handler
sig_fixup_mask) at [MSG_WriteBits:154 +0x14,0x1008670c]
 154  *ip = LittleLong(value);
(dbx) where thread all

Thread 0x10000
>  0 MSG_WriteBits(msg = 0x7ffe9eb0, value = 0, bits = 32) ["/usr/people/canavan/src/quake3/trunk/code/qcommon/msg.c":154, 0x1008670c]
   1 MSG_WriteLong(sb = 0x7ffe9eb0, c = 0)
["/usr/people/canavan/src/quake3/trunk/code/qcommon/msg.c":290, 0x10086de0]
   2 Netchan_Transmit(chan = 0x105e455c, length = 294, data = 0x7ffee5a0 =
"\252[U\r\335*0\017v\204\302\0204{\0239\366\030\023\373b\026\245\360\330\3601\006\236G\260cq10\360<\202]b\211\311\023\016;:v\304\223\205\035{\217=\235N\307\362\030x\n\363\216\275\237\216=\232\275\004\303<\306\001\031\262\260#\274#\330\245c\034\214\347\322\243\331K0\314c\034\220!\v;\302;\202]:\226\205\361<\302~4{\t\206y\214\0032daGxG\260K\307\2620\236\...")
["/usr/people/canavan/src/quake3/trunk/code/qcommon/net_chan.c":210,
0x1008adb4]
   3 CL_Netchan_Transmit(chan = 0x105e455c, msg = 0x7ffea4d8)
["/usr/people/canavan/src/quake3/trunk/code/client/cl_net_chan.c":160,
0x1004ce68]
   4 CL_WritePacket()
["/usr/people/canavan/src/quake3/trunk/code/client/cl_input.c":926, 0x1003c520]
   5 CL_SendCmd()
["/usr/people/canavan/src/quake3/trunk/code/client/cl_input.c":958, 0x1003c618]
   6 CL_Frame(msec = 200)
["/usr/people/canavan/src/quake3/trunk/code/client/cl_main.c":2931, 0x100478ec]
   7 Com_Frame()
["/usr/people/canavan/src/quake3/trunk/code/qcommon/common.c":3253, 0x1007504c]
   8 main(argc = 1, argv = 0x7fff2ef4)
["/usr/people/canavan/src/quake3/trunk/code/sys/sys_main.c":587, 0x10175c84]
   9 __start()
["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177,
0x100288c8]

Thread 0x10001
>  0 __nanosleep(0x1760bed8, 0x1760bed0, 0x10001, 0x10000000, 0x5622, 0x0, 0x0, 0x175e5790) ["/xlv41/6.5.30m/work/irix/lib/libc/libc_n32_M4/sys/nanosleep.s":15, 0xfabf048]
   1 _nanosleep(0x1760bed8, 0x1760bed0, 0x10001, 0x10000000, 0x5622, 0x0, 0x0,
0x175e5790)
["/xlv41/6.5.30m/work/irix/lib/libc/libc_n32_M4/sys/nanosleepSCI.c":29,
0xfabf0f4]
   2 SDL_Delay(0x1760bed8, 0x1760bed0, 0x10001, 0x25e1524, 0x5622, 0x0, 0x0,
0x175e5790)
["/usr/people/canavan/src/SDL/SDL-1.2.14/src/timer/unix/SDL_systimer.c":118,
0x25d32e8]
   3 AL_WaitAudio(0x175e4e00, 0x1760bed0, 0x10001, 0x10000000, 0x5622, 0x0,
0x0, 0x175e5790)
["/usr/people/canavan/src/SDL/SDL-1.2.14/src/audio/dmedia/SDL_irixaudio.c":112,
0x25b5f0c]
   4 SDL_RunAudio(0x175e4e00, 0x0, 0x0, 0x10000000, 0x5622, 0x0, 0x0,
0x175e5790)
["/usr/people/canavan/src/SDL/SDL-1.2.14/src/audio/SDL_audio.c":222, 0x257ccd4]
   5 SDL_RunThread(0x0, 0x1760bed0, 0x10001, 0x10000000, 0x5622, 0x0, 0x0,
0x175e5790)
["/usr/people/canavan/src/SDL/SDL-1.2.14/src/thread/SDL_thread.c":204,
0x258aeec]
   6 RunThread(0x1760bed8, 0x1760bed0, 0x10001, 0x10000000, 0x5622, 0x0, 0x0,
0x175e5790)
["/usr/people/canavan/src/SDL/SDL-1.2.14/src/thread/pthread/SDL_systhread.c":47,
0x25d215c]
   7 _SGIPT_pt_start()
["/xlv41/6.5.30m/work/eoe/lib/libpthread/libpthread_n32_M3/pt.c":813,
0xc08d42c]

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list