[XviD-devel] 1.0.0b3 bus errors with transcode during pass1

Michael Nottebrock michaelnottebrock at gmx.net
Mon Jan 12 19:40:53 CET 2004


The subject really says it all. I have a backtrace, but it's probably not too 
helpful, if so please advise how to provide better debug information.

Program received signal SIGBUS, Bus error.
(gdb) bt
#0  0x2838ef74 in CodeBlockInter (frame=0x80b3240, pMB=0xa1c8554,
    qcoeff=0xbfbfe4c0, bs=0xbfbfebe0, pStat=0x80b335c)
    at ../../src/bitstream/mbcoding.c:264
#1  0x2838fc3c in MBCoding (frame=0x80b3240, pMB=0xa1c8554, qcoeff=0xbfbfe4c0,
    bs=0xbfbfebe0, pStat=0x80b335c) at ../../src/bitstream/mbcoding.c:614
#2  0x2838338d in FrameCodeP (pEnc=0x80b2440, bs=0xbfbfebe0, force_inter=1,
    vol_header=0) at ../../src/encoder.c:1824
#3  0x28381d84 in enc_encode (pEnc=0x80b2440, xFrame=0x282b4dac,
    stats=0xbfbfec74) at ../../src/encoder.c:1342
#4  0x28384d26 in xvid_encore (handle=0x80b2440, opt=2, param1=0x282b4dac,
    param2=0xbfbfec74) at ../../src/xvid.c:702
#5  0x2824a0e1 in MOD_PRE_encode ()
   from /usr/local/lib/transcode/export_xvid.so
#6  0x807a54e in _fini ()
#7  0x6765706d in ?? ()
Error accessing memory address 0x626f76: Bad address.
(gdb) list
259
260             i       = 0;
261             run = 0;
262
263             while (!(level = qcoeff[zigzag[i++]]))
264                     run++;
265
266             prev_level = level;
267             prev_run   = run;
268             run = 0;
(gdb) up
#1  0x2838fc3c in MBCoding (frame=0x80b3240, pMB=0xa1c8554, qcoeff=0xbfbfe4c0,
    bs=0xbfbfebe0, pStat=0x80b335c) at ../../src/bitstream/mbcoding.c:614
614                     CodeBlockInter(frame, pMB, qcoeff, bs, pStat);
(gdb) list
609                             BitstreamPutBit(bs, 0); /* not_coded */
610
611             if (pMB->mode == MODE_INTRA || pMB->mode == MODE_INTRA_Q)
612                     CodeBlockIntra(frame, pMB, qcoeff, bs, pStat);
613             else
614                     CodeBlockInter(frame, pMB, qcoeff, bs, pStat);
615
616     }
617
618     /***************************************************************

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://edu.bnhof.de/pipermail/xvid-devel/attachments/20040112/a6c526ee/attachment.bin


More information about the XviD-devel mailing list