Re: release warning

Vincent Cojot <[email protected]> Tue, 23 Sep 2003 16:49:31 -0400 (EDT)
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
On Tue, 23 Sep 2003, Vincent Cojot wrote:

More info:

I ran ogle manually and attached to the ogle_nac process manually.. As
soon as I opened the disk, I got this:

Reading librt.so.1
Reading libc.so.1
Reading libmp.so.2
Reading libaio.so.1
Reading libc_psr.so.1
Attached to process 21444
stopped in syscall at 0xff01ede4
0xff01ede4: syscall+0x0004:     ta      %icc,%g0 + 8
Current function is MsgNextEvent_internal (optimized)
Current function is MsgNextEvent_internal (optimized)
Current function is MsgNextEvent_internal (optimized)

Stack:
 main(argc = ???, argv = ???) (optimized)
   wait_for_init(msgq = ???) (optimized)
  MsgNextEvent_internal(q = ???, event_return = ???, interruptible = ???)
(optimized)
   _msgrcv(0x2bc, 0xffbedd14, 0x418, 0x4, 0x0, 0x14)
   syscall(0x31, 0x2, 0x2bc, 0xffbedd14, 0x418, 0x4)

And it looks like it stopped on line 256 in msgevents.c:

    if(msgrcv(q->msqid, (void *)&msg, sizeof(MsgEvent_t),
	      q->mtype, 0) == -1) {

Anyway, that's what the graphical dbx in Forte 6.2 says.. I'm no dbx
expert so I'm trying.. :)

Vincent


> On Mon, 22 Sep 2003, Bj|rn Englund wrote:
>
> > Ok, if you have gdb installed you can run ogle --debug-nav
> > to get a debug trace for the nav process.
>
> Hi Bjorn,
>
> Sorry, it's not working because I'm falling a problem with gdb on Solaris:
>
> This GDB was configured as "sparc-sun-solaris2.8"...gdbarch.c:2619:
> gdb-internal-error: gdbarch: gdbarch_num_regs invalid
>
> Any advice debugging this with teamware? :)
>
> I changed /usr/local/lib/ogle/ogle_nav_debug to:
>
> #!/bin/sh
> xterm -e /opt/SUNWspro/bin/dbx -e -r $DVDP_ROOT/ogle_nav $*
>
> And I got this when I ran 'ogle --debug-nav':
>
> Running: ogle_nav -m 650
> (process id 21356)
> libdvdread: Using libdvdcss version 1.2.8 for DVD access
> libdvdread: Attempting to use device
> /vol/dev/rdsk/c0t6d0/lotr_two_towers_d2 mounted on
> /cdrom/lotr_two_towers_d2 for CSS authentication
> Reading ogle_nav
> Reading ld.so.1
> Reading libmsgevents.so.6
> Reading libdvdread.so.3
> Reading libdl.so.1
> Reading libxml2.so.2
> Reading libz.so
> Reading libm.so.1
> Reading libsocket.so.1
> Reading libnsl.so.1
> Reading librt.so.1
> Reading libc.so.1
> Reading libmp.so.2
> Reading libaio.so.1
> Reading libc_psr.so.1
> Reading libdvdcss.so.2
> signal BUS (invalid address alignment) in do_run (optimized) at line 1194
> in file "nav.c"
>  1194            && dsi.dsi_gi.vobu_1stref_ea != 0 /* there is video in
> this */) {
> Entering debugger ...
> (dbx)
>
> I'm still investigating...
>
> ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
> Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
> Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
> Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
> http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ [email protected]
>
> They cannot scare me with their empty spaces
> Between stars - on stars where no human race is
> I have it in me so much nearer home
> To scare myself with my own desert places.       - Robert Frost
>
>
> _______________________________________________
> Ogle-devel mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/ogle-devel
>

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ [email protected]

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost