Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312301 - =net-print/hplip-3.9.12-r1 hp-systray segfault on quit
Summary: =net-print/hplip-3.9.12-r1 hp-systray segfault on quit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL: https://bugs.launchpad.net/hplip/+bug...
Whiteboard:
Keywords:
: 294950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-30 22:08 UTC by Fab
Modified: 2010-04-28 19:32 UTC (History)
4 users (show)

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


Attachments
fix from upstream (hplip-3.9.12-segfault.patch,469 bytes, patch)
2010-03-30 22:10 UTC, Fab
Details | Diff
patch against the current ebuild to apply the fix (hplip-3.9.12-r1.ebuild.patch,645 bytes, patch)
2010-03-30 22:11 UTC, Fab
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2010-03-30 22:08:25 UTC
Hi,

hp-systray is always crashing with segfault on quit.
Each time it happens, you've got a new entry added in your system log :

> # tail -n 50 /var/log/messages | grep segfault
> Mar 30 23:26:25 core2duo kernel: python2.6[5021]: segfault at 4d0 ip
>      b66ce960 sp bffec010 error 4 in libX11.so.6.2.0[b66b0000+118000]
> Mar 30 23:26:44 core2duo kernel: python2.6[28096]: segfault at 4d0 ip
>      b6596960 sp bfc2b720 error 4 in libX11.so.6.2.0[b6578000+118000]
> Mar 30 23:29:55 core2duo kernel: python2.6[28125]: segfault at 4d0 ip
>      b66b0960 sp bfe5d3f0 error 4 in libX11.so.6.2.0[b6692000+118000]

Upstream bug :
https://bugs.launchpad.net/hplip/+bug/486698

Reproducible: Always

Steps to Reproduce:
1. Run hp-systray --qt4
2. Right click on the systray and quit the program
3. Crash !




$ emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Core-TM-2_CPU_E7400_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 30 Mar 2010 10:15:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/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="/portage/trees/gentoo"
PORTDIR_OVERLAY="/portage/trees/perso"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib cups cxx dbus dri dts dvd dvdr emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gnutls gstreamer gtk hal iconv java jpeg libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses network-cron nls nptl nptlonly ogg openal opengl openmp oss pam pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xml xorg xulrunner xv xvid 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fab 2010-03-30 22:10:01 UTC
Created attachment 225883 [details, diff]
fix from upstream
Comment 2 Fab 2010-03-30 22:11:31 UTC
Created attachment 225885 [details, diff]
patch against the current ebuild to apply the fix
Comment 3 Daniel Pielmeier gentoo-dev 2010-03-30 22:33:49 UTC
Thanks for the patch.
Comment 4 Daniel Pielmeier gentoo-dev 2010-03-30 22:39:08 UTC
*** Bug 294950 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Pielmeier gentoo-dev 2010-03-31 19:04:00 UTC
+*hplip-3.10.2-r3 (31 Mar 2010)
+
+  31 Mar 2010; Daniel Pielmeier <billie@gentoo.org> -files/70-hpmud.rules,
+  -hplip-3.10.2-r2.ebuild, +hplip-3.10.2-r3.ebuild,
+  +files/hplip-3.10.2-systray-segfault.patch:
+  Revision bump. Add systray segfault patch from upstream reported by netfab
+  in bug #312301. Remove needless rules file.

Piotr please test if this also fixes your problem.
Comment 6 Daniel Pielmeier gentoo-dev 2010-04-28 19:06:04 UTC
Piotr can you please confirm if this fixes your issue, so we can either close this bug or make further investigations.
Comment 7 PM 2010-04-28 19:29:11 UTC
Sorry, I must have missed the last comment. Yes, it looks like it's fixed.
Comment 8 Daniel Pielmeier gentoo-dev 2010-04-28 19:32:23 UTC
(In reply to comment #7)
> Sorry, I must have missed the last comment. Yes, it looks like it's fixed.
> 

Okay thanks. So closing!