Re: [Redbutton-devel] Thanks + backtrace for rb-browser
Brought to you by:
skilvington
|
From: Simon K. <s.k...@er...> - 2009-01-19 09:57:38
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
thanks for the back trace - that is very useful - and I've fixed the
immediate problem, but it would be interesting to see how it got to
that point - do you still have the MHEG data that caused it? looking at
your command line args it should be under the root/CI directory - if
it's still there could you send me a tar ball of the directory and tell
me where abouts in the app the seg fault happened? alternatively, send
me the output of running rb-browser with the -v option and then trigger
the fault.
thanks for your help.
Olivier FAURAX wrote:
> Hello !
>
> Thanks for your mheg5 compiler and browser.
>
> I tried to use it on a project and rb-browser crashed
> (redbutton-browser/trunk r513).
> I can't provide the files of the project.
> Some files where missing (my bad), some "TODO" appears and here is the
> backtrace of the segfault.
>
> It seems you should test the pointer on name before getting its length.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1224972064 (LWP 30945)]
> MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
> 1403 if(name->size == 0)
> (gdb) bt full
> #0 MHEGEngine_loadFile (name=0x0, out=0x80d0f98) at MHEGEngine.c:1403
> No locals.
> #1 0x08062ad6 in NewContent_getContent (n=0x80e5750,
> caller_gid=0x80e54d8, obj=0x80d0ea4, out=0x80d0f98) at NewContent.c:43
> rc = <value optimized out>
> content = <value optimized out>
> ref = (ContentReference *) 0x0
> #2 0x08068e88 in TextClass_SetData (t=0x80d0ea4, set=0x80e573c,
> caller_gid=0x80e54d8) at TextClass.c:244
> No locals.
> #3 0x0805dbd3 in ElementaryAction_execute (e=0x80e5738,
> caller_gid=0x80e54d8) at ElementaryAction.c:1207
> ref = <value optimized out>
> obj = (RootClass *) 0x80d0f98
> op = <value optimized out>
> #4 0x0804ca02 in MHEGEngine_processMHEGEvents () at MHEGEngine.c:981
> No locals.
> #5 0x0804ce84 in MHEGEngine_run () at MHEGEngine.c:241
> boot_obj = {size = 10, data = 0x8089d23 "~//startup"}
> app = (ApplicationClass *) 0x80c208c
> scene = (SceneClass *) 0x80cb5f0
> i = <value optimized out>
> found = <value optimized out>
> start = {tv_sec = 1232126455, tv_usec = 450031}
> now = {tv_sec = 1232126455, tv_usec = 450053}
> boot_order = {0x8089d1e "~//a", 0x8089d23 "~//startup", 0x0}
> #6 0x0804b310 in main (argc=Cannot access memory at address 0xffffffff
> ) at rb-browser.c:121
> prog_name = 0xbfc8a0b9 "/home/ofaurax/bin/rb-browser"
> opts = {remote = false, srg_loc = 0xbfc8a0d6 "root/CI", verbose = 0,
> timeout = 30, fullscreen = false, audio_dev = 0x8089878 "default",
> vo_method = 0x0, av_disabled = false, keymap = 0x0}
> arg = <value optimized out>
> last = <value optimized out>
> rc = <value optimized out>
> (gdb)
>
> Please tell me if this type of report is useful.
> Have a nice day.
- --
Simon Kilvington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl0RyIACgkQmt9ZifioJSwm3wCdEQxSBhNx3V5sGwhIWXuadomE
40YAnjwDeoHLLSl1L+oav5NTwonsZoFx
=dgAZ
-----END PGP SIGNATURE-----
|