Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196711 - sys-apps/hal-0.5.9.1-r2 crashes when hal properties exceed 255 characters
Summary: sys-apps/hal-0.5.9.1-r2 crashes when hal properties exceed 255 characters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 13:42 UTC by Nicolas Cortot
Modified: 2009-02-04 19:50 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 Nicolas Cortot 2007-10-22 13:42:35 UTC
When interacting with a hal mass storage device (e.g. callouts to mount / umount / eject block device), hald-runner crashes if a strlist property of the device exceeds 255 characters.


Reproducible: Always

Steps to Reproduce:
1. Plug in device
2. Add a long property: hal-set-property --udi /org/freedesktop/Hal/devices/volume_uuid_****** --key org.test --strlist-post [something with 256 characters at least]
3. Try to eject device, for example: exo-eject -h /org/freedesktop/Hal/devices/volume_uuid_******

Actual Results:  
"hald --use-syslog --verbose=yes --daemon=no" outputs:
*** [DIE] hald_runner.c:runner_died():200 : Runner died

And then hald quits.

Expected Results:  
hald-runner and hald should not exit.


Happens on x86 and amd64, non-gentoo-systems do not seem to be affected.


emerge --info:

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Mon, 22 Oct 2007 09:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-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/bind"
CONFIG_PROTECT_MASK="/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.mirror.sdv.fr http://trumpetti.atm.tut.fi/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="fr"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache2 bitmap-fonts bzip2 cdda cddb cdr cli cracklib crypt cups dbus dri dts dv dvd dvdr encode exif ffmpeg flac fortran gdbm gif gpm gtk gtk2 hal iconv immqt-bc ipod iproute2 ipv6 isdnlog ithreads java jpeg jpeg2k lame ldap libcaca live lm_sensors matroska midi mime mmx mmxext mp3 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nvidia odbc ogg opengl openmp pam pcre perl png pppd python qt qt3 qt4 quicktime readline recode reflection samba session sndfile spell spl srt sse sse2 ssl svg tcpd tga threads tidy tiff truetype truetype-fonts type1-fonts unicode usb utempter vhosts vim-syntax vorbis x264 xcb xinerama xml xorg xosd xpm xscreensaver xsl xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2009-01-28 20:57:27 UTC
Is this still valid with 0.5.11*? If yes, maybe this could be an upstream problem :-/
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 19:50:58 UTC
Will have to assume that this is fixed in 0.5.11; should this not be the case could you please file a (new) bug and assign it directly to me (especially if non-Gentoo systems remain unaffected and we continue to crash, because then a custom patch is problematic).