Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 201615
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vladimír Čunát <vcunat@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gparted-bugreport.txt the backtrace text/plain Vladimír Čunát 2007-12-07 21:07 0000 258.80 KB Details
backtrace.txt backtrace from gdb on refreshing devices text/plain Man Shankar 2008-01-07 02:31 0000 3.17 KB Details
gparted-0.3.3-r1.ebuild gparted-0.3.3-r1.ebuild text/plain Small_Penguin 2008-01-12 15:01 0000 990 bytes Details
gparted-0.3.3-refresh-devices-crash.patch Patch required by gparted-0.3.3-r1.ebuild patch Small_Penguin 2008-01-12 15:03 0000 748 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 201615 depends on: Show dependency tree
Bug 201615 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-07 21:06 0000
I'm attaching a complete backtrace, enjoy :)

Reproducible: Always

Steps to Reproduce:
1.run gparted
2.select to unmount my ext2 volume

Actual Results:  
just crashed and the volume really got unmounted

Expected Results:  
shouldn't crash

------- Comment #1 From Vladimír Čunát 2007-12-07 21:07:19 0000 -------
Created an attachment (id=137975) [details]
the backtrace

------- Comment #2 From Jakub Moc (RETIRED) 2007-12-07 22:51:01 0000 -------
Reopen with ebuild name, exact version and emerge --info.

http://www.gentoo.org/proj/en/qa/backtraces.xml

------- Comment #3 From Vladimír Čunát 2007-12-08 08:19:55 0000 -------
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Sat, 08 Dec 2007 07:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://gentoo.mirror.web4u.cz/
ftp://gentoo.mirror.web4u.cz/ "
LANG="C"
LINGUAS="cs en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi ads alsa bash-completion battery bitmap-fonts
branding bzip2 cairo cdaudio cddb cdr cdrom cli cpudetection cpufreq cracklib
crypt css cups dbus dga directfb disk-partition dmi dri dvd dvdnav dvdread dvi
enca encode erandom exif fat fbcon fbdev ffmpeg firefox fortran ftp gif
glibc-omitfp glut gnome gnutella gpm gstreamer gtk hal hddtemp hpn hwmixer icc
iconv icq id3tag imlib isdnlog jpeg jpeg2k kdexdeltas kdrive kerberos ldap
linuxthreads-tls lm_sensors mad make-symlinks maps midi mime mmx mmxext
mozdevelop mp3 mp4 mpeg mpeg2 mplayer mudflap multicall multitarget music
nautilus ncurses net nfs nls nptl nptlonly ogg opengl openmp oss pascal pch
pcre pdf perl pidgin pmu png pppd python qt3support qt4 quicktime readline
reiser4 reiserfs rtc samba scenarios sdl session shared sockets sounds spell
srt sse sse2 ssl stroke subtitles subversion svg swat symlink sysfs tcpd tiff
timidity transcode trash-plugin truetype type1 unicode usb v4l v4l2 valgrind
vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xfce
xforms xine xinerama xml xorg xv xvid xvmc zeroconf zip zlib"
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 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="cs en" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #4 From Vladimír Čunát 2007-12-08 08:29:09 0000 -------
I use:
gparted-0.3.3
parted-1.8.6

maybe the error occured some other package, just tell me the ebuilds you need
to know the versions

------- Comment #5 From Mateusz 2007-12-20 18:35:31 0000 -------
The same error.

------- Comment #6 From Man Shankar 2007-12-30 16:19:10 0000 -------
(In reply to comment #5)
> The same error.
> 
I get the same errors. It also happens on any occasion that gparted needs to
refresh devices.

Interestingly I had a working gparted ,prior to upgrading gtk+ from 2.10.14 to
2.12.1-r2 . I guess this is the problem because on downgrading gtk+ , gparted
started working fine again. I m on amd64.

------- Comment #7 From Man Shankar 2008-01-02 22:57:18 0000 -------
could you please check your GTK+ version. 

------- Comment #8 From Vladimír Čunát 2008-01-05 16:36:46 0000 -------
My current versions of GTK+ are 2.12.1-r2, 1.2.10-r12
Maybe I have updated it since I posted the backtrack, but it still crashes
anyway.

------- Comment #9 From Man Shankar 2008-01-06 19:28:56 0000 -------
like i mentioned in #6 , on my machine this problem only seems too occur with
the latest version of gtk+(2), that is the version you are using. Could you
please try 
running gparted with GTK+2.10.14 obviously certain other packages like
gtkmm,glibmm will also have to be downgraded. But that seems to solve the
problem for me and i m sure it could be helpful in solving this bug.Perhaps
there is some incompatibility . I m attaching the backtrace of gparted with the
latest gtk+ version , i produced this segfauilt by refreshing the devices.

------- Comment #10 From Man Shankar 2008-01-07 02:31:36 0000 -------
Created an attachment (id=140346) [details]
backtrace from gdb on refreshing devices

------- Comment #11 From Sonny Lander 2008-01-12 06:29:39 0000 -------
Seems the new Gparted LiveCD has a patch applied from this bug msg 15 to fix a
similar if not the same problem.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446522

------- Comment #12 From Small_Penguin 2008-01-12 14:59:18 0000 -------
There is a patch available for gparted-0.3.3 upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=470387

Direct link to the patch (from comment #6):
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=gparted-refresh-devices-crash.diff;att=1;bug=446522

After applying the patch, refreshing devices does not cause a crash anymore.

I'll attach an updated ebuild and the patch immediately.

------- Comment #13 From Small_Penguin 2008-01-12 15:01:41 0000 -------
Created an attachment (id=140812) [details]
gparted-0.3.3-r1.ebuild

Updated gparted-0.3.3.ebuild.

------- Comment #14 From Small_Penguin 2008-01-12 15:03:39 0000 -------
Created an attachment (id=140814) [details]
Patch required by gparted-0.3.3-r1.ebuild

Tested, works ok here.

------- Comment #15 From Man Shankar 2008-01-12 16:48:21 0000 -------
(In reply to comment #14)
> Created an attachment (id=140814) [edit] [details]
> Patch required by gparted-0.3.3-r1.ebuild
> 
> Tested, works ok here.
> 

When can we expect it in the portage tree ?

------- Comment #16 From Gilles Dartiguelongue 2008-01-13 00:59:53 0000 -------
> When can we expect it in the portage tree ?
> 

This is not the kind of comment that'll get things to move faster, rather the
opposite. Thanks.

I'll look at it tomorrow unless another dev beats me to it.

------- Comment #17 From Gilles Dartiguelongue 2008-01-14 00:03:53 0000 -------
fix is in tree, thanks for reporting.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug