Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65433 - avidemux2 crashes on using open
Summary: avidemux2 crashes on using open
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 11:31 UTC by David Butler
Modified: 2005-01-27 13:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Butler 2004-09-26 11:31:09 UTC
When I try to open a file in avidemux, it automatically segfaults

Reproducible: Always
Steps to Reproduce:
1.run avidemux2
2.click open from the file menu or the open menu button
3.

Actual Results:  
seg fault

Expected Results:  
brought up an open file dialog

Portage 2.0.51_rc3 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg distcc"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr compose
crypt cups dga directfb doc dvd encode esd evo fbcon foomaticdb footmaticdb gdbm
gif gimpprint gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile idea imap imlib
ipv6 java javascript joystick jpeg libg++ libgda libwww live mad matroska mikmod
mmx motif mozilla moznocompose moznoirc moznomail mozxmlterm mpeg ncurses nls
oav objc oggvorbis opengl oss pam pdflib perl pic png ppds pwdb python quicktime
readline rplay samba sasl sdl skey slang spell sse ssl stroke svg svga tcpd
tetex theora threads tiff truetype v4l v4l2 wmf wsconvert x86 xinerama xml xml2
xmms xprint xv xvid zlib"
Comment 1 Marc Hildebrand (RETIRED) gentoo-dev 2004-09-30 10:58:40 UTC
Hmmm... I have avidemux2.(0.28) on three different machines.
Nothing crashes whatsoever.
Could you please:
-Tell me, which version you use?
-try 2.0.28 if you not already did so
-reduce your CFLAGS and rebuild

If nothing helps, we have to trace the crash back but that should not be neccessary.
Comment 2 David Butler 2004-09-30 20:17:01 UTC
I tried recompiling with less harsh CFLAGS...same result...
I am trying again with no flags except -02
I wonder if it has to do with my athlon-tbird
Comment 3 David Butler 2004-09-30 20:24:04 UTC
I tried it and still no dice :-(
Comment 4 David Butler 2004-09-30 21:37:03 UTC
I ran it with gdb and gdb points to the function HandleAction

It's throwing a SIGSEGV on almost every menu item including the about menu
Comment 5 David Butler 2004-10-01 05:09:41 UTC
I confirmed the same failure on another machine... pentium 4 with this for emerge info:

Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg distcc"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ http://128.213.5.34/gentoo/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/source http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X aalib alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cscope cups doc dvd encode esd fbcon foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde kerberos ldap libg++ libgda libwww mad mikmod minimal mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl pie png python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype vim-with-x wmf x86 xml xml2 xmms xprint xv zlib"
Comment 6 Marco 2004-10-03 12:19:12 UTC
Same results here... avidemux crashes with an "segfault" while opening the file dialog in avidemux.

Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd ethereal fbcon flac foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imap imlib java jpeg kde ldap libg++ libwww mad mikmod mmxmotif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd tiff truetype usb x86 xml2 xmms xprint xv zlib"
Comment 7 David Butler 2004-10-04 05:07:55 UTC
My understanding of this is that there is some conflict with glibc and the stack.  The only work-around that I know of is to go to the avidemux website and specifically get a avidemux-cvs ebuild available.  You must compile it with like -O1 optimizations or you will get the same crash.
Comment 8 Marc Hildebrand (RETIRED) gentoo-dev 2004-11-18 01:58:53 UTC
Hi!

Do you have the same crash with the latest avidemux (2.0.34_rc1)? 
Comment 9 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-27 13:30:37 UTC
please provide the requested info and feel free to reopen this one.