gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash] videostream problem


From: Braydon Fuller
Subject: [Gnash] videostream problem
Date: Fri, 11 Jul 2008 13:29:11 -0700
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)

I am getting the following when trying to play a swf with a videostream:
*** glibc detected *** /usr/local/bin/gtk-gnash: free(): invalid pointer: 0x0a113208 ***
Full traceback and details below


Debug Traceback::::::::::::::::::::::::::::::::::::::::::::::::

address@hidden:~/visionversion$ gnash -v video.swf
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /home/braydon/.gnashrc
12704:3061225280] 13:18:25 SECURITY: Checking security of URL 'file:///home/braydon/visionversion/video.swf' 12704:3061225280] 13:18:25 SECURITY: Load of file /home/braydon/visionversion/video.swf granted (under local sandbox /home/braydon/visionversion/) 12704:3061225280] 13:18:25 SECURITY: Checking security of URL 'file:///home/braydon/visionversion/video.flv' 12704:3061225280] 13:18:25 SECURITY: Load of file /home/braydon/visionversion/video.flv granted (under local sandbox /home/braydon/visionversion/)
/usr/lib/bug-buddy/<unknown>: No such file or directory.
address@hidden:~/visionversion$ gnash -v video.swf
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /home/braydon/.gnashrc
13652:3061946176] 13:19:38 SECURITY: Checking security of URL 'file:///home/braydon/visionversion/video.swf' 13652:3061946176] 13:19:38 SECURITY: Load of file /home/braydon/visionversion/video.swf granted (under local sandbox /home/braydon/visionversion/) 13652:3061946176] 13:19:38 SECURITY: Checking security of URL 'file:///home/braydon/visionversion/video.flv' 13652:3061946176] 13:19:38 SECURITY: Load of file /home/braydon/visionversion/video.flv granted (under local sandbox /home/braydon/visionversion/) *** glibc detected *** /usr/local/bin/gtk-gnash: free(): invalid pointer: 0x0a113208 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb72978f5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb729b360]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb74cc5b1]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash12NetStreamGst13handleMessageEP11_GstMessage+0x2e3)[0xb7d362e3]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash12NetStreamGst7advanceEv+0x49)[0xb7d363e9]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash21video_stream_instance7advanceEv+0x2c)[0xb7c3564c]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash10movie_root15advanceLiveCharEN5boost13intrusive_ptrINS_9characterEEE+0x21)[0xb7be1721]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZSt8for_eachISt14_List_iteratorIN5boost13intrusive_ptrIN5gnash9characterEEEENS1_3_bi6bind_tIvPFvS5_ENS7_5list1IPFNS1_3argILi1EEEvEEEEEET0_T_SJ_SI_+0x33)[0xb7be9e73]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash10movie_root16advanceLiveCharsEv+0x63)[0xb7be1793]
/usr/local/lib/gnash/libgnashserver-cvs.so(_ZN5gnash10movie_root7advanceEv+0x2d)[0xb7be8eed]
/usr/local/bin/gtk-gnash(_ZN5gnash3Gui12advanceMovieEv+0x26)[0x807aa56]
/usr/local/bin/gtk-gnash[0x808d2c1]
/usr/lib/libglib-2.0.so.0[0xb74c50b6]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb74c4978]
/usr/lib/libglib-2.0.so.0[0xb74c7bce]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb74c7f57]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0xb7765ae9]
/usr/local/bin/gtk-gnash(_ZN5gnash6GtkGui3runEv+0x16)[0x8088f36]
/usr/local/bin/gtk-gnash(_ZN5gnash6Player3runEiPPcRKSsS4_+0x59c)[0x8080dec]
/usr/local/bin/gtk-gnash(main+0x127)[0x806c977]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7242450]
/usr/local/bin/gtk-gnash[0x806aa01]
======= Memory map: ========
08048000-08132000 r-xp 00000000 08:01 135421     /usr/local/bin/gtk-gnash
08132000-08134000 rwxp 000ea000 08:01 135421     /usr/local/bin/gtk-gnash
09ddf000-0a2b4000 rwxp 09ddf000 00:00 0          [heap]
b1eff000-b1f00000 ---p b1eff000 00:00 0
b1f00000-b279a000 rwxp b1f00000 00:00 0
b279a000-b2800000 ---p b279a000 00:00 0
b28fd000-b2977000 rwxp b28fd000 00:00 0
b2977000-b2978000 ---p b2977000 00:00 0
b2978000-b3178000 rwxp b2978000 00:00 0
b3178000-b3179000 ---p b3178000 00:00 0
b3179000-b39f3000 rwxp b3179000 00:00 0
b39f3000-b3ab0000 r-xp 00000000 08:01 114194     /usr/lib/libasound.so.2.0.0
b3ab0000-b3ab5000 rwxp 000bc000 08:01 114194     /usr/lib/libasound.so.2.0.0
b3ac1000-b3ad1000 rwxs 00000000 00:0d 5316       /dev/snd/pcmC0D0p
b3afe000-b3b0e000 rwxs 00000000 00:08 2162702    /SYSV0056a4d6 (deleted)
b3b0e000-b3b61000 rwxp b3b0e000 00:00 0
b3b61000-b3b62000 ---p b3b61000 00:00 0
b3b62000-b4362000 rwxp b3b62000 00:00 0
b4362000-b4366000 r-xp 00000000 08:01 114481     /usr/lib/libogg.so.0.5.3
b4366000-b4367000 rwxp 00003000 08:01 114481     /usr/lib/libogg.so.0.5.3
b4367000-b4381000 r-xp 00000000 08:01 114483     /usr/lib/libvorbis.so.0.4.0
b4381000-b438f000 rwxp 0001a000 08:01 114483     /usr/lib/libvorbis.so.0.4.0
b438f000-b439a000 r-xp 00000000 08:01 114485 /usr/lib/libvorbisenc.so.2.0.3 b439a000-b4488000 rwxp 0000b000 08:01 114485 /usr/lib/libvorbisenc.so.2.0.3
b4488000-b44cd000 r-xp 00000000 08:01 114247     /usr/lib/libtheora.so.0.3.3
b44cd000-b44cf000 rwxp 00044000 08:01 114247     /usr/lib/libtheora.so.0.3.3
b44cf000-b44db000 r-xp 00000000 08:01 117779     /usr/lib/libgsm.so.1.0.12
b44db000-b44dc000 rwxp 0000b000 08:01 117779     /usr/lib/libgsm.so.1.0.12
b44dc000-b4518000 r-xp 00000000 08:01 118819     /usr/lib/libfaad.so.0.0.0
b4518000-b451b000 rwxp 0003b000 08:01 118819     /usr/lib/libfaad.so.0.0.0
b451b000-b4524000 r-xp 00000000 08:01 123189     /usr/lib/liba52-0.7.4.so
b4524000-b4525000 rwxp 00008000 08:01 123189     /usr/lib/liba52-0.7.4.so
b4525000-b4526000 rwxp b4525000 00:00 0
b4526000-b48d7000 r-xp 00000000 08:01 135212 /usr/lib/i686/cmov/libavcodec.so.51.50.0 b48d7000-b48dd000 rwxp 003b1000 08:01 135212 /usr/lib/i686/cmov/libavcodec.so.51.50.0
bKilled


Version Info:::::::::::::::::::::::::::::::::

address@hidden:~$ gnash -V
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /home/braydon/.gnashrc
Gnash cvs

Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License.  For more information, see the file named COPYING.

Build options cvs
  Target:
  Renderer: agg - GUI: GTK - Media handler: gst
  Configured with:
CXXFLAGS: -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi -fvisibility-inlines-hidden
Built against gstreamer version: 0.10.20
Linked against gstreamer version: 0.10.20



Python Ming Sources:::::::::::::::::::::::::::::::::

from ming import *

Ming_setScale(20.0000000)
Ming_useSWFVersion(7)

movie=SWFMovie()
movie.setDimension(500,332)
movie.setRate(20)

stream = SWFVideoStream()
stream.setDimension(500,332)
item = movie.add(stream)
item.setName("video")
item.moveTo(0,0)

#squareshape=SWFShape()
#squareshape.setLine(4,0,0,0)
#squareshape.addFill(255,0,0)
#squareshape.movePenTo(-50,-50)
#squareshape.drawLine(100,0)
#squareshape.drawLine(0,100)
#squareshape.drawLine(-100,0)
#squareshape.drawLine(0,-100)

#b = SWFButton()

#seekAction = """
#buttonTextField.text='Seek';
#stream.seek(29);
#"""
#pauseAction = """
#buttonTextField.text='Pause';
#stream.pause();
#"""

#timeAction = """
#buttonTextField.text = stream.time;
#"""

#lenAction = """
#buttonTextField.text = length(stream);
#"""

#b.addShape(squareshape, SWFBUTTON_HIT | SWFBUTTON_UP | SWFBUTTON_DOWN | SWFBUTTON_OVER)
#b.addAction(SWFAction(lenAction), SWFBUTTON_MOUSEDOWN)
#b.addAction(SWFAction(seekAction), SWFBUTTON_MOUSEUP)
#b.addAction(SWFAction("_root.buttonTextField.text='SWFBUTTON_MOUSEUPOUTSIDE';"), SWFBUTTON_MOUSEUPOUTSIDE)
#b.addAction(SWFAction(""), SWFBUTTON_MOUSEOVER)
#b.addAction(SWFAction("_root.buttonTextField.text='SWFBUTTON_MOUSEOUT';"), SWFBUTTON_MOUSEOUT) #b.addAction(SWFAction("_root.buttonTextField.text='SWFBUTTON_DRAGOUT';"), SWFBUTTON_DRAGOUT) #b.addAction(SWFAction("_root.buttonTextField.text='SWFBUTTON_DRAGOVER';"), SWFBUTTON_DRAGOVER)
#i = movie.add(b)
#i.moveTo(200,200)

strAction="""

stop();
nc=new NetConnection();
nc.connect(null);
stream=new NetStream(nc);
video.attachVideo(stream); stream.setBufferTime(10);
stream.play('video.flv');

//createTextField('buttonTextField',++depth,280,180,200,30);
//buttonTextField.border = true; buttonTextField.text = 'BUTTON EVENTS';buttonTextField.selectable = false;

"""

movie.add(SWFAction(strAction))

movie.save("video.swf")








reply via email to

[Prev in Thread] Current Thread [Next in Thread]