Gparted close when mount usb device

Bug #695341 reported by Marcos João dos Santos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gparted

I have a new pendrive with 4giga and when I run gparted it close when start to read this new device. I formated this and the problem continuous. I run the command: "sudo service apport start force_start=1" and nothing.
Runing gparted from terminal:

======================
libparted : 2.2
======================
Rastreador tem 16 chamadas na pilha:
  16: /lib/libparted.so.0(ped_assert+0x2a) [0xb775cf0a]
  15: /lib/libparted.so.0(+0x42507) [0xb7794507]
  14: /lib/libparted.so.0(+0x43317) [0xb7795317]
  13: /lib/libparted.so.0(+0x4460c) [0xb779660c]
  12: /lib/libparted.so.0(+0xf7b1) [0xb77617b1]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0xb7765032]
  10: /lib/libparted.so.0(+0x45fa3) [0xb7797fa3]
  9: /lib/libparted.so.0(+0x4619f) [0xb779819f]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0xb7765e15]
  7: /usr/sbin/gpartedbin() [0x80901e6]
  6: /usr/sbin/gpartedbin() [0x809fc9b]
  5: /usr/sbin/gpartedbin() [0x80c0532]
  4: /usr/lib/libglibmm-2.4.so.1(+0x30eb2) [0xb6f4beb2]
  3: /lib/libglib-2.0.so.0(+0x65def) [0xb6dd3def]
  2: /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xb6c4496e]
  1: /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb6bb2a4e]
Falha na declaração (head_size <= 63) em ../../../libparted/labels/dos.c:659 na função probe_partition_for_geom().

I'm with Lucid release.
Thanks.

Revision history for this message
Curtis Gedak (gedakc) wrote :

Based on your report, it appears that the usb device has an invalid partition table.

A work around is to copy your data to another device, write a new partition table to the usb device, and then restore your data back to the usb device.

A similar bug has been reported:

Verbatim USB stick crashes gParted
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/710696

Revision history for this message
Marcos João dos Santos (marcos-acheperto) wrote : Re: [Bug 695341] Re: Gparted close when mount usb device

Hi,
It appears that when I format and give a name to the pen Gparted crash, if
I format and leave without name Gparted can read it.
It's a bug?
Thanks

> Based on your report, it appears that the usb device has an invalid
> partition table.
>
> A work around is to copy your data to another device, write a new
> partition table to the usb device, and then restore your data back to
> the usb device.
>
> A similar bug has been reported:
>
> Verbatim USB stick crashes gParted
> https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/710696
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/695341
>
> Title:
> Gparted close when mount usb device
>
> Status in ?gparted? package in Ubuntu:
> New
>
> Bug description:
> Binary package hint: gparted
>
> I have a new pendrive with 4giga and when I run gparted it close when
> start to read this new device. I formated this and the problem
> continuous. I run the command: "sudo service apport start force_start=1"
> and nothing.
> Runing gparted from terminal:
>
> ======================
> libparted : 2.2
> ======================
> Rastreador tem 16 chamadas na pilha:
> 16: /lib/libparted.so.0(ped_assert+0x2a) [0xb775cf0a]
> 15: /lib/libparted.so.0(+0x42507) [0xb7794507]
> 14: /lib/libparted.so.0(+0x43317) [0xb7795317]
> 13: /lib/libparted.so.0(+0x4460c) [0xb779660c]
> 12: /lib/libparted.so.0(+0xf7b1) [0xb77617b1]
> 11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0xb7765032]
> 10: /lib/libparted.so.0(+0x45fa3) [0xb7797fa3]
> 9: /lib/libparted.so.0(+0x4619f) [0xb779819f]
> 8: /lib/libparted.so.0(ped_disk_new+0x75) [0xb7765e15]
> 7: /usr/sbin/gpartedbin() [0x80901e6]
> 6: /usr/sbin/gpartedbin() [0x809fc9b]
> 5: /usr/sbin/gpartedbin() [0x80c0532]
> 4: /usr/lib/libglibmm-2.4.so.1(+0x30eb2) [0xb6f4beb2]
> 3: /lib/libglib-2.0.so.0(+0x65def) [0xb6dd3def]
> 2: /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xb6c4496e]
> 1: /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb6bb2a4e]
> Falha na declaração (head_size <= 63) em
> ../../../libparted/labels/dos.c:659 na função
> probe_partition_for_geom().
>
> I'm with Lucid release.
> Thanks.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/695341/+subscribe
>

Revision history for this message
Curtis Gedak (gedakc) wrote :

Marcos, can you try the latest version of GParted (currently 0.7.1) to see if the problem still occurs?

Revision history for this message
lucianoloder (lucianoloder-gmail) wrote : gparted closed when mounted USB device

i had the same problem, with an verbatim 4gb pendrive

Rastreador tem 16 chamadas na pilha:
  16: /lib/libparted.so.0(ped_assert+0x2a) [0x11af0a]
  15: /lib/libparted.so.0(+0x42507) [0x152507]
  14: /lib/libparted.so.0(+0x43317) [0x153317]
  13: /lib/libparted.so.0(+0x4460c) [0x15460c]
  12: /lib/libparted.so.0(+0xf7b1) [0x11f7b1]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0x123032]
  10: /lib/libparted.so.0(+0x45fa3) [0x155fa3]
  9: /lib/libparted.so.0(+0x4619f) [0x15619f]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0x123e15]
  7: /usr/sbin/gpartedbin() [0x80901e6]
  6: /usr/sbin/gpartedbin() [0x809fc9b]
  5: /usr/sbin/gpartedbin() [0x80c0532]
  4: /usr/lib/libglibmm-2.4.so.1(+0x30eb2) [0x1bdeb2]
  3: /lib/libglib-2.0.so.0(+0x65def) [0x373def]
  2: /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x54e96e]
  1: /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x62fa4e]
Falha na declaração (head_size <= 63) em ../../../libparted/labels/dos.c:659
na função probe_partition_for_geom().

I dont know why, but for some reason the pendrive was normally mounted by
ubuntu, and it appears that it would propperly work.

I try to format it on winXP, but the problem persisted

Revision history for this message
Marcos João dos Santos (marcos-acheperto) wrote : Re: [Bug 695341] gparted closed when mounted USB device

Hi, I had the same problem and i discovered that when I gave a name to
device when I formated the device the problem occured, but if I leave
without a name gparted read normaly.
Later

--
Marcos João
Botucatu - SP - Brasil
http://solucoeslinux.webnode.com.br

Em Qua, 2011-05-25 às 18:24 +0000, lucianoloder escreveu:
> *** This bug is a duplicate of bug 545911 ***
> https://bugs.launchpad.net/bugs/545911
>
> i had the same problem, with an verbatim 4gb pendrive
>
> Rastreador tem 16 chamadas na pilha:
> 16: /lib/libparted.so.0(ped_assert+0x2a) [0x11af0a]
> 15: /lib/libparted.so.0(+0x42507) [0x152507]
> 14: /lib/libparted.so.0(+0x43317) [0x153317]
> 13: /lib/libparted.so.0(+0x4460c) [0x15460c]
> 12: /lib/libparted.so.0(+0xf7b1) [0x11f7b1]
> 11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0x123032]
> 10: /lib/libparted.so.0(+0x45fa3) [0x155fa3]
> 9: /lib/libparted.so.0(+0x4619f) [0x15619f]
> 8: /lib/libparted.so.0(ped_disk_new+0x75) [0x123e15]
> 7: /usr/sbin/gpartedbin() [0x80901e6]
> 6: /usr/sbin/gpartedbin() [0x809fc9b]
> 5: /usr/sbin/gpartedbin() [0x80c0532]
> 4: /usr/lib/libglibmm-2.4.so.1(+0x30eb2) [0x1bdeb2]
> 3: /lib/libglib-2.0.so.0(+0x65def) [0x373def]
> 2: /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x54e96e]
> 1: /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x62fa4e]
> Falha na declaração (head_size <= 63) em ../../../libparted/labels/dos.c:659
> na função probe_partition_for_geom().
>
> I dont know why, but for some reason the pendrive was normally mounted by
> ubuntu, and it appears that it would propperly work.
>
> I try to format it on winXP, but the problem persisted
>

Revision history for this message
lucianoloder (lucianoloder-gmail) wrote : Faça parte da minha rede no LinkedIn.

LinkedIn
------------

Eu gostaria de adicioná-lo à minha rede profissional no LinkedIn.
-luciano

luciano loder
Teacher at IFSUL - Pelotas na Datacom
Porto Alegre e Região, Brasil

Confirme que você conhece luciano loder:
https://www.linkedin.com/e/dmpan6-h83uv03r-17/isd/9010093772/KzagLMeB/?hs=false&tok=15McCN9k0oi5s1

--
Você está recebendo convites de conexão por e-mail. Clique aqui para parar de recebê-los:
http://www.linkedin.com/e/dmpan6-h83uv03r-17/7xskKHUURFsBQ9u1PO3Xjs7UvHiDmwu30J2P3s1/goo/695341%40bugs%2Elaunchpad%2Enet/20061/I3019578162_1/?hs=false&tok=3nRX6VZtUoi5s1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043 - EUA.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.