← Back to team overview

lubuntu-qa team mailing list archive

Re: usb-creator-gtk fails to run on lubuntu13.04 beta 2, launchpad bug 1165200

 

1. Segfault, yes, but with careful management, it can still create a
[persistent] live USB drive. Many people would be happy, if this poor
program will get some love, and get rid of the bugs.


2. A bug-free alternative is usb-creator-kde. I have tested it and found
that it works without issues (only warning output to the terminal
window, if started from that).

I checked the size in a clean persistent live USB drive with Lubuntu
13.04 32-bit. With all the KDE packages, 384 MB more disk space will be
used, so it could be recommended for people with a [fast] internet
connection, but it cannot be included in a Lubuntu CD-size iso file.

Best regards
Nio

On 2013-06-08 11:29, Julien Lavergne wrote:
> Even after installing the 2 packages, I still have segfault on my 64
> bits system. But it's a python program, so I fear it's a bug in the
> bindings, which is quite difficult to debug correctly :-/
> 
> Regards,
> Julien Lavergne
> 
> 2013/6/8 Nio Wiklund <nio.wiklund@xxxxxxxxx>:
>> More testing of usb-creator-gtk in the 32-bit version of Lubuntu Raring
>>
>>
>> Hi Jonathan,
>>
>> This is a long mail because I have included a lot of details. But I
>> start with a summary.
>>
>> Best regards
>> Nio
>>
>> *Summary and comments*
>>
>> Using usb-creator-gtk without mounting the partition on the target USB
>> drive has started to work for me.
>>
>> This worked when writing to a slow Sandisk Cruzer 4 GB USB2 flash drive
>> with normal termination, but caused a segmentation fault, when writing
>> to an IDE disk connected via a no-brand-name adapter called
>>
>> "USB2.0 to IDE & SATA cable"
>>
>> However, a persistent live USB drive was created. This is different from
>> my results a couple of days ago, when segmentation fault in this 32-bit
>> Lubuntu 13.04 caused a dead USB drive.
>>
>> It used to work only when the partition on the target USB drive was mounted.
>>
>> I tried once more to make the USB HDD work as persistent live drive.
>> This time there was no segmentation fault, although the partition on
>> that drive was not mounted.
>>
>> So flaky, yes, but things are improving.
>>
>> I don't know, if I am doing things more consistently, or if a bug-fix
>> has trickled down :-)
>>
>>
>> -o-
>>
>> *Long version (skip unless you are interested in the details)*
>>
>> Using usb-creator-gtk without mounting the partition on the target USB
>> drive.
>>
>> This worked when writing to a slow Sandisk Cruzer 4 GB USB2 flash drive
>> with normal termination, but caused a segmentation fault, when writing
>> to an IDE disk connected via a no-brand-name adapter called
>>
>> "USB2.0 to IDE & SATA cable"
>>
>> However, a persistent live USB drive was created. This is different from
>> my results a couple of days ago, when segmentation fault in this 32-bit
>> Lubuntu 13.04 caused a dead USB drive. Maybe a bug-fix has trickled down :-)
>>
>> It used to work only when the partition on the target USB drive was mounted.
>>
>> -o-
>>
>> tester@lubuntu-raring:~$ sudo dd if=/dev/zero of=/dev/sdf bs=4096
>> ^C2952519+0 poster in
>> 2952519+0 poster ut
>> 12093517824 byte (12 GB) kopierade, 367,294 s, 32,9 MB/s
>> tester@lubuntu-raring:~$ df
>> Filsystem      1K-block  Använt Tillgängligt Anv% Monterat på
>> /dev/sda4      10744576 4211832      5986944  42% /
>> none                  4       0            4   0% /sys/fs/cgroup
>> udev             959192       4       959188   1% /dev
>> tmpfs            193480     856       192624   1% /run
>> none               5120       0         5120   0% /run/lock
>> none             967396      72       967324   1% /run/shm
>> none             102400      12       102388   1% /run/user
>> /dev/sdf1      10189728 3342308      6323156  35% /media/tester/raring64
>> tester@lubuntu-raring:~$ sudo umount /media/tester/raring64
>> tester@lubuntu-raring:~$ sudo gparted
>> ======================
>> libparted : 2.3
>> ======================
>> /dev/sdf: okänt disketikett
>> /dev/sdf: okänt disketikett
>>
>> ** (gpartedbin:2219): WARNING **: Invalid borders specified for theme
>> pixmap:
>>         /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
>> borders don't fit within the image
>>
>> ** (gpartedbin:2219): WARNING **: Invalid borders specified for theme
>> pixmap:
>>
>> /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
>> borders don't fit within the image
>>
>> ** (gpartedbin:2219): WARNING **: Invalid borders specified for theme
>> pixmap:
>>         /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
>> borders don't fit within the image
>> tester@lubuntu-raring:~$ df
>> Filsystem      1K-block  Använt Tillgängligt Anv% Monterat på
>> /dev/sda4      10744576 4211828      5986948  42% /
>> none                  4       0            4   0% /sys/fs/cgroup
>> udev             959192      12       959180   1% /dev
>> tmpfs            193480     852       192628   1% /run
>> none               5120       0         5120   0% /run/lock
>> none             967396      72       967324   1% /run/shm
>> none             102400      12       102388   1% /run/user
>> tester@lubuntu-raring:~$ usb-creator-gtk
>> Segmenteringsfel (minnesutskrift skapad)
>> tester@lubuntu-raring:~$
>> -----
>>
>> I tried once more tp make the USB HDD work as persistent live drive.
>> This time there was no segmentation fault, although the partition on
>> that drive was not mounted.
>>
>> So flaky, yes, but things are improving :-)
>> -----
>> tester@lubuntu-raring:~$ df
>> Filsystem      1K-block  Använt Tillgängligt Anv% Monterat på
>> /dev/sda4      10744576 4217356      5981420  42% /
>> none                  4       0            4   0% /sys/fs/cgroup
>> udev             959192       4       959188   1% /dev
>> tmpfs            193480     844       192636   1% /run
>> none               5120       0         5120   0% /run/lock
>> none             967396      72       967324   1% /run/shm
>> none             102400      12       102388   1% /run/user
>> /dev/sdf1       4185088 4152612        32476 100% /media/tester/usb-os-32
>> tester@lubuntu-raring:~$ sudo umount /media/tester/usb-os-32
>> [sudo] password for tester:
>> tester@lubuntu-raring:~$ sudo dd if=/dev/zero of=/dev/sdf bs=4096 count=1M
>> 820003+0 poster in
>> 820003+0 poster ut
>> 3358732288 byte (3,4 GB) kopierade, 100,202 s, 33,5 MB/s
>> 1048576+0 poster in
>> 1048576+0 poster ut
>> 4294967296 byte (4,3 GB) kopierade, 131,057 s, 32,8 MB/s
>> tester@lubuntu-raring:~$ sudo gparted
>> ======================
>> libparted : 2.3
>> ======================
>> /dev/sdf: okänt disketikett
>> /dev/sdf: okänt disketikett
>>
>> ** (gpartedbin:2162): WARNING **: Invalid borders specified for theme
>> pixmap:
>>         /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
>> borders don't fit within the image
>>
>> ** (gpartedbin:2162): WARNING **: Invalid borders specified for theme
>> pixmap:
>>
>> /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
>> borders don't fit within the image
>>
>> ** (gpartedbin:2162): WARNING **: Invalid borders specified for theme
>> pixmap:
>>         /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
>> borders don't fit within the image
>> tester@lubuntu-raring:~$ df
>> Filsystem      1K-block  Använt Tillgängligt Anv% Monterat på
>> /dev/sda4      10744576 4217348      5981428  42% /
>> none                  4       0            4   0% /sys/fs/cgroup
>> udev             959192      12       959180   1% /dev
>> tmpfs            193480     848       192632   1% /run
>> none               5120       0         5120   0% /run/lock
>> none             967396      72       967324   1% /run/shm
>> none             102400      12       102388   1% /run/user
>> tester@lubuntu-raring:~$ usb-creator-gtk
>> tester@lubuntu-raring:~$ df
>> Filsystem      1K-block  Använt Tillgängligt Anv% Monterat på
>> /dev/sda4      10744576 4217384      5981392  42% /
>> none                  4       0            4   0% /sys/fs/cgroup
>> udev             959192      12       959180   1% /dev
>> tmpfs            193480     848       192632   1% /run
>> none               5120       0         5120   0% /run/lock
>> none             967396      72       967324   1% /run/shm
>> none             102400      12       102388   1% /run/user
>> tester@lubuntu-raring:~$ sudo fdisk -lu
>>
>> Disk /dev/sda: 320.1 GB, 320072933376 bytes
>> 255 huvuden, 63 sektorer/spår, 38913 cylindrar, totalt 625142448 sektorer
>> Enheter = sektorer av 1 · 512 = 512 byte
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Diskidentifierare: 0x730f415c
>>
>>     Enhet Start     Början        Slut     Block    Id  System
>> /dev/sda1            4094   163846934    81921420+   5  Utökad
>> /dev/sda2       163846935   583769969   209961517+  83  Linux
>> /dev/sda3       583769970   603305009     9767520   82  Linux växling /
>> Solaris
>> /dev/sda4   *   603305010   625137041    10916016   83  Linux
>> /dev/sda5        67103568   121628114    27262273+  83  Linux
>> /dev/sda6       121628178   163846934    21109378+  83  Linux
>> /dev/sda7            4096    67102719    33549312   83  Linux
>>
>> Posterna i partitionstabellen är inte i diskordning
>>
>> Disk /dev/sdf: 160.0 GB, 160041885696 bytes
>> 43 huvuden, 32 sektorer/spår, 227167 cylindrar, totalt 312581808 sektorer
>> Enheter = sektorer av 1 · 512 = 512 byte
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Diskidentifierare: 0x00073458
>>
>>     Enhet Start     Början        Slut     Block    Id  System
>> /dev/sdf1   *        2048     8388607     4193280    b  W95 FAT32
>> tester@lubuntu-raring:~$
>> -----
>> End of mail



References