Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293330

Summary: sys-apps/hal-0.5.13-r2 crashes on resume from suspend
Product: Gentoo Linux Reporter: Dror Levin (RETIRED) <spatz>
Component: New packagesAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED DUPLICATE    
Severity: normal CC: freedesktop-bugs, toolchain
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: USE=debug emerge hal && hald --daemon=no --verbose=yes
lshal output

Description Dror Levin (RETIRED) gentoo-dev 2009-11-15 22:54:40 UTC
When resuming from suspend to ram the hald status is crashed, although it seems that all runners are running, except hald-addon-leds.
Will soon attach lshal output and hald logs after emerging with USE=debug and running with --verbose=yes.

[ebuild   R   ] sys-apps/hal-0.5.13-r2  USE="X acpi crypt debug dell laptop -apm -consolekit -disk-partition -doc -policykit (-selinux)" 0 kB

Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.32-rc7 x86_64)
=================================================================
System uname: Linux-2.6.32-rc7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -floop-block -floop-interchange -floop-strip-mine"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O3 -pipe -floop-block -floop-interchange -floop-strip-mine"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --jobs=3"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://mirrors.kernel.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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="/home/spatz/dev/gentoo-x86"
PORTDIR_OVERLAY="/home/spatz/dev/zing /home/spatz/dev/qting-edge /home/spatz/dev/kde-testing /usr/local/portage/layman/mozilla"
SYNC="rsync://dagobah/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 ares bash-completion berkdb bidi bzip2 cairo caps cdr cli cracklib crypt cscope cups curl dbus dell dga dirac djvu dri dts dvd enca encode exif faac faad ffmpeg fftw firefox flac fontconfig fortran gdbm gif git glib gpg gpm gstreamer gtk hal iconv icu idn ipv6 java java6 jpeg jpeg2k kde kipi lame latex lcms libsamplerate lqr lyx lzma lzo mad matroska mercurial mjpeg mmx modules mp3 mpeg msn mudflap multilib ncurses network nls nptl nptlonly nsplugin ntp ogg opengl openmp pam pch pcre pdf plasma png pppd python qt3support qt4 quicktime raw readline reflection ruby sasl schroedinger sdl session smp sndfile speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs taglib tcpd theora threads tiff tk truetype unicode usb v4l2 vdpau vim-syntax vorbis webdav webkit wicd x264 xcb xcomposite xine xinerama xmp xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2009-11-15 22:55:54 UTC
Created attachment 210366 [details]
USE=debug emerge hal && hald --daemon=no --verbose=yes
Comment 2 Dror Levin (RETIRED) gentoo-dev 2009-11-15 22:56:33 UTC
Created attachment 210368 [details]
lshal output
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-15 23:03:32 UTC

*** This bug has been marked as a duplicate of bug 282341 ***
Comment 4 Dror Levin (RETIRED) gentoo-dev 2009-11-15 23:20:46 UTC
This still happens when hal is compiled with CFLAGS="-march=native -O1 -pipe".
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-15 23:48:55 UTC
as the other bug states, this is not a problem with hal, but most likely with glib.
Comment 6 Dror Levin (RETIRED) gentoo-dev 2009-11-16 00:02:28 UTC
You're right, that was the problem — emerging glib with -fno-ipa-cp-clone and restarting hald solved this. Thanks :)
I should learn to read.

*** This bug has been marked as a duplicate of bug 282341 ***
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-16 00:07:41 UTC
CCing toolchain anyway so they can have a read (keywords: gcc-4.4 -O3 crash -fno-ipa-cp-clone solved).
Thanks for reporting.