After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 470387 - Gparted crash when I resfresh Devices
Gparted crash when I resfresh Devices
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.3.3
Other All
: High critical
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
: 438572 468598 525726 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-08-26 09:53 UTC by joel dias marques
Modified: 2008-08-12 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description joel dias marques 2007-08-26 09:53:20 UTC
Steps to reproduce:
1. Gparted > Refresh Devices



Stack trace:
root@joel-gutsy:~# gdb gparted
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/gparted 
(no debugging symbols found)
Failed to read a valid object file image from memory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225001280 (LWP 7919)]
======================
libparted : 1.7.1
======================
[New Thread -1241031792 (LWP 7922)]
[Thread -1241031792 (LWP 7922) exited]
[New Thread -1241031792 (LWP 7931)]
[Thread -1241031792 (LWP 7931) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225001280 (LWP 7919)]
0xb7249f75 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
(gdb) thread apply all bt

Thread 1 (Thread -1225001280 (LWP 7919))

  • #0 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string
    from /usr/lib/libstdc++.so.6
  • #1 Glib::ustring::ustring
    from /usr/lib/libglibmm-2.4.so.1
  • #2 ??
  • #3 ??
  • #4 Glib::SignalProxyNormal::slot0_void_callback
    from /usr/lib/libglibmm-2.4.so.1
  • #5 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/libgobject-2.0.so.0
  • #8 ??
  • #9 ??


Other information:
Comment 1 André Klapper 2007-09-13 13:55:16 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Comment 3 Pedro Villavicencio 2007-09-28 20:52:21 UTC
traces as follow:

".

Thread 1 (process 8882)

  • #0 GParted::Device::get_path
    at /usr/include/c++/4.1.3/bits/stl_vector.h line 342
  • #1 GParted::Win_GParted::combo_devices_changed
    at Win_GParted.cc line 921
  • #2 Glib::SignalProxyNormal::slot0_void_callback
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h line 440
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.0/gobject/gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2510
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2199
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2243
  • #7 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.0/gobject/gclosure.c line 490
  • #9 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2440
  • #10 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2199
  • #11 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2243
  • #12 gtk_list_store_remove
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gtk_list_store_clear
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 GParted::Win_GParted::refresh_combo_devices
    at Win_GParted.cc line 505
  • #15 GParted::Win_GParted::menu_gparted_refresh_devices
    at Win_GParted.cc line 1050
  • #16 Glib::SignalProxyNormal::slot0_void_callback
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h line 440
  • #17 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.0/gobject/gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2510
  • #19 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2199
  • #20 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2243
  • #21 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.0/gobject/gclosure.c line 490
  • #26 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2478
  • #27 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2209
  • #28 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.0/gobject/gsignal.c line 2243
  • #29 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #33 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.14.0/glib/gmain.c line 2061
  • #34 g_main_context_iterate
    at /build/buildd/glib2.0-2.14.0/glib/gmain.c line 2694
  • #35 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.14.0/glib/gmain.c line 2898
  • #36 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??

Comment 4 Daniel Hahler 2007-11-22 00:45:29 UTC
The bug has been fixed in Debian/Ubuntu.

Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446522 for the patch.
Comment 5 Laurent de Trogoff 2007-11-22 07:40:50 UTC
hi daniel !

Ok. Then I close the bug, right ?
Comment 6 Daniel Hahler 2007-11-26 22:17:53 UTC
No, it does not appear to be fixed in GParted yet. At least the patch (http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=gparted-refresh-devices-crash.diff;att=1;bug=446522) is not applied in gparted trunk (http://svn.gnome.org/viewvc/gparted/trunk/src/Win_GParted.cc?revision=752&view=markup).
Comment 7 Laurent de Trogoff 2007-11-27 07:38:42 UTC
Ok Daniel, Isee.
Well, the problem is that Bart is away since months... I gonna try to apply the patch on a tarball, and then put it in the livecd.
I think I should copy the svn repo of GParted and set it somewhere else.
I don't know what to do.
BTW I have no C+ maintainer for Gparted. I am afraid the project is stopped, for this reason...
Comment 8 Laurent de Trogoff 2007-11-29 08:03:11 UTC
daniel,
I have successfully patched gparted ebuild, which is good for the livecd. refresh works very well each time. This was important since we now use parted-1.8.8 (and no more 1.7.1).
I am still waiting for Sf team decision, about GParted soft : if they give me full access (like admin), I will continue the project (but will need help to go ahead) ; if they don't.... Dunno what I will try.

thx for the patch, anyway :)
Comment 9 gg 2008-01-16 19:05:34 UTC
Hi Larry,

I just came along to signal this bug and found it was already known and "fixed", but not committed.

Are you saying that Bart has gone incommunicado and is the only person with admin rights to the SF project ?!

Can you give an update on the state of play? Since your last post goes back a while I guess you will know if SF are going to resolve this or if another solution needs to be found.

TIA, gg.
Comment 10 Laurent de Trogoff 2008-01-19 17:53:58 UTC
gg,
I dont know what to do.
Just like I did with gparted-livecd, I could push gparted svn to tuxfamily and then have full admin access mode, and would be able to give rights to other devs. But this mean that the SF repo will be left. I wonder if it would the best solution. SF told me to recreate the project with the same name : they will change all rights and give them to me.
But in fact I am not the "father" of this project. BTW, I don't even know two words of C++ : what kind of admin would I be :-/

So, if I can find some C++ devs, I will do what I said, pushing a new svn on tuxfamily site.

But so far, no body seriouly answers he would come and work on the project.
It's a pity, because this tool is really good. Nothing is done for ext4, and many things could be improved, but no dev at home :(

any thing to add ?
Feel free please, if you have any solution.
Comment 11 Mathias Hasselmann (IRC: tbf) 2008-01-23 10:56:49 UTC
Ermm.... why tuxfamily site instead of the obvious svn.gnome.org, considering the project's bug tracker is on gnome.org already?
Comment 12 Curtis Gedak 2008-01-28 17:50:05 UTC
The patch for this bug has been applied to the new repository on SourceForge.

Thank you to all for identifying this problem, and pointing out where to find an existing patch.

Curtis
Comment 13 Claude Paroz 2008-01-28 18:38:23 UTC
So what is the status of the current gparted module in GNOME svn?
http://svn.gnome.org/viewvc/gparted/
Comment 14 Laurent de Trogoff 2008-01-28 19:11:13 UTC
svn.gnome.org is not available for the two news devs of gparted. and the gnome team take its time to set it up for us.
So we hade to move svn to SF, unfortunately !
http://gparted.sourceforge.net/svn.php
Comment 15 Curtis Gedak 2008-01-28 19:42:09 UTC
Claude,

Laurent de Trogoff and I are working towards resurrecting the GParted project.

We have been in email discussions with the original developer, Bart Hakvoort.  Bart has indicated that he is very busy, and has agreed to pass control of the project over to Laurent and I.  We now have administrative access to the project on SourceForge.

Unfortunately, Bart appears to no longer have full access to the GNOME SVN repository for GParted (lost his password or something).

Laurent had applied to gnome for write access quite a while ago, but has yet to receive a response.  Yesterday, I tried to request write access and was unable to locate the GParted project in the list of GNOME Module "Vouchers" on the New Account sign up form (https://mango.gnome.org/new_account.php).  I emailed accounts@gnome.org regarding this problem.

In the absence of write access to the gnome SVN repository, we migrated the latest gnome SVN code over to SourceForge.

Laurent has listed a link to this new SourceForge repository the previous message.

If we do not gain write access to the gnome SVN repository in a reasonable timeframe, Laurent and I will proceed with the project long term in the SourceForge repository.  Then perhaps we will request that the gnome SVN repository for GParted be closed.

Regards,
Curtis Gedak
Comment 16 Claude Paroz 2008-01-28 21:24:26 UTC
Laurent and Curtis,

THANKS for keeping up the good work with GParted. It's a great tool!

Now for GNOME SVN access, I will see if I can help to accelerate the process...

Regarding this bug, I suppose we can close it ?
Comment 17 Curtis Gedak 2008-01-28 22:03:30 UTC
Hi Claude,

Thank you for your offer to accelerate GNOME SVN access.  Anything you can do to accelerate the process would be much appreciated.

To clarify, I personally haven't applied for a new account due to the problem listed above (I was unable to find "gparted" in the list of gnome modules on the new account sign up screen).  I have only sent an email to accounts@gnome.org regarding the problem.

And yes, this bug can probably be closed now.  I have made a note in my calendar to close it in one week, assuming no new problems arise with the patch between then and now.

Sincerely,
Curtis Gedak
Comment 18 Gilles Dartiguelongue 2008-02-11 21:25:13 UTC
Hi guys, I know this is not concerning this bug anymore but I think it's better for you all to get this information in one shot. I personnaly got svn write access in less than 1 or 2 weeks (can't remember exactly) when srag (evolution maintainer) asked me to get one. The thing though (besides broken forms) is that you will probably get quicker response by hanging on the irc channel as long as necessary to get in touch with the guys reponsible of this, once you got them, it should be really quick (tm). It's not that they don't want to give access but you known, life...

Anyway thanks for taking over this module, and please include po/LINGUAS patch in next roll :)
Comment 19 Curtis Gedak 2008-02-12 19:25:16 UTC
Thank you for the information.

In the release steps I have added checking the GNOME repository for language updates.
Comment 20 Curtis Gedak 2008-03-26 14:20:53 UTC
Bug #468598 is a duplicate of this request.
Comment 21 Curtis Gedak 2008-04-02 14:30:30 UTC
*** Bug 525726 has been marked as a duplicate of this bug. ***
Comment 22 Curtis Gedak 2008-06-16 15:38:23 UTC
*** Bug 438572 has been marked as a duplicate of this bug. ***
Comment 23 André Klapper 2008-08-12 12:27:11 UTC
*** Bug 468598 has been marked as a duplicate of this bug. ***