Mermouy / flowblade

Automatically exported from code.google.com/p/flowblade
0 stars 0 forks source link

freshly installed flowblade_0.10.0 crashes at startup #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Ubuntu 13.04:

1. install dependencies: python-mlt5 frei0r-plugins swh-plugins python-numpy 
gtk2-engines-pixbuf
2. install flowblade_0.10.0-1_all.deb
3. run program

A window quickly pops up, but barely noticeable.
Launching from cli, gives the following output:

$ flowblade

FLOWBLADE MOVIE EDITOR 0.10
---------------------------
Launch script dir: /usr/bin
Running from installation...
MLT found, version: 0.8.8
Python 2.7.4 (default, Sep 26 2013, 03:20:26) 
[GCC 4.7.3]
GTK+ version: (2, 24, 17)
Locale: en_US
Detecting environment...

---
video_codecs:
  - a64multi
  - a64multi5
  - asv1
  - asv2
  - bmp
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - qtrle
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - svq1
  - targa
  - tiff
  - v210
  - v410
  - wmv1
  - wmv2
  - zlib
  - zmbv
  - libschroedinger
  - libtheora
  - libvpx
...

---
audio_codecs:
  - aac
  - ac3
  - ac3_fixed
  - alac
  - eac3
  - flac
  - mp2
  - nellymoser
  - real_144
  - vorbis
  - wmav1
  - wmav2
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libgsm
  - libgsm_ms
  - libspeex
  - libvorbis
...

---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - amr
  - asf
  - ass
  - asf_stream
  - au
  - avi
  - avm2
  - cavsvideo
  - crc
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - ffm
  - ffmetadata
  - filmstrip
  - flac
  - flv
  - framecrc
  - framemd5
  - g722
  - gif
  - gxf
  - h261
  - h263
  - h264
  - image2
  - image2pipe
  - ipod
  - ivf
  - latm
  - m4v
  - md5
  - matroska
  - matroska
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - null
  - nut
  - ogg
  - oma
  - alaw
  - mulaw
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - RoQ
  - rso
  - rtp
  - rtsp
  - sap
  - segment
  - smjpeg
  - sox
  - spdif
  - srt
  - swf
  - 3g2
  - 3gp
  - truehd
  - rcv
  - voc
  - wav
  - webm
  - yuv4mpegpipe
  - alsa
  - oss
...
MLT detection succeeded, 108 formats, 52 video codecs and 25 audio codecs found.
282 MLT services found.
Render profiles:
MPEG-2 / .mpg
MPEG-2 / .mpg...available
H.264 / .mp4
H.264 / .mp4...NOT available, audio codec libmp3lame missing
MPEG-4 / .mp4
MPEG-4 / .mp4...available
Theora / .ogg
Theora / .ogg...available
Lossless HuffYUV / .avi
Lossless HuffYUV / .avi...NOT available, audio codec pcm_s16le missing
Lossless MPEG-2 / .mpg
Lossless MPEG-2 / .mpg...available
Lossless MPEG-4 / .mp4
Lossless MPEG-4 / .mp4...NOT available, audio codec libmp3lame missing
Lossless H.264 / .mp4
Lossless H.264 / .mp4...NOT available, video codec libx264 missing
Audio PCM/.wav 48kHz
Audio PCM/.wav 48kHz...available as non-user encoding
Android 480x320
Android 480x320...NOT available, video codec libx264 missing
iPod Classic
iPod Classic...NOT available, video codec libx264 missing
iPhone/iPod Touch
iPhone/iPod Touch...NOT available, video codec libx264 missing
HDV PAL 1080 50i
HDV PAL 1080 50i...available as non-user encoding
HDV PAL 1080 25p
HDV PAL 1080 25p...available as non-user encoding
HDV PAL 720 25p
HDV PAL 720 25p...available as non-user encoding
HDV NTSC 1080 60i
HDV NTSC 1080 60i...available as non-user encoding
HDV NTSC 1080 30p
HDV NTSC 1080 30p...available as non-user encoding
HDV NTSC 720 30p
HDV NTSC 720 30p...available as non-user encoding
DVD MPEG PAL
DVD MPEG PAL...available as non-user encoding
DVD MPEG PAL Widescreen
DVD MPEG PAL Widescreen...available as non-user encoding
DVD MPEG NTSC
DVD MPEG NTSC...available as non-user encoding
DVD MPEG NTSC Widescreen
DVD MPEG NTSC Widescreen...available as non-user encoding
DVD PAL 4:3 VOB
DVD PAL 4:3 VOB...available as non-user encoding
DVD PAL 16:9 VOB
DVD PAL 16:9 VOB...available as non-user encoding
DVD NTSC 4:3 VOB
DVD NTSC 4:3 VOB...available as non-user encoding
DVD NTSC 16:9 VOB
DVD NTSC 16:9 VOB...available as non-user encoding
RThe program 'flowblade' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 25 error_code 11 request_code 149 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Original issue reported on code.google.com by se...@vanginderachter.be on 3 Oct 2013 at 11:09

GoogleCodeExporter commented 9 years ago
Hi,

I've seen this crash before but never reproducible or on startup.

Could you do the following:

1. Install gdb debugger. On terminal give command:

sudo apt-get install gdb

and give your password to allow install etc...

2. Run gdb on python interpreter running Flowblade

On terminal give command:

gdb python

this starts gdb running python interpreter. Now you need to run Flowblade 
inside debugger. You'll see text (gdb), this is the command prompt for 
debugger. Now give command:

run /usr/bin/flowblade

This runs Flowblade. After program has crashed give command:

backtrace

and copy output (using SHIFT+CONTROL+C) and paste it here. This might allow me 
to understand whats going on.

Original comment by janne.li...@gmail.com on 4 Oct 2013 at 8:19

GoogleCodeExporter commented 9 years ago
The program 'flowblade' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 25 error_code 11 request_code 149 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffae7fc700 (LWP 27928)]
0x00007fffcf95d9d0 in ?? ()
(gdb) backtrace
#0  0x00007fffcf95d9d0 in ?? ()
#1  0x00007ffff657d3eb in mlt_filter_process () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#2  0x00007ffff6574f60 in mlt_service_apply_filters () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#3  0x00007ffff65750de in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#4  0x00007ffff657725c in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#5  0x00007ffff6576d21 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#6  0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#7  0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#8  0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#9  0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#10 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#11 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#12 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#13 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#14 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#15 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#16 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#17 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#18 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#19 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#20 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#21 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#22 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#23 0x00007ffff657dd63 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#24 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#25 0x00007ffff657e4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#26 0x00007ffff6576d21 in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#27 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#28 0x00007ffff657506f in mlt_service_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#29 0x00007ffff657b4f2 in mlt_consumer_get_frame () from 
/usr/lib/x86_64-linux-gnu/libmlt.so.5
#30 0x00007ffff657b98a in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.5
#31 0x00007ffff7bc4f8e in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#32 0x00007ffff6fcbe1d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) 

Original comment by se...@vanginderachter.be on 5 Oct 2013 at 7:10

GoogleCodeExporter commented 9 years ago
Thank you, I'll try to find out with MLT what is the cause of this crash.

Original comment by janne.li...@gmail.com on 7 Oct 2013 at 7:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Could you do:

melt -query "filters"

and post output here to find out what filters you have in the system as the 
last line in backtrace was  "mlt_filter_process ()"?

Melt can be installed with:

sudo apt-get install melt

if you don't have it installed.

Original comment by janne.li...@gmail.com on 10 Oct 2013 at 10:29

GoogleCodeExporter commented 9 years ago
$ melt -query "filters"
---
filters:
  - rotoscoping
  - frei0r.3dflippo
  - frei0r.B
  - frei0r.G
  - frei0r.R
  - frei0r.balanc0r
  - frei0r.baltan
  - frei0r.bluescreen0r
  - frei0r.brightness
  - frei0r.bw0r
  - frei0r.cartoon
  - frei0r.cluster
  - frei0r.colordistance
  - frei0r.contrast0r
  - frei0r.curves
  - frei0r.delay0r
  - frei0r.delaygrab
  - frei0r.distort0r
  - frei0r.edgeglow
  - frei0r.equaliz0r
  - frei0r.flippo
  - frei0r.gamma
  - frei0r.glow
  - frei0r.hueshift0r
  - frei0r.invert0r
  - frei0r.lenscorrection
  - frei0r.letterb0xed
  - frei0r.levels
  - frei0r.luminance
  - frei0r.mask0mate
  - frei0r.nervous
  - frei0r.nosync0r
  - frei0r.pixeliz0r
  - frei0r.primaries
  - frei0r.rgbparade
  - frei0r.saturat0r
  - frei0r.scale0tilt
  - frei0r.scanline0r
  - frei0r.sobel
  - frei0r.squareblur
  - frei0r.tehroxx0r
  - frei0r.three_point_balance
  - frei0r.threelay0r
  - frei0r.threshold0r
  - frei0r.tint0r
  - frei0r.transparency
  - frei0r.twolay0r
  - frei0r.vectorscope
  - frei0r.vertigo
  - frei0r.water
  - boxblur
  - freeze
  - wave
  - telecide
  - avcolour_space
  - avcolor_space
  - avdeinterlace
  - avresample
  - swscale
  - oldfilm
  - dust
  - lines
  - grain
  - tcolor
  - vignette
  - affine
  - charcoal
  - invert
  - sepia
  - BurningTV
  - burningtv
  - dynamictext
  - audiochannels
  - audioconvert
  - audiowave
  - brightness
  - channelcopy
  - channelswap
  - crop
  - data_feed
  - data_show
  - gamma
  - greyscale
  - grayscale
  - imageconvert
  - luma
  - mirror
  - mono
  - obscure
  - panner
  - region
  - transition
  - watermark
  - videostab
  - videostab2
  - ladspa.1218
  - ladspa.1407
  - ladspa.1897
  - ladspa.1896
  - ladspa.1895
  - ladspa.1433
  - ladspa.1914
  - ladspa.1186
  - ladspa.1219
  - ladspa.1408
  - ladspa.1431
  - ladspa.1432
  - ladspa.1430
  - ladspa.1888
  - ladspa.1887
  - ladspa.1889
  - ladspa.1190
  - ladspa.1411
  - ladspa.1909
  - ladspa.1915
  - ladspa.1917
  - ladspa.1404
  - ladspa.1207
  - ladspa.1202
  - ladspa.1195
  - ladspa.1402
  - ladspa.1185
  - ladspa.1901
  - ladspa.1907
  - ladspa.1438
  - ladspa.1403
  - ladspa.1886
  - ladspa.1913
  - ladspa.1196
  - ladspa.1191
  - ladspa.1415
  - ladspa.1213
  - ladspa.1192
  - ladspa.1418
  - ladspa.1410
  - ladspa.1437
  - ladspa.1893
  - ladspa.1892
  - ladspa.1904
  - ladspa.1903
  - ladspa.1902
  - ladspa.1890
  - ladspa.1891
  - ladspa.1439
  - ladspa.1424
  - ladspa.1215
  - ladspa.1216
  - ladspa.1413
  - ladspa.1220
  - ladspa.1200
  - ladspa.1194
  - ladspa.1440
  - ladspa.1199
  - ladspa.1429
  - ladspa.1409
  - ladspa.1436
  - ladspa.1217
  - ladspa.1908
  - ladspa.1894
  - ladspa.1422
  - ladspa.1421
  - ladspa.1420
  - ladspa.1419
  - ladspa.1406
  - ladspa.1197
  - ladspa.1201
  - ladspa.1193
  - ladspa.1423
  - ladspa.1910
  - ladspa.1417
  - ladspa.1208
  - ladspa.1605
  - ladspa.1189
  - ladspa.1188
  - ladspa.1425
  - ladspa.1426
  - ladspa.1427
  - ladspa.1882
  - ladspa.1916
  - ladspa.1883
  - ladspa.1210
  - ladspa.1181
  - ladspa.1900
  - ladspa.1899
  - ladspa.1898
  - ladspa.1203
  - ladspa.1198
  - ladspa.1414
  - ladspa.1214
  - ladspa.1212
  - ladspa.1401
  - ladspa.1211
  - ladspa.1206
  - ladspa.1204
  - ladspa.1405
  - ladspa.1209
  - ladspa.1905
  - ladspa.1187
  - ladspa.1412
  - ladspa.1428
  - jackrack
  - ladspa
  - deinterlace
  - audiolevel
  - volume
  - motion_est
  - vismv
  - crop_detect
  - autotrack_rectangle
  - chroma
  - chroma_hold
  - threshold
  - shape
  - sox
  - sox.allpass
  - sox.band
  - sox.bandpass
  - sox.bandreject
  - sox.bass
  - sox.bend
  - sox.biquad
  - sox.chorus
  - sox.channels
  - sox.compand
  - sox.contrast
  - sox.dcshift
  - sox.deemph
  - sox.delay
  - sox.dither
  - sox.divide
  - sox.downsample
  - sox.earwax
  - sox.echo
  - sox.echos
  - sox.equalizer
  - sox.fade
  - sox.fir
  - sox.firfit
  - sox.flanger
  - sox.gain
  - sox.highpass
  - sox.hilbert
  - sox.ladspa
  - sox.loudness
  - sox.lowpass
  - sox.mcompand
  - sox.noiseprof
  - sox.noisered
  - sox.norm
  - sox.oops
  - sox.overdrive
  - sox.pad
  - sox.phaser
  - sox.pitch
  - sox.rate
  - sox.remix
  - sox.repeat
  - sox.reverb
  - sox.reverse
  - sox.riaa
  - sox.silence
  - sox.sinc
  - sox.spectrogram
  - sox.speed
  - sox.splice
  - sox.stat
  - sox.stats
  - sox.stretch
  - sox.swap
  - sox.synth
  - sox.tempo
  - sox.treble
  - sox.tremolo
  - sox.trim
  - sox.upsample
  - sox.vad
  - sox.vol
...

Original comment by se...@vanginderachter.be on 10 Oct 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Okay, so it is almost surely mlt service "volume" which crashes, and it seems 
to be present. Dan from MLT will want full backtrace, but thats 20k text so we 
need to create a log.

So on terminal:
gdb python

And the in gdb:

set logging on

run /usr/bin/flowblade

... and after crash

thread apply all bt

...you will have to hit return here a few times, and to finish:

quit

This should create a file called gdb.txt in the folder you opened terminal in. 
If you attach it here I have all the data to try solve this with MLT people.

Original comment by janne.li...@gmail.com on 10 Oct 2013 at 9:56

GoogleCodeExporter commented 9 years ago
gdb.txt as requested, HTH

Original comment by se...@vanginderachter.be on 11 Oct 2013 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
Can't reproduce and I have no idea what is going on, marking this WnotFix for 
now and wait for further reports on this.

Original comment by janne.li...@gmail.com on 30 May 2014 at 7:49