Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298514 - sys-apps/hal-0.5.14: hal-disable-polling crashes
Summary: sys-apps/hal-0.5.14: hal-disable-polling crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-27 10:55 UTC by Patrick Lauer
Modified: 2010-01-08 21:32 UTC (History)
2 users (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 Patrick Lauer gentoo-dev 2009-12-27 10:55:11 UTC
As suggested by powertop I ran this:

# hal-disable-polling --device /dev/cdrom
*** buffer overflow detected ***: hal-disable-polling terminated
======= Backtrace: =========                                    
/lib/libc.so.6(__fortify_fail+0x37)[0x30022e6ec7]               
/lib/libc.so.6[0x30022e4d20]                                    
/lib/libc.so.6[0x30022e539b]                                    
hal-disable-polling(main+0x527)[0x4017b7]                       
/lib/libc.so.6(__libc_start_main+0xfd)[0x300221ebbd]            
hal-disable-polling[0x401189]                                   
======= Memory map: ========                                    
00400000-00403000 r-xp 00000000 09:00 101546245                          /usr/bin/hal-disable-polling
00602000-00603000 r--p 00002000 09:00 101546245                          /usr/bin/hal-disable-polling
00603000-00604000 rw-p 00003000 09:00 101546245                          /usr/bin/hal-disable-polling
02525000-02546000 rw-p 00000000 00:00 0                                  [heap]                      
3000000000-300001e000 r-xp 00000000 09:00 100842129                      /lib64/ld-2.11.so           
300021d000-300021e000 r--p 0001d000 09:00 100842129                      /lib64/ld-2.11.so           
300021e000-300021f000 rw-p 0001e000 09:00 100842129                      /lib64/ld-2.11.so           
300021f000-3000220000 rw-p 00000000 00:00 0                                                          
3002200000-3002350000 r-xp 00000000 09:00 100842130                      /lib64/libc-2.11.so         
3002350000-300254f000 ---p 00150000 09:00 100842130                      /lib64/libc-2.11.so         
300254f000-3002553000 r--p 0014f000 09:00 100842130                      /lib64/libc-2.11.so         
3002553000-3002554000 rw-p 00153000 09:00 100842130                      /lib64/libc-2.11.so         
3002554000-3002559000 rw-p 00000000 00:00 0                                                          
3002e00000-3002e17000 r-xp 00000000 09:00 98130750                       /lib64/libpthread-2.11.so   
3002e17000-3003016000 ---p 00017000 09:00 98130750                       /lib64/libpthread-2.11.so   
3003016000-3003017000 r--p 00016000 09:00 98130750                       /lib64/libpthread-2.11.so   
3003017000-3003018000 rw-p 00017000 09:00 98130750                       /lib64/libpthread-2.11.so   
3003018000-300301c000 rw-p 00000000 00:00 0                                                          
3003600000-3003608000 r-xp 00000000 09:00 99833379                       /lib64/librt-2.11.so        
3003608000-3003807000 ---p 00008000 09:00 99833379                       /lib64/librt-2.11.so        
3003807000-3003808000 r--p 00007000 09:00 99833379                       /lib64/librt-2.11.so        
3003808000-3003809000 rw-p 00008000 09:00 99833379                       /lib64/librt-2.11.so        
3004a00000-3004a15000 r-xp 00000000 09:00 100842137                      /lib64/libgcc_s.so.1        
3004a15000-3004c15000 ---p 00015000 09:00 100842137                      /lib64/libgcc_s.so.1        
3004c15000-3004c16000 r--p 00015000 09:00 100842137                      /lib64/libgcc_s.so.1        
3004c16000-3004c17000 rw-p 00016000 09:00 100842137                      /lib64/libgcc_s.so.1
3005600000-30056e0000 r-xp 00000000 09:00 87074250                       /usr/lib64/libglib-2.0.so.0.2200.3
30056e0000-30058df000 ---p 000e0000 09:00 87074250                       /usr/lib64/libglib-2.0.so.0.2200.3
30058df000-30058e0000 r--p 000df000 09:00 87074250                       /usr/lib64/libglib-2.0.so.0.2200.3
30058e0000-30058e1000 rw-p 000e0000 09:00 87074250                       /usr/lib64/libglib-2.0.so.0.2200.3
30058e1000-30058e2000 rw-p 00000000 00:00 0
300a400000-300a440000 r-xp 00000000 09:00 100842158                      /usr/lib64/libdbus-1.so.3.5.0
300a440000-300a640000 ---p 00040000 09:00 100842158                      /usr/lib64/libdbus-1.so.3.5.0
300a640000-300a641000 r--p 00040000 09:00 100842158                      /usr/lib64/libdbus-1.so.3.5.0
300a641000-300a642000 rw-p 00041000 09:00 100842158                      /usr/lib64/libdbus-1.so.3.5.0
303dc00000-303dc10000 r-xp 00000000 09:00 94073404                       /usr/lib64/libhal.so.1.0.0
303dc10000-303de0f000 ---p 00010000 09:00 94073404                       /usr/lib64/libhal.so.1.0.0
303de0f000-303de10000 r--p 0000f000 09:00 94073404                       /usr/lib64/libhal.so.1.0.0
303de10000-303de11000 rw-p 00010000 09:00 94073404                       /usr/lib64/libhal.so.1.0.0
7f1494068000-7f149406d000 rw-p 00000000 00:00 0
7f14940a5000-7f14940a6000 rw-p 00000000 00:00 0
7fffdb4a1000-7fffdb4b7000 rw-p 00000000 00:00 0                          [stack]
7fffdb5ff000-7fffdb600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted


Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-git10 x86_64)
=================================================================                                 
System uname: Linux-2.6.32-git10-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1 
Timestamp of tree: Unknown                                                                        
ccache version 2.4 [disabled]                                                                     
app-shells/bash:     4.0_p35                                                                      
dev-java/java-config: 2.1.10                                                                      
dev-lang/python:     2.5.4-r2, 2.6.4, 3.1.1-r1                                                    
dev-python/pycrypto: 2.1.0                                                                        
dev-util/ccache:     2.4-r8                                                                       
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.5, 1.7.9-r1, 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="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/X11/xkb /usr/share/config"
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="-O2 -march=k8 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/home/pal/code/gentoo-x86/"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/qting-edge /home/pal/code/kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 berkdb branding bzip2 cairo cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb dri dts dv dvd dvdr eds emboss encode evo fam firefox flac fortran ftp fts3 gdbm ggi gif gpm iconv ipv6 jack jpeg jpeg2k kde kdeprefix kpathsea ladspa libnotify lzo mad md5sum mikmod mmx mmxext mng modules mp2 mp3 mp4 mpeg mudflap multilib musepack nas ncurses nls nptl nptlonly objc ogg openal opengl openmp pam pcre pdf perl png pnm ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc sasl sdl session slang social-desktop speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd tga theora thunar tiff truetype unicode usb vorbis webkit x264 xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-01-08 17:12:52 UTC
This looks like the fortify problem fixed in 0.5.14-r1.  Does that version fix it for you?
Comment 2 Patrick Lauer gentoo-dev 2010-01-08 17:30:02 UTC
(In reply to comment #1)
> This looks like the fortify problem fixed in 0.5.14-r1.  Does that version fix
> it for you?
> 

It does fix it for me.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-01-08 21:32:08 UTC
Closing fixed then.

Thanks