[sldev] OpenJPEG breakage and debugging
Callum Lerwick
seg at haxxed.com
Fri Apr 20 22:47:10 PDT 2007
On Fri, 2007-04-20 at 00:24 +1000, Paul TBBle Hampson wrote:
> > Program received signal SIGFPE, Arithmetic exception.
> > [Switching to Thread -1208174896 (LWP 4560)]
> > 0x002fae71 in pi_initialise_encode () at llcommon/llerror.h:146
> > 146 { return mCached ? mShouldLog : Log::shouldLog(*this); }
> > (gdb) bt
> ##0 0x002fae71 in pi_initialise_encode () at llcommon/llerror.h:146
> ##1 0x002f4ccb in j2k_calculate_tp () at llcommon/llerror.h:146
> ##2 0x002f5377 in j2k_encode () at llcommon/llerror.h:146
> ##3 0x002f8e20 in opj_encode () at llcommon/llerror.h:146
> ##4 0x09161821 in LLImageJ2COJ::encodeImpl (this=0x0, base=@0xb200c20,
> > raw_image=@0xb23ff60, comment_text=0x0, encode_time=0)
> > at i386-linux-client-release/llimagej2coj/llimagej2coj.cpp:303
> The fact that (this == 0x0) here seems to agree with the idea that the
> stack unwinding has barfed.
>
> > Once inside a library, it seems to think everything is
> > llcommon/llerror.h:146. Is this something slviewer is doing, or is gdb
> > broken, or what?
>
> I'd suggest the OpenJPEG libs (as that's where the crash appears to be
> happening) have been stripped, so they don't have enough information,
> and gdb's having a guess based upon... I don't know what. ^_^
>
> I dunno if you noticed, but OpenJPEG's Makefile (at least in the 1.1.1
> release, haven't looked at SVN) strips the library as it builds it. ^_^
I'm packaging everything for Fedora, I took care of the stripping. Debug
info gets seperated out into a -debuginfo package which I have
installed. I suppose I'll have to bring this to fedora-devel then,
bleh...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070421/9473f5d3/attachment.pgp
More information about the SLDev
mailing list