Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90645 - mythtv 0.18 segfaults just after starting (no output b4 crash)
Summary: mythtv 0.18 segfaults just after starting (no output b4 crash)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 11:59 UTC by yair
Modified: 2005-05-14 09:45 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 yair 2005-04-27 11:59:46 UTC
using gcc-3.4.3.20050110-r2 and glibc-2.3.5.20050421

gdb output:

Starting program: /usr/bin/mythtv
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10853)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10853)]
*__GI___pthread_mutex_lock (mutex=0x3) at mutex.c:102
102     mutex.c: No such file or directory.
        in mutex.c
(gdb) up
#1  0xb67171db in *__GI___libc_free (mem=0xb68c0074) at malloc.c:3405
3405    malloc.c: No such file or directory.
        in malloc.c
(gdb) bt
#0  *__GI___pthread_mutex_lock (mutex=0x3) at mutex.c:102
#1  0xb67171db in *__GI___libc_free (mem=0xb68c0074) at malloc.c:3405
#2  0xb6899151 in operator delete (ptr=0xb72300a0)
    at /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/libstdc++-v3/libsupc++/del_op.cc:40
#3  0xb68991ad in operator delete[] (ptr=0xb72300a0)
    at /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/libstdc++-v3/libsupc++/del_opv.cc:36
#4  0xb68380dd in ~ios_base (this=0xbfffed08)
    at /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/libstdc++-v3/src/ios.cc:132
#5  0xb751b6e6 in Settings::ReadSettings () from /usr/lib/libmyth-0.18.so.0
#6  0xb7519e9f in Settings::Settings () from /usr/lib/libmyth-0.18.so.0
#7  0xb74e705a in MythContextPrivate::MythContextPrivate ()
   from /usr/lib/libmyth-0.18.so.0
#8  0xb74f66ef in MythContext::MythContext () from /usr/lib/libmyth-0.18.so.0
#9  0x0804bb3a in ?? ()
#10 0xb66ca5ad in __libc_start_main (
    main=0x804bad0 <__gxx_personality_v0+3404>, argc=-1222442848,
    ubp_av=0xbffff614,
    init=0x804dd80 <char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag)+128>,
    fini=0xb8000c80 <_rtld_local_ro>, rtld_fini=0x94, stack_end=0xbffff60c)
---Type <return> to continue, or q <return> to quit---
    at libc-start.c:240
#11 0x0804ae61 in ?? ()


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-05-07 01:25:53 UTC
emerge info....
Comment 2 yair 2005-05-07 07:35:14 UTC
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686)
=================================================================
System uname: 2.6.11-gentoo-r7 i686 AMD Athlon(TM) XP 3200+
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.rhnet.is/pub/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apm arts avi bash-completion berkdb bidi bitmap-fonts bmp bonobo cdr crypt cups curl dvd eds emacs emboss encode esd fam foomaticdb fortran ftp gd gdbm gif gnome2 gphoto2 gpm gstreamer gtk2 gtkhtml hal imagemagick imlib ipv6 java javascript jpeg junit libg++ libwww lm_sensors mad mikmod mime mmx mono motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png pnp posix python quicktime readline samba sdl spell ssl svg svga symlink tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-05-11 04:24:57 UTC
you compiled and linked with gcc 3.4.3 and now your emerge info shows 3.3.5? Make up your mind.

re-emerge with that emerge info... and add debug to USE.
Comment 4 yair 2005-05-14 05:50:18 UTC
it works now that i've switched officialy to gcc3.4
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2005-05-14 09:45:54 UTC
alright. good.