When attempting to delete all Capture Cards or all Video Sources, mythtv-setup segfaults at (New capture card) and (New video source), respectively. This also happens when exiting each of the Capture Cards and Video Sources configuration screen, after selecting the "delete all" option and no other changes. mythtv@mythtv ~ $ mythtv-setup 2008-02-08 01:04:13.125 Using runtime prefix = /usr 2008-02-08 01:04:13.132 DPMS is disabled. 2008-02-08 01:04:13.153 New DB connection, total: 1 2008-02-08 01:04:13.160 Connected to database 'mythconverg' at host: localhost 2008-02-08 01:04:13.162 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 01:04:13.166 Using screen 0, 1024x768 at 0,0 2008-02-08 01:04:13.181 Current Schema Version: 1160 2008-02-08 01:04:13.198 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 01:04:13.200 Using screen 0, 1024x768 at 0,0 2008-02-08 01:04:13.202 Switching to square mode (Retro) 2008-02-08 01:04:13.223 Using the Qt painter 2008-02-08 01:04:13.489 Joystick disabled. 2008-02-08 01:04:13.492 New DB connection, total: 2 2008-02-08 01:04:13.492 Connected to database 'mythconverg' at host: localhost 2008-02-08 01:04:13.648 Loading from: /usr/share/mythtv/themes/default/base.xml Segmentation fault ----------------------------------------------------------------------------- emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6 .23-gentoo-r6 i686) ================================================================= System uname: 2.6.23-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Timestamp of tree: Wed, 06 Feb 2008 00:00:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon f /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans use rfetch" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http:/ /www.gtlib.gatech.edu/pub/gentoo " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa arts automount avhi bindist bitmap-fonts cairo caps cdb cddb cdr cli cracklib crypt curl dbus directfb dri dts dvb dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg flac fortran gd gdbm gif gpm gstreame r gtk gtk2 hal iconv ieee1394 ipv6 isdnlog ivtv java javascript joystick jpeg ld ap lirc lm_sensors mad mailwrapper midi mikmod mp3 mpeg mudflap mysql ncurses nl s nptl nptlonly nsplugin ntponly nxclient ogg opengl openmp oss pam pcre pdf per l png posix pppd python qt3 qt3support quicktime readline reflection samba sdk s dl server session spell spl ssl startup-notification svg tcpd threads tiff trans code truetype truetype-fonts type1 type1-fonts unicode usb v4l vcd vorbis win32c odecs x86 xcomposite xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 ati ixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1 968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82x x-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plu g rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_ alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default auth z_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_loc k deflate dir disk_cache env expires ext_filter file_cache filter headers includ e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif s peling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVIC ES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44 780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" V IDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFL AGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS , PORTDIR_OVERLAY
Please read the following on how to provide useful bug reports for segfaults. http://www.gentoo.org/proj/en/qa/backtraces.xml Once you have a backtrace, please attach it here and re-open the ticket.
Added -ggdb to my CFLAGS, and rebuild mythtv with FEATURES="nostrip" emerge mythtv Here's a gdb backtrace gdb /usr/bin/mythtv-setup GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/mythtv-setup (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) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb509d6d0 (LWP 15761)] 2008-02-08 03:57:24.985 Using runtime prefix = /usr 2008-02-08 03:57:24.993 DPMS is disabled. 2008-02-08 03:57:25.049 New DB connection, total: 1 2008-02-08 03:57:25.055 Connected to database 'mythconverg' at host: localhost 2008-02-08 03:57:25.057 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 03:57:25.061 Using screen 0, 1024x768 at 0,0 2008-02-08 03:57:25.076 Current Schema Version: 1160 2008-02-08 03:57:25.093 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 03:57:25.095 Using screen 0, 1024x768 at 0,0 2008-02-08 03:57:25.097 Switching to square mode (Retro) 2008-02-08 03:57:25.124 Using the Qt painter [New Thread 0xb4661b90 (LWP 15767)] [New Thread 0xb3e60b90 (LWP 15768)] 2008-02-08 03:57:25.397 Joystick disabled. [Thread 0xb3e60b90 (LWP 15768) exited] 2008-02-08 03:57:25.400 New DB connection, total: 2 2008-02-08 03:57:25.401 Connected to database 'mythconverg' at host: localhost 2008-02-08 03:57:25.529 Loading from: /usr/share/mythtv/themes/default/base.xml Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb509d6d0 (LWP 15761)] 0xb350a803 in ?? () (gdb) This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/mythtv-setup (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) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb509d6d0 (LWP 15761)] 2008-02-08 03:57:24.985 Using runtime prefix = /usr 2008-02-08 03:57:24.993 DPMS is disabled. 2008-02-08 03:57:25.049 New DB connection, total: 1 2008-02-08 03:57:25.055 Connected to database 'mythconverg' at host: localhost 2008-02-08 03:57:25.057 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 03:57:25.061 Using screen 0, 1024x768 at 0,0 2008-02-08 03:57:25.076 Current Schema Version: 1160 2008-02-08 03:57:25.093 Total desktop dim: 1024x768, with 1 screen[s]. 2008-02-08 03:57:25.095 Using screen 0, 1024x768 at 0,0 2008-02-08 03:57:25.097 Switching to square mode (Retro) 2008-02-08 03:57:25.124 Using the Qt painter [New Thread 0xb4661b90 (LWP 15767)] [New Thread 0xb3e60b90 (LWP 15768)] 2008-02-08 03:57:25.397 Joystick disabled. [Thread 0xb3e60b90 (LWP 15768) exited] 2008-02-08 03:57:25.400 New DB connection, total: 2 2008-02-08 03:57:25.401 Connected to database 'mythconverg' at host: localhost 2008-02-08 03:57:25.529 Loading from: /usr/share/mythtv/themes/default/base.xml Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb509d6d0 (LWP 15761)] 0xb350a803 in ?? () (gdb) bt #0 0xb350a803 in ?? () #1 0xb3513ad8 in ?? () #2 0x00000000 in ?? ()
MythTV's build system pre-strips. You'll need to build with USE=debug to prevent this from happening.
(In reply to comment #3) > MythTV's build system pre-strips. You'll need to build with USE=debug to > prevent this from happening. There must be something I"m forgetting, rebuilding the mythtv package with USE="debug" emerge mythtv still gives me the same gdb output
I belive it's working now without the quotes.
crash might be happening in qt3. might have to rebuild that as well.
I could never get mythtv to compile with debug options, even after using the 'debug' flag.... I just wiped the database manually and rebuilt it from scratch.. This ticket can be closed.