Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330431 - dev-util/eric-4.4.6 crash with segmentation fault
Summary: dev-util/eric-4.4.6 crash with segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 22:25 UTC by jordi bofill
Modified: 2010-08-03 18:37 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 jordi bofill 2010-07-29 22:25:53 UTC
Since last emerge -u world, dev-util/eric-4.4.6 is crashing with Segmentation fault at startup. No luck reemerging dev-python/sip-4.10.5 x11-libs/qscintilla-2.4.4 dev-python/qscintilla-python-2.4.4 and dev-python/PyQt4-4.7.4.

Reproducible: Always

Steps to Reproduce:
1. eric4
2.
3.

Actual Results:  
KCrash: Application 'eric4.py' crashing...
sock_file=/home/jordi/.kde4/socket-fidel/kdeinit4__0

[1]+  Aturat                  eric4


I added pdb stop (import pdb; pdb.set_trace()) just before where the crash takes place: /usr/lib/python2.6/site-packages/eric4/QScintilla/Terminal.py
the output is:

# eric4 --debug
DEBUG:root:Importing Preferences
DEBUG:root:Importando paquetes...
DEBUG:root:Generando Ventana Principal...
DEBUG:root:Inicializando el administrador de Plugins...
DEBUG:root:Generando la interfaz general de usuario...
DEBUG:root:Creating Layout...
DEBUG:root:Creating Viewmanager...
DEBUG:root:Creating sidebars...
DEBUG:root:Creating Project Browser...
DEBUG:root:Creating Multiproject Browser...
DEBUG:root:Creating Template Viewer...
DEBUG:root:Creating Debug Viewer...
DEBUG:root:Creating Terminal...
> /usr/lib64/python2.6/site-packages/eric4/QScintilla/Terminal.py(857)__startShell()
-> self.__process.start(shell,  args)
(Pdb) s
--Return--
> /usr/lib64/python2.6/site-packages/eric4/QScintilla/Terminal.py(857)__startShell()->None
-> self.__process.start(shell,  args)
(Pdb) 
[2]+  Aturat                  eric4 --debug
jordi@fidel ~ $ 

I suspect the problem is with x11-libs/qt-core-4.6.3 update (/usr/include/qt4/QtCore/QProcess), but I cannot downgrade qt-core to find out.

Here is my systems info:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Jul 2010 17:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="         http://sunsite.rediris.es/mirror/gentoo/         http://gentoo-euetib.upc.es/mirror/gentoo         ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO         http://gentoo.netnitco.net         http://mirror.gentoo.gr.jp         http://gentoo.osuosl.org/"
LANG="ca_ES.utf8"
LC_ALL="ca_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ca es en"
MAKEOPTS="-j9"
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="/var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/sage-on-gentoo /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 apache2 arts audiofile avi berkdb blas bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus divx4linux docbook dri dts dv dvb dvd dvdr dvdread emboss encode examples exif fam fame ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gimpprint glitz gphoto2 gpm gsl gstreamer gtk iconv ipv6 jpeg kde kdrive lapack latex lcms ldap libdvdread libnotify live lm_sensors lyx mad matroska mikmod mjpeg mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptlonly nsplugin nvidia obex ogg opengl openmp oss pam pango pcre pdf perl plasma png ppds pppd python qt qt3support qt4 quicktime readland readline reflection reiserfs samba sasl scanner sdl semantic-desktop session sndfile spell spl sqlite sqlite3 sse sse2 ssl startup-notification subtitles subversion svg sysfs tcl tcpd theora tiff tk truetype unicode usb utf8 v4l vcd vhosts vorbis wmf x264 xcb xcomposite xine xinerama xml xmms xorg xrandr xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca es en" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 jordi bofill 2010-08-03 18:37:54 UTC
Updates:

Monday: Upgraded to dev-util/eric-4.4.7 but the problem continued

Tuesday: # emerge --sync | emerge -u world
eric4 doesn't crash any more. 
I tried to downgrade some packages, but I can't reproduce the crash.

Conclusion: from my point of view the bug (if such) can be closed.