Hello, 

This is my stack trace for the imagestream play() failing:


[Thread debugging using libthread_db enabled]
[New Thread 47924877966144 (LWP 20371)]
[New Thread 1082141008 (LWP 20374)]
Filename is bf2_030705.avi
[New Thread 1090533712 (LWP 20375)]
[New Thread 1098926416 (LWP 20376)]
[New Thread 1107319120 (LWP 20377)]
[New Thread 1115711824 (LWP 20378)]
[New Thread 1124104528 (LWP 20379)]
[New Thread 1132497232 (LWP 20380)]
[New Thread 1140889936 (LWP 20381)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1115711824 (LWP 20378)]

(gdb) where
#0  0x00002b965f83386b in free () from /lib/libc.so.6
#1  0x00002aaaaab312f4 in rgbout_update_frame_format () from 
/usr/lib/osgPlugins/osgdb_xine.so
#2  0x00002aaaaac67e32 in vo_get_frame (this_gen=0x5dc820, width=640, 
height=380, 
    ratio=1.6842105263157894, format=842094169, flags=3) at video_out.c:411
#3  0x00002aaaac5c1495 in init_video_plugin ()
   from /usr/lib/xine/plugins/1.1.2/xineplug_decode_ff.so
#4  0x00002aaaaac66052 in video_decoder_loop (stream_gen=<value optimized out>)
    at video_decoder.c:369
#5  0x00002b96601533ca in start_thread () from /lib/libpthread.so.0
#6  0x00002b965f89255d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()


It is still failing at the imagestream play() line when you step through it. 
This is what I get with the debug. Any ideas on what may be going wrong here? 
Thanks in advance

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Robert Osfield
Sent: Sat 6/30/2007 4:12 AM
To: osg users
Subject: Re: [osg-users] imagestream play() failing
 
Hi Kristin,

Could you compile in debug and then try to get a stack trace.

Robert.

On 6/29/07, Alfero, Kristin <[EMAIL PROTECTED]> wrote:
> Robert,
>
> Basically, I'm using the osgmovie example. I'm trying to put a movie on
> a cube as a texture instead of using the quad that the example draws. So
> in other words, I want to draw the movie on the cube instead of the
> polygon that the example draws it on. When I try and add the cube it
> seems to fail at this point (imagestream play()). The error I keep
> getting is a segmentation fault, but imagestream has a valid address
> (not null). My platform is Linux (Ubuntu 7.04 64Bit). The movie plays
> when using osgmovie.
>
> Thanks,
> kristin
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Friday, June 29, 2007 11:15 AM
> To: osg users
> Subject: Re: [osg-users] imagestream play() failing
>
> Hi Kristin,
>
> There is too little to go on to be able to say what is going wrong at
> your end.  Which platform are you working on?  Does the movie play
> when using osgmovie?
>
> When you say its failing, what is happening?
>
> Robert.
>
> On 6/29/07, Alfero, Kristin <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > I'm working off of the osgmovie example, but it seems to be failing at
> the
> > imagestream play:
> >
> >
> >
> > if(image == NULL)
> >
> >       {
> >
> >             cout << "Image was NULL" << endl;
> >
> >             return -1;
> >
> >       }
> >
> >             osg::ImageStream* imagestream =
> > dynamic_cast<osg::ImageStream*>(image);
> >
> >             if (imagestream != NULL)
> >
> >             {
> >
> >                   imagestream->play();
> >
> >             }
> >
> >
> >
> > The pointer is not null, so I don't see why it is failing. Any ideas
> or
> > suggestions?
> >
> >
> >
> > Thanks in advance
> >
> >
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@openscenegraph.net
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

<<attachment: winmail.dat>>

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to