peter green wrote: > >> >> 106: void av_free_static(void) >> 107: { >> 108: while(last_static){ >> 109: av_freep(&array_static[--last_static]); >> 110: } >> 111: av_freep(&array_static); >> 112: } >> >> A segfault in line 108 is, uhm, strange. >> > Agreed, either gdb is misbehaving or something very weired is going on. > > > Either way something needs to be done about this for lenny, since it > looks like the crash is happening in the unloading of libavcodec (at > least that is my interpretation of the bottom lines of the backtrace) is > there any way to stop libavcoded getting unloaded?
libavcodec is miscompiled. Since gcc-4.3 the compiler defaults to non-PIC code. I'm currently testing the attached patch. Thiemo
Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library code. --- a/configure +++ b/configure @@ -1811,7 +1811,7 @@ if enabled shared; then # LIBOBJFLAGS may have already been set in the OS configuration if test -z "$LIBOBJFLAGS" ; then case "$arch" in - x86_64|ia64|alpha|sparc*|power*|parisc*) LIBOBJFLAGS='$(PIC)' ;; + x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;; esac fi fi