Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256985 - sys-block/gparted- 0.4.1 ( fat gnome jfs xfs ) terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::replace
Summary: sys-block/gparted- 0.4.1 ( fat gnome jfs xfs ) terminate called after throwin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 20:28 UTC by Vasiliy Kotikov
Modified: 2011-10-30 23:14 UTC (History)
1 user (show)

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


Attachments
Bug Buddy (gpartedbin-bugreport.txt,245.54 KB, text/plain)
2009-01-30 20:29 UTC, Vasiliy Kotikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy Kotikov 2009-01-30 20:28:25 UTC
Gparted craches when is launched from gnome menu (command is gksu /usr/sbin/gparted %f) or just like an icon.
Ok - if to run from gnome-terminal






Reproducible: Always

Actual Results:  
crashes.

Expected Results:  
should work.

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.6.1-r0, 2.6.28-tuxonice i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.28-tuxonice-i686-Intel-R-_Core-TM-_Duo_CPU_T2600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Fri, 30 Jan 2009 18:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise /usr/portage/local/layman/berkano /usr/portage/local/layman/synce /usr/portage/local/layman/java-overlay /usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aac acc acl acpi additions alsa ape automount avi berkdb bluetooth bzip bzip2 cairo cddb cli cpudetection cracklib crypt cups dbus divx djvu dri dts dvb dvd dvdr encode equalizer extensions fam fat fbsplash ffmpeg firefox flac fortran ftp gcj gdbm gif gnome gnome-keyring gnomecd gnutls gpm gstreamer gtk gzip hal hddtemp iconv isdnlog java jfs jpeg laptop libnotify libsamplerate lirc lm_sensors lzma midi mmx mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly ntp ntpl ogg openmp oss pam pcmcia pcre pdf perl pidgin plugins pmu png pppd prelude python quicktime radio rar readline reflection sasl saveconfig sdl session smp sndfile sox spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode urandom usb uselocales userlocales v4l2 vim vim-syntax vnc vorbis wavpack win32codecs wmf x86 xfs xorg xulrunner 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 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" LINGUAS="ru en de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810 intel vesa directfb fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================
>>> Attempting to run pkg_info() for 'sys-block/gparted-0.4.1'
 * pkg_info() is not defined: 'gparted-0.4.1.ebuild'
Comment 1 Vasiliy Kotikov 2009-01-30 20:29:37 UTC
Created attachment 180315 [details]
Bug Buddy
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-31 00:28:35 UTC
interesting bug. The backtrace doesn't look like one though. Could you check if there's anything of interest in .xsession-errors when this happens ?
Comment 3 Vasiliy Kotikov 2009-01-31 08:10:41 UTC
> cat .xsession-errors 
/etc/X11/gdm/Xsession: Beginning session setup...
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/seahorse-agent --execute gnome-session
SESSION_MANAGER=local/8doch7121ha37:/tmp/.ICE-unix/11305
1233388798.319687 Session manager: disconnected...

(gnome-session:11305): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field

seahorse nautilus module initialized
Failed to play sound: Sound disabled
Traceback (most recent call last):
  File "/usr/bin/gnome-osd-event-bridge", line 2, in ?
    import pygtk; pygtk.require("2.0")
ImportError: No module named pygtk
Initializing nautilus-open-terminal extension
Bluetooth OBEX server failed: Bluez DBus interface not available

(gnome-panel:11438): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field


** (gnome-obex-server:11448): WARNING **: Unable to register SDP record for OPUSH

(gnome-terminal:11451): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field


(gedit:11452): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field


** (nautilus:11439): WARNING **: Unable to add monitor: Не поддерживается

(nautilus:11439): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field

Man plug-in loaded.
WordNet data parsing plug-in loaded.
Spelling plugin loaded.
PowerWord data parsing plug-in loaded.
Dict.cn plug-in loaded.
WordNet dict rendering plug-in loaded.
XDXF data parsing plug-in loaded.
Wiki data parsing plug-in loaded.
HTML data parsing plug-in loaded.
bookname: LingvoUniversal (En-Ru) , wordcount 96720
bookname: Universal (Ge-Ru) , wordcount 175656
bookname: LingvoUniversal (Ru-En) , wordcount 84795
bookname: computer-dictionary , wordcount 5144
bookname: Словарь Даля , wordcount 43642
bookname: LDaF , wordcount 57822
bookname: Accounting (En-Ru) , wordcount 5987
bookname: Americana (En-Ru) , wordcount 20967
bookname: LingvoComputer (En-Ru) , wordcount 47180
bookname: Computers (En-Ru) , wordcount 13729
bookname: LingvoEconomics (En-Ru) , wordcount 48824
bookname: Engineering (En-Ru) , wordcount 73601
bookname: Patents (En-Ru) , wordcount 11782
bookname: Physics (En-Ru) , wordcount 80661
bookname: Polytechnical (En-Ru) , wordcount 176294
bookname: Telecoms (En-Ru) , wordcount 32995
bookname: Wine (En-Ru) , wordcount 954
bookname: Active (Ge-Ru) , wordcount 1678
bookname: LingvoComputer (Ru-En) , wordcount 33309
bookname: Computers (Ru-En) , wordcount 10165
bookname: LingvoEconomics (Ru-En) , wordcount 34144
bookname: Engineering (Ru-En) , wordcount 43792
bookname: Patents (Ru-En) , wordcount 11160
bookname: PhraseBook (Ru-En) , wordcount 566
bookname: Physics (Ru-En) , wordcount 82871
bookname: Polytechnical (Ru-En) , wordcount 122722
bookname: Telecoms (Ru-En) , wordcount 26597
bookname: pc-user-dictionary , wordcount 9635
bookname: dictd_www.freedict.de_eng-rus , wordcount 1693
bookname: dictd_www.freedict.de_eng-deu , wordcount 92524

(stardict:11450): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field

Предупреждение менеджера окон: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1a0005a (Списо)
Предупреждение менеджера окон: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(firefox:11449): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field


(gnome-panel:11438): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a pixmap or window
======================
libparted : 1.8.8
======================
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::replace
6279d848-1d06-ef19-69e311a8-687d1fc9 is dumped

(bug-buddy:11624): Gtk-WARNING **: Theme directory  of theme crystalsvg has no size field

Предупреждение менеджера окон: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3a000c9 ()
Предупреждение менеджера окон: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(gnome-terminal:11451): Vte-WARNING **: Отсутствует обработчик управляющей последовательности "device-control-string".
Предупреждение менеджера окон: Attempt to perform window operation 20 on window none when operation 20 on none already in effect
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-31 11:18:48 UTC
hum could you rebuild gparted and parted ?
Comment 5 Vasiliy Kotikov 2009-01-31 20:32:38 UTC
I did, this does not help...
Other applications like wireshark (with gksu) - works...
Any other idea?
Comment 6 Vasiliy Kotikov 2009-02-01 10:31:04 UTC
Falling back to version 0.3.8, the previous stable version works ok.
Comment 7 Andrey Vihrov 2009-02-01 19:00:14 UTC
I also experience this bug on stable amd64. While writing this comment, I noticed Vasiliy and me are both Russian, which led me to a hypothesis this could be a locale-specific bug. And indeed, running gparted with LC_ALL="C" helps, while LC_ALL="ru_RU.UTF-8" triggers the crash.

Attaching emerge --info:
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Pentium-R-_4_CPU_3.06GHz-with-glibc2.2.5
Timestamp of tree: Sat, 31 Jan 2009 14:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CPPFLAGS="-DNDEBUG"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en lv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 avahi bash-completion berkdb bonjour branding bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal hddtemp iconv id3tag ipod isdnlog jpeg libnotify lm_sensors mad matroska midi mikmod mmx mmxext mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection rtc sdl session smp spell spl sse sse2 sse3 ssl startup-notification svg symlink sysfs tcpd theora threads tiff totem truetype unicode upnp usb v4l vim-syntax vorbis x264 xml xorg xulrunner xv xvid xvmc zeroconf 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en lv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 18:52:06 UTC
looks like this was fixed in 0.4.3. Could you please test that version ? (I'm about to commit it so it'll hit mirrors in a few hours)
Comment 9 Andrey Vihrov 2009-02-15 20:46:29 UTC
0.4.3 confirmed to work.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 21:18:03 UTC
thanks. I'll make sure it gets stable asap.