[XviD-devel] 1.0.0b3 bus errors with transcode during pass1
Michael Nottebrock
michaelnottebrock at gmx.net
Sat Jun 12 03:41:30 CEST 2004
On Monday 12 January 2004 21:12, Michael Nottebrock wrote:
> On Monday 12 January 2004 19:40, Michael Nottebrock wrote:
> > 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.
>
> Some more info: The encoder configuration used is the standard xvid4.cfg
> that ships with transcode 0.6.10, the compiler used was gcc 2.95, with very
> conservative CFLAGS (-O -pipe). Also, quant_type = mpeg instead of h263
> seems to avoid the crash.
Due to lack of application support, xvid has been at 0.9.2 until now in the
FreeBSD ports - now it's at 1.0.1 and I'm still seeing this. The original
crash backtrace is in the mailing list archives,
http://edu.bnhof.de/pipermail/xvid-devel/2004-January/003948.html.
I never got this response from Ed which I just found in the mailing list
archives, so I didn't pursue the issue back then... anyway, to quote that
reply:
> So first i would like you use explicitly "-y xvid4" so i'm really sure
> you use xvidcore 1.0.0 ;-)
Okay, done now. Back then I had adjusted the symlink instead.
> Also, you might follow the instructions in
> the doc/INSTALL file in order to have coexisting versions of xvid on the
> same system (the part talking about symlinks and major api numbers). I
> don't have a great BSD background so i don't know if ld.so creates all
> these symlinks automatically like the GNU one on linux systems (it uses
> the SONAME as symlink name).
There are no other versions than 1.0.1 installed. Here is a backtrace of a
current crash, with xvid4 builtin defaults. Again, switching to mpeg2
quantization seems to avoid it.
[import_vob.so] tccat -i "/home/lofi//test/vob/004" -t vob -d 0 -S 0 | tcdemux
-s 0xa0 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 |
tcdecode -x mpeg2 -d 0 -y yv12
[export_xvid4.so] Neither './xvid4.cfg' nor '~/.transcode/xvid4.cfg'
[export_xvid4.so] found. Default settings will be used instead.
[encoder.c] Delaying audio (0)
[encoder.c] Delaying audio (0)], 9.63 fps, EMT: 0:00:00, ( 0| 0| 1)
(no debugging symbols found)..., 9.89 fps, EMT: 0:00:39, ( 0| 0| 9)
Program received signal SIGBUS, Bus error.
0x28429660 in MBCodingBVOP (frame=0x82ad640, mb=0xa9a4848, qcoeff=0xbfbfe340,
fcode=1, bcode=1, bs=0xbfbfea60,
pStat=0x82ad75c) at ../../src/bitstream/mbcoding.c:264
264 run++;
(gdb) bt
#0 0x28429660 in MBCodingBVOP (frame=0x82ad640, mb=0xa9a4848,
qcoeff=0xbfbfe340, fcode=1, bcode=1, bs=0xbfbfea60,
pStat=0x82ad75c) at ../../src/bitstream/mbcoding.c:264
#1 0x2841bcf1 in FrameCodeB (pEnc=0x82ac440, frame=0x82ad640, bs=0xbfbfea60)
at ../../src/encoder.c:2041
#2 0x284192e7 in enc_encode (pEnc=0x82ac440, xFrame=0x2835a3ec,
stats=0xbfbfeaf4) at ../../src/encoder.c:1006
#3 0x2841ccce in xvid_encore (handle=0x82ac440, opt=2, param1=0x2835a3ec,
param2=0xbfbfeaf4) at ../../src/xvid.c:707
#4 0x2834a20d in MOD_PRE_encode ()
from /usr/local/lib/transcode/export_xvid4.so
#5 0x81d3e99 in _fini ()
#6 0x6765706d in ?? ()
Error accessing memory address 0x626f76: Bad address.
--
,_, | 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/20040612/c799e0a3/attachment.pgp
More information about the XviD-devel
mailing list