anyone else seeing this? this is on i386. for me, any file i try has the
same result. for a wild guess, i would say it may have something to do with
PIE, since THIS code hasn't changed in ages.

On Sat, 02 May 2015 17:00:06 -0400 dan mclaughlin <thev...@openmailbox.org> 
wrote:
> i am having problems with avidemux crashing. this has not been working for
> a couple of months at least. i am running -current, and tried recent packages.
> i also tried recompiling it myself. always the same result. when loading any
> file it gets to the point where it should display it, then crashes. does
> anyone else have this problem?
> 
> i recompiled avidemux to add backtrack support (forthcoming in another mail),
> and got this:
> 
> *********** BACKTRACK **************
> Frame  0: 0xd91aedc <backtrace+44> at /usr/local/lib/libexecinfo.so.2.0
> Frame  1: 0x1c52590d <ADM_backTrack+77> at avidemux2_gtk
> Frame  2: 0x1c525c3d <_Z20sig_segfault_handleri+45> at avidemux2_gtk
> Frame  3: 0x7b9b004
> Frame  4: 0x1c51f379 <_ZN11preferences12set_lastfileEPKc+857> at avidemux2_gtk
> Frame  5: 0x1c089997 <_Z10A_openAvi2PKch+679> at avidemux2_gtk
> Frame  6: 0x1c089b49 <_Z9A_openAviPKc+25> at avidemux2_gtk
> Frame  7: 0x1c4b36e9 <_Z10automationv+409> at avidemux2_gtk
> Frame  8: 0x1c50551c <_Z9UI_RunAppv+92> at avidemux2_gtk
> Frame  9: 0xade0fd6 <g_source_get_time+198> at 
> /usr/local/lib/libglib-2.0.so.420
> Frame 10: 0xade0632 <g_main_context_dispatch+226> at 
> /usr/local/lib/libglib-2.0.
> Frame 11: 0xade29ff <g_main_context_acquire+607> at 
> /usr/local/lib/libglib-2.0.s
> Frame 12: 0xade3ba7 <g_main_loop_run+263> at 
> /usr/local/lib/libglib-2.0.so.4200.
> Frame 13: 0x8d41fd1 <gtk_main+193> at /usr/local/lib/libgtk-x11-2.0.so.2400.0
> Frame 14: 0x1c5054f5 <_Z9UI_RunAppv+53> at avidemux2_gtk
> Frame 15: 0x1c08c44a <main+554> at avidemux2_gtk
> Frame 16: 0x1c0850f8 <_start+168> at avidemux2_gtk
> *********** BACKTRACK **************
> 
> 
> full output of avidemux (with backtrace):
> 
> ***************************
>   Avidemux v2.4.4
> ***************************
>  http://www.avidemux.org
>  Code      : Mean, JSC, Gruntster 
>  GFX       : Nestor Di , nesto...@augcyl.org
>  Design    : Jakub Misak
>  FreeBSD   : Anish Mistry, amis...@am-productions.biz
>  Audio     : Mihail Zenkov
>  MacOsX    : Kuisathaverat
>  Win32     : Gruntster
> 
> Compiler: GCC 4.2.1 20070719 
> Build Target: Linux (x86)
> User Interface: GTK+ (2.24.26)
> 
> Initialising prefs
> Directory /home/user/.avidemux exists.Good.
> Using /home/user/.avidemux as base directory for prefs/jobs/...
> [cpuCaps]Checking CPU capabilities
>               MMX detected 
>               MMXEXT detected 
>               SSE detected 
>               SSE2 detected 
> [cpuCaps]End of CPU capabilities check (cpuMask :ffffffff)
> 
>  Registering Encoders
> *********************
> MJPEG encoder registered
> FFmpeg encoder registered
> 
> 2 encoder(s) registered
> 
> [Locale] setlocale C
> [Locale] Textdomain was messages
> [Locale] Textdomain is now avidemux
> [Locale] Files for avidemux appear to be in /usr/local/share/locale
> [Locale] Test: _File
> 
> Initializing Dithering tables
> Found 18 video encoder
> Found 8 audio encoder
> Found 13 Format 
> Directory /home/user/.avidemux/custom exists.Good.
> No custom script
> Found 0 custom scripts, adding them
> Menu built
> The screen seems to be 1024 x 768 px
> Initializing postproc
> Deleting post proc
> updating post proc
> Enabled type:3 strength:3
> 
>  Registering Filters
> *********************
> 
> Device not found :ALSA
> Using dummy audio device
> Spidermonkey initialized.
> No crash file (/home/user/.avidemux/crash.js)
> 
>  *** Automated : 52 entries*************
> ba010000 -> ba010000
>  
>  Mpeg file detected...
> 594d4441 -> 594d4441
>  
>  New mpeg index file detected..
> 
>   opening d2v file : /home/user/test/kittens.mpg.idx
> For file :/home/user/test/kittens.mpg
> Pic      :352x288, 25000 fps
> #Gop     :10
> #Img     :171
> Creating mpeg PS demuxer  main Pid: E0 
> 
> Simple loading: 
>  file: /home/user/test/kittens.mpg, size: 1243340
>  found 1 files 
> Done 
> Dropping 1 last B/P frames
>  Creating start sequence (4660)..
> 
>  0000 : ...³.. ƒ.Îà¥....  00 00 01 b3 16 01 20 83 02 ce e0 a5 10 11 11 12
>  0010 : ................  12 12 13 13 13 13 14 14 14 14 14 15 15 15 15 15
>  0020 : ................  15 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17
>  0030 : ..  18 18
> Image :19605, seqLen : 124 seq 0 0 1 b3
> Reordering mpeg frames
> Renumbered Gop  1 /10
> 
>   opening dmx file for audio track : /home/user/test/kittens.mpg.idx
> Creating mpeg PS demuxer  main Pid: C0 
> 
> Simple loading: 
>  file: /home/user/test/kittens.mpg, size: 1243340
>  found 1 files 
> Done 
> Building index with 10 sync points
> Filling audio header
> Audio index loaded, probing...
> Probing track:0, pid: 0 pes:c0
> 
>  DMX audio initialized (191634 bytes)
> With 10 sync point
> Mpeg index file successfully read
> The video codec has some extradata (124 bytes)
> 
>  0000 : ...³.. ƒ.Îà¥....  00 00 01 b3 16 01 20 83 02 ce e0 a5 10 11 11 12
>  0010 : ................  12 12 13 13 13 13 14 14 14 14 14 15 15 15 15 15
>  0020 : ................  15 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17
>  0030 : ................  18 18 18 19 18 18 18 19 1a 1a 1a 1a 19 1b 1b 1b
>  0040 : ...........!...²  1b 1b 1c 1c 1c 1c 1e 1e 1e 1f 1f 21 00 00 01 b2
>  0050 : .‡.&encoded by   00 87 81 00 26 65 6e 63 6f 64 65 64 20 62 79 20
>  0060 : TMPGEnc (ver. 2.  54 4d 50 47 45 6e 63 20 28 76 65 72 2e 20 32 2e
>  0070 : 524.63.181).  35 32 34 2e 36 33 2e 31 38 31 29 00
> Deleting post proc
> Initializing postproc
> Deleting post proc
> updating post proc
> Enabled type:3 strength:3
> [Editor] Duration in seconds: 6, in samples: 299880
> 
>  Decoder FCC: MPEG (4745504D)
> Searching decoder (352 x 288, extradataSize:124)...
> 
>  using Mpeg1/2 codec (libmpeg2)
> [lavc] Build: 3352580
> [lavc] Decoder init: CODEC_ID_MPEG2VIDEO video decoder initialized!
> 
>  checking for B-Frames...
>  scanning 125 frames
>  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * #  * # 
>  * #  * #  * #  * #  * #  * #  * #  * #  * # 
> 
>  Mmm this appear to have b-frame...
> 
>  And the index is ok
> 
>  Frames re-ordered, B-frame friendly now :)
>  End of B-frame check
> Saving crash file to /home/user/.avidemux/crash.js
> 
>  **Saving script project **
> Conf size : 0
> 
> *********** BACKTRACK **************
> Frame  0: 0xd91aedc <backtrace+44> at /usr/local/lib/libexecinfo.so.2.0 
> Frame  1: 0x1c52590d <ADM_backTrack+77> at avidemux2_gtk 
> Frame  2: 0x1c525c3d <_Z20sig_segfault_handleri+45> at avidemux2_gtk 
> Frame  3: 0x7b9b004 
> Frame  4: 0x1c51f379 <_ZN11preferences12set_lastfileEPKc+857> at 
> avidemux2_gtk 
> Frame  5: 0x1c089997 <_Z10A_openAvi2PKch+679> at avidemux2_gtk 
> Frame  6: 0x1c089b49 <_Z9A_openAviPKc+25> at avidemux2_gtk 
> Frame  7: 0x1c4b36e9 <_Z10automationv+409> at avidemux2_gtk 
> Frame  8: 0x1c50551c <_Z9UI_RunAppv+92> at avidemux2_gtk 
> Frame  9: 0xade0fd6 <g_source_get_time+198> at 
> /usr/local/lib/libglib-2.0.so.4200.0 
> Frame 10: 0xade0632 <g_main_context_dispatch+226> at 
> /usr/local/lib/libglib-2.0.so.4200.0 
> Frame 11: 0xade29ff <g_main_context_acquire+607> at 
> /usr/local/lib/libglib-2.0.so.4200.0 
> Frame 12: 0xade3ba7 <g_main_loop_run+263> at 
> /usr/local/lib/libglib-2.0.so.4200.0 
> Frame 13: 0x8d41fd1 <gtk_main+193> at /usr/local/lib/libgtk-x11-2.0.so.2400.0 
> Frame 14: 0x1c5054f5 <_Z9UI_RunAppv+53> at avidemux2_gtk 
> Frame 15: 0x1c08c44a <main+554> at avidemux2_gtk 
> Frame 16: 0x1c0850f8 <_start+168> at avidemux2_gtk 
> *********** BACKTRACK **************
> Memory stat:
> 
> Images stat:
> ___________
> Max memory consumed (MB)     : 1633
> Current memory consumed (MB) : 1633
> Max image used               : 11
> Cur image used               : 11
> Cleaning up
> [lavc] Destroyed
> Deleting post proc
> Waiting for Spidermonkey to finish...
> Cleaning up Spidermonkey.
> End of cleanup
> 
> Images stat:
> ___________
> Max memory consumed (MB)     : 1633
> Current memory consumed (MB) : 0
> Max image used               : 11
> Cur image used               : 0
> Global mem stat
> ______________
>       Memory consumed: 0 (MB)
> 
> Goodbye...
> 

Reply via email to