[parted-devel] bug in parted 1.8.2 ??? [POINTED OUT]

LarryT gparted at gmail.com
Fri Mar 9 11:55:26 CET 2007


I guess nobody really care of this problem, which i can understand...

Nevertheless i found something new :
If running GParted live (compiled with parted-1.8.2) from usb drive, it 
*NEVER* crashes !
And there is no cd in any cd device !
Is it possible to pass some command in parted so it doesnt scan 
/dev/cdrom or /dev/dvdrom ?

Excuse my naive question, but i am not a dev :-/

Larry

LarryT wrote:
> Well, i had some problem with livecd so i didn't get any free time to 
> make what you did ATM.
>
> Anyway, the bug seems to be fixed, after someone reported that the 
> problem comes from parted who scans cdrom fs !
> I made tests and must say GParted doesn't crash anymore if i first 
> remove the livecd from /dev/cdrom !
>
> See here please : http://bugzilla.gnome.org/show_bug.cgi?id=415925
> Thx
>
>
> Jim Meyering wrote:
>> LarryT <gparted at gmail.com> wrote:
>>  
>>> I found the package in gentoo and currently rebuilding livecd with 
>>> valgrind.
>>> Tell me please how it works ?
>>> I must run gparted from within Terminal with some options ???
>>>     
>>
>> There's no need to recompile in order to use valgrind, but it does
>> work better (by including line numbers in stack traces) if the tools
>> you're investigating include debugging symbols.
>>
>> To use gparted under valgrind, run gparted like this from a terminal:
>>
>>     valgrind --num-callers=25 -- gparted [any gparted options]
>>
>> Be aware that using valgrind's --num-callers=25 option
>> does slow things down even more than valgrind normally does,
>> but given the size of the stack trace in the bug report,
>> it seems necessary to get the full trace.
>>
>> If you'd rather not start it from a terminal,
>> you can tell valgrind to send its log info to a file, e.g.,
>>
>>     valgrind --num-callers=25 --log-file-exactly=/tmp/vg-parted -- 
>> gparted
>>   
>

-- 
LarryT, GParted-livecd maintainer
Main site : http://gparted.sourceforge.net/
GParted forum : http://gparted-forum.surf4.info/index.php
Beta version : http://gparted.free.fr





More information about the parted-devel mailing list