Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301192 - [PATCH] sys-apps/hal-0.5.14-r1 segfaults at boot
Summary: [PATCH] sys-apps/hal-0.5.14-r1 segfaults at boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 15:24 UTC by Balazs Nemeth
Modified: 2010-01-20 13:43 UTC (History)
1 user (show)

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


Attachments
probe-input.patch (probe-input.patch,554 bytes, patch)
2010-01-16 15:25 UTC, Balazs Nemeth
Details | Diff
hal-0.5.14-r2.ebuild patch (hal-0.5.14-r2.ebuild.patch,343 bytes, patch)
2010-01-16 15:28 UTC, Balazs Nemeth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Nemeth 2010-01-16 15:24:51 UTC
hald segfaults at boot time. Other bugreports says it also happens at restarts, however I didn't tried.
I only noticed an annoying error message in dmesg.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-apps/hal-0.5.14-r1
2. reboot
3. look dmesg output for hald segfault messages

Actual Results:  
hald-probe-inpu[4932]: segfault at fffffffffffffff9 ip 00007f19f3a72f55 sp 00007fff1cc27c90 error 4 in libc-2.9.so[7f19f39fe000+14b000]

Expected Results:  
no error message

I've googled around and found a debian bugreport which mentions an upstream commit which solves this issue. I tried the patch, now the error message is gone.

I will attach the patch for this bugreport.
Comment 1 Balazs Nemeth 2010-01-16 15:25:53 UTC
Created attachment 216686 [details, diff]
probe-input.patch

patch if from this commit:

http://cgit.freedesktop.org/hal/commit/?id=dcb2829b8eff61463b0869614ddb07b1c86cecaa
Comment 2 Balazs Nemeth 2010-01-16 15:28:00 UTC
Created attachment 216691 [details, diff]
hal-0.5.14-r2.ebuild patch
Comment 3 Balazs Nemeth 2010-01-16 15:31:08 UTC
my emerge --info

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r1 x86_64)
=================================================================                                              
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1       
Timestamp of tree: Sat, 16 Jan 2010 14:15:01 +0000                                                             
ccache version 2.4 [enabled]                                                                                   
app-shells/bash:     4.0_p35                                                                                   
dev-java/java-config: 2.1.9-r2                                                                                 
dev-lang/python:     2.6.4                                                                                     
dev-util/ccache:     2.4-r7                                                                                    
dev-util/cmake:      2.6.4-r3                                                                                  
sys-apps/baselayout: 2.0.1                                                                                     
sys-apps/openrc:     0.6.0                                                                                     
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch webrsync-gpg"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.osuosl.org/"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu"
MAKEOPTS="-j3"
PKGDIR="/home/gentoo/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="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/overlay"
SYNC="rsync://rsync.at.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss evo fam firefox flac ftp gdbm gif gstreamer hal iconv jpeg lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pch pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session slang spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis xcomposite xinerama xml xorg xulrunner xv xvid 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 auth_digest authn_dbd authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir env expires ext_filter filter headers ident imagemap include info log_config mem_cache mime mime_magic negotiation rewrite setenvif so speling status userdir usertrack unique_id vhost_alias suexec" APACHE2_MPMS="worker" CAMERAS="canon fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-01-20 13:43:15 UTC
Fixed in 0.5.14-r2.  Thanks for reporting.