[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-17 Thread Gerhard Schneider
compiling and solving the rpc_pipefs problem.

Thank you!
   GS

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-17 Thread Vassilis Pandis
Here's a patch that is hopefully OK. I'm not sure if I took the debian
patches under consideration correctly, but to apply:

apt-get source gnome-system-tools
cd gnome-system-tools-2.14.0/
dpkg-buildpackage -rfakeroot
cat ~/gst.patch | patch -p0
make


in src/disks/ resides your binary. I'm not very good at packaging so I don't 
know if I did create the patch correctly. At any rate the changes to the code 
are minor and Sebastien can easily fix it himself :-)

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-17 Thread Vassilis Pandis
Ooops, sorry yes. I added that g_strlen() call manually afterwards (I
was pretty sure glib would have such a function for consistency :-) when
I noticed that there may be a possibility of a buffer overrun (to fix
the crash, only changing the position of the +4 was neccessary). I'll
provide a corrected patch in a few hours.

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Gerhard Schneider
Sorry, not compiling.

What is g_strlen (and where is it)?

One bracket is missing, too..

  GS

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Vassilis Pandis
** Changed in: gnome-system-tools (Ubuntu)
   Importance: Untriaged => Medium

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Vassilis Pandis
This patch fixes it for me. It will also fix the case of a malformed
"device" (which I think is when you specify something like /dev/aa0 in
fstab, i.e. not without four chars after the last '/').

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Vassilis Pandis
** Changed in: gnome-system-tools (Ubuntu)
   Status: Needs Info => Confirmed

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Vassilis Pandis
True - AFAIK you can't use the e-mail interface to add attachments, yet.

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: [Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Gerhard Schneider
Vassilis Pandis wrote:
> Thanks for reporting this. Can you please get a backtrace of gnome-
> system-tools by following the procedures described at
> http://wiki.ubuntu.com/DebuggingProgramCrash? Thanks...
> 
> ** Changed in: gnome-system-tools (Ubuntu)
>Status: Unconfirmed => Needs Info
> 
here it goes..

  GS

-- 
Gerhard Schneider
Institute of Lightweight Design and  e-Mail:[EMAIL PROTECTED]
Structural Biomechanics (E317) Tel.:   +43 1 58801 31716
Vienna University of Technology / Austria  Fax:+43 1 58801 31799
A-1040 Wien, Gusshausstrasse 27-29 http://www.ilsb.tuwien.ac.at/~gs/

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Gerhard Schneider
launchpad ate the attachment..

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 56560] Re: dapper disks-admin crashes on rpc_pipefs

2006-08-16 Thread Vassilis Pandis
Thanks for reporting this. Can you please get a backtrace of gnome-
system-tools by following the procedures described at
http://wiki.ubuntu.com/DebuggingProgramCrash? Thanks...

** Changed in: gnome-system-tools (Ubuntu)
   Status: Unconfirmed => Needs Info

-- 
dapper disks-admin crashes on rpc_pipefs
https://launchpad.net/bugs/56560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs