Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301580 - hald fails to mount device with segfault in libblkid.so.1.1.0
Summary: hald fails to mount device with segfault in libblkid.so.1.1.0
Status: RESOLVED DUPLICATE of bug 301787
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 22:42 UTC by Fabio Coatti
Modified: 2010-01-26 17:18 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 Fabio Coatti 2010-01-19 22:42:39 UTC
When inserting an usb device, hald fails to set up the volume and fails with this message:
sd 7:0:0:1: Attached scsi generic sg3 type 0
sd 7:0:0:1: [sdb] Attached SCSI removable disk
usb-storage: device scan complete
hald-probe-volu[23022]: segfault at 3c ip b768ce08 sp bfd09fd0 error 4 in libblkid.so.1.1.0[b7679000+1c000]
hald-probe-volu[23031]: segfault at 3c ip b774be08 sp bfb8b440 error 4 in libblkid.so.1.1.0[b7738000+1c000]


Reproducible: Always

Steps to Reproduce:
1. Insert usb device
2.
3.




relevant packages: 
sys-apps/hal-0.5.14-r1
sys-apps/util-linux-2.17

I've tried also to compile util-linux with -O0 just to avoid optmization issues.


calvin ~ # emerge --info                                                                               
Portage 2.2_rc61 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31.6 i686)             
=================================================================                                      
System uname: Linux-2.6.31.6-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.1         
Timestamp of tree: Tue, 19 Jan 2010 08:30:19 +0000                                                     
app-shells/bash:     4.0_p35                                                                           
dev-java/java-config: 2.1.10                                                                           
dev-lang/python:     2.6.4, 3.1.1-r1                                                                   
dev-util/cmake:      2.8.0                                                                             
sys-apps/baselayout: 2.0.1                                                                             
sys-apps/openrc:     0.6.0                                                                             
sys-apps/sandbox:    2.2                                                                               
sys-devel/autoconf:  2.13, 2.65                                                                        
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                                
sys-devel/binutils:  2.20                                                                              
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6b                                                                            
virtual/os-headers:  2.6.30-r1                                                                         
ACCEPT_KEYWORDS="x86 ~x86"                                                                             
ACCEPT_LICENSE="* -@EULA"                                                                              
CBUILD="i686-pc-linux-gnu"                                                                             
CFLAGS="-march=native -mtune=native -O2 -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/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"                          
CXXFLAGS="-march=native -mtune=native -O2 -pipe"                                                       
DISTDIR="/usr/portage/distfiles"                                                                       
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                 
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "                                                  
LANG="it_IT.utf8"                                                                                      
LC_ALL="it_IT.utf8"                                                                                    
LDFLAGS="-Wl,-O1"                                                                                      
LINGUAS="it 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/overlay"                                                                         
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                         
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa apache2 ares asf ati audio audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus device-mapper dga directfb divx divx4linux dri dts dv dvb dvd dvdr dvdread edl eds emboss encode ethereal evo exif expat faad fam fame fbcon ffmpeg fftw firefox flac force-cgi-redirect fortran ftp garmin gd gdbm gif gimp gmedia gmp gnome gnutls gphoto2 gpm gps gsm gstreamer gtk h264 h323 hal iconv icq idn ifp ilbc imagemagick imap innodb ipod ipv6 ithreads jabber jack java javascript joystick jpeg kde kontact kvm lastfm lcms ldap libcaca libnotify live lm_sensors lua lzo mad maildir mbox mdnsresponder-compat mhash mikmod mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap mysql ncurses nepomuk network new-hpcups nfsv4 njb nls nptl nptlonly nsplugin offensive ofx ogg oggvorbis openal openexr opengl openmp oscar pam pcre pdf perl phonon php plasma plotutils png ppds pppd python qt3support qt4 quicktime readline reflection rtc ruby samba sasl sdl session sha512 sip slang slp sndfile snmp sox speex spell spl sse sse2 ssh ssl ssse3 startup-notification svg symlink sysfs tcltk tcpd theora threads thunar tiff tk tremor truetype udev unicode usb utempter v4l v4l2 vcd vhosts video videos vim-syntax vorbis wav webkit wifi win32codecs wmf wmp wxwindows x264 x86 xanim xface xft xine xinerama xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zpm" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeonhd radeon"
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 2010-01-26 16:46:40 UTC
Could you try to reproduce problem with sys-apps/util-linux-2.16.2?
Comment 2 Fabio Coatti 2010-01-26 16:55:52 UTC
In fact, no: with 2.16.2 all works just fine, -O2 optimization.
Thanks for the hint :)
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-01-26 17:18:51 UTC
Then I guess this is the same issue as bug 301787.

*** This bug has been marked as a duplicate of bug 301787 ***