Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277304 - qtiplot-0.9.7.7 segmentation faults at start-up
Summary: qtiplot-0.9.7.7 segmentation faults at start-up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 10:40 UTC by urcindalo
Modified: 2009-07-17 17:14 UTC (History)
1 user (show)

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 urcindalo 2009-07-10 10:40:44 UTC
I know there's already a segfault open bug for qtiplot, but it refers to older versions.

I had a perfectly working 0.9.7.7 version up until two days or so. I update my mostly stable system on a daily basis, and something must have chaged to make qtiplot don't even start up with a segmentation fault error. After every system update I always run "emerge --ask -v --depclean" and "revdep-rebuild -v" afterwards.

I only use stable versions of qt-* packages, KDE-3.5.10 and xfce-4.6.1. I've recompiled all of my installed qt-* packages, PyQt4, as well as every dependency qtiplot-0.9.7.7 has and qtiplot itself like a dozen times before filing this bug report. Nothing seems to work. I get this:
-----
~ $ qtiplot
Segmentation fault
~ $ dmesg | tail -1
qtiplot[20033]: segfault at 0 ip (null) sp bfab076c error 4 in qtiplot[8048000+52c000]
~ $
-----

I need qtiplot to work, so this is not a minor issue to me.

Any ideas why?

Reproducible: Always

Steps to Reproduce:
1.launch qtiplot
2.
3.

Actual Results:  
Segmentation fault.

Expected Results:  
The program launches normally.

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.0
Timestamp of tree: Fri, 10 Jul 2009 08:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi adns alsa amd apbs async automount bash-completion bcmath bdf berkdb blas branding bzip2 cairo caps cdf cdr chm chroot cli context cracklib crypt ctype cups curl curlwrappers dbus detex dga directfb djvu dri dvd dvdr dvi2tty dvipdfm eds emboss encode erandom esd evo expat extra fam fastcgi fat fbcon ffmpeg fftw firefox fontconfig foomaticdb fortran fpx ftp fuse gcj gd gdbm gif gimp glibc-omitfp glitz glut gnome gnutls gpm graphics graphviz gs gsl gstreamer gtk gtkhtml gtkmm hal hdri hpn iconv icu idn imagemagick imlib immqt-bc ipv6 isdnlog jadetex java javascript jce jpeg jpeg2k justify kde kipi latex latex3 lcms ldap libcaca libdsk libnotify libssh2 libwww mad math mdnsresponder-compat memlimit midi mime mmap mng mono motif mozilla moznoirc moznomail mp3 mp4live mpeg mplayer mudflap ncurses nfs nis nls npp nptl nptlonly nsplugin ntfs octave ogg omega openbabel openexr opengl openmp openvpn pam pango pcntl pcre pdf perl plotutils png posix postscript povray ppds pppd ps pstricks publishers pymol python qt3 qt3support qt4 quicktime raw rdesktop readline reflection reiserfs ruby samba sametime sasl science sdl session simplexml skey slang slp snmp soap sockets socks5 solver spell spl ssl startup-notification statistics subversion svg svgz swat sysfs syslog sysvipc szip t1lib tcl tcpd tex4ht thesaurus tiff tk truetype unicode unity usb userlocales vorbis webdav win32codecs winbind winpopup wmf wxwindows x86 xattr xcomposite xetex xforms xft xindy xine xml xmlpatterns xorg xpm xprint xulrunner xv xvid yv12 zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug 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 authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" USERLAND="GNU" VIDEO_CARDS="vmware vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-07-10 15:52:42 UTC
Thank you for report. To shed more light on this issue, please, try to rebuild qtiplot (and probably you'll need to build some dependencies too) with debugging symbols and show us backtrace:

http://www.gentoo.org/proj/en/qa/backtraces.xml

Or.. does maintainers has better idea what's going on here?
Comment 2 urcindalo 2009-07-13 15:25:19 UTC
Thanks for the info and the help. I appreciate it.

I re-emerged every dependency and then qtiplot with -ggdb set in my /etc/make.conf. To my susprise, when I started qtiplot again the segmentation fault was gone for good. Why? I really don't know. I think the only dependency I hadn't re-emerged before was boost, because it is a big package and other packages depending on it, like openoffice, were working OK. This time I did re-emerge it as well as all the other dependencies and qtiplot worked afterwards, as I said.

So, it seems whatever was causing the segfault is now gone. But, why didn't revdep-rebuild catch the problem in the first place?

I think this bug may be marked as SOLVED :)