Processed: Re: Bug#391127: mondo: Segmentation fault after selecting CDRW size

2006-10-05 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 391127 + confirmed, patch, pending
Bug#391127: mondo: Segmentation fault after selecting CDRW size
There were no tags set.
Tags added: confirmed, patch, pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#391127: mondo: Segmentation fault after selecting CDRW size

2006-10-05 Thread Andree Leidenfrost
tags 391127 + confirmed, patch, pending
thanks


Hi Tim,

Thanks a lot for your bug report!

I have reproduced the issue. The problem is that a text string is too
long and the code doesn't handle this properly. I have addressed this by
replacing strcpy() with strncpy() and by shortening the offending string
accordingly.

The attached fix will be in the next package version.

Best regards,
Andree
-- 
Andree Leidenfrost
@ Debian Developer
Sydney - Australia



mondo_2.09-3_#391127.diff
Description: Binary data


signature.asc
Description: This is a digitally signed message part


Bug#391127: mondo: Segmentation fault after selecting CDRW size

2006-10-04 Thread Tim Caulder
Package: mondo
Version: 2.09-3
Severity: grave
Justification: renders package unusable

with CDRW selected and  accepting the defaults, mondoarchive segfaults 
after accepting default size (650) 

-- Package-specific info:

Contents of /var/log/mindi.log:

mindi v1.0.9-r762
i686 architecture detected
mindi called with the following arguments:
--makemountlist /tmp/mountlist.txt.test
MINDI_LIB = /usr/lib/mindi
MINDI_SBIN = /usr/sbin
MINDI_CONF = /etc/mindi
MONDO_SHARE = /usr/share/mondo
Found isolinux.bin at /usr/lib/syslinux/isolinux.bin
lilo.real found; will be used instead of lilo (*grumble* *mutter*)
Your raw fstab file looks like this:-
# /etc/fstab: static file system information.
#
# file system mount point   type   options  dump  pass
proc/proc   proc defaults0   0
/dev/sda5   /   xfs  defaults0   1
/dev/sda7   /home   xfs  defaults0   2
/dev/sda6   /varxfs  defaults0   2
/dev/scd0   /mnt/cdrw   iso9660  ro,user,noauto,nosuid   0   0
/var/swap   noneswap sw  0   0
/dev/sda2   /mnt/winxp  captive-ntfs defaults,noauto 0   0
--- /usr/sbin/parted2fdisk -l proc log 
--- /usr/sbin/parted2fdisk log end 
--- /usr/sbin/parted2fdisk -l /dev/sda5 log 
--- /usr/sbin/parted2fdisk log end 
Examining /dev/sda5 (mount=/ fmt=xfs psz=3903763)
--- /usr/sbin/parted2fdisk -l /dev/sda7 log 
--- /usr/sbin/parted2fdisk log end 
Examining /dev/sda7 (mount=/home fmt=xfs psz=35656236)
--- /usr/sbin/parted2fdisk -l /dev/sda6 log 
--- /usr/sbin/parted2fdisk log end 
Examining /dev/sda6 (mount=/var fmt=xfs psz=2192841)
--- /usr/sbin/parted2fdisk -l /var/swap log 
--- /usr/sbin/parted2fdisk log end 

=

Contents of /var/log/mondo-archive.log:

running: dmesg -n1  /tmp/mondo-run-prog-thing.tmp 2 
/tmp/mondo-run-prog-thing.err
start of output-
end of output--
ran just fine. :-)
Mondo Archive v2.0.9-762 --- http://www.mondorescue.org
running on i386 architecture
---
NB: Mondo logs almost everything, so don't panic if you see
some error messages.  Please read them carefully before you
decide to break out in a cold sweat.Despite (or perhaps
because of) the wealth of messages. some users are inclined
to stop reading this log. If Mondo stopped for some reason,
chances are it's detailed here.  More than likely there's a
message at the very end of this log that will tell you what
is wrong. Please read it!  -Devteam
---
Zero...
[Main] main.c-welcome_to_mondoarchive#179: One...
[Main] main.c-welcome_to_mondoarchive#180: Two...
[Main] main.c-welcome_to_mondoarchive#181: Three...
[Main] main.c-welcome_to_mondoarchive#182: Four...
[Main] main.c-distro_specific_kludges_at_start_of_mondoarchive#199: 
Unmounting old ramdisks if necessary
running: umount `mount | grep shm | grep mondo | cut -d' ' -f3`  
/tmp/mondo-run-prog-thing.tmp 2 /tmp/mondo-run-prog-thing.err
start of output-
Usage: umount [-hV]
umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
umount [-f] [-r] [-n] [-v] special | node...
end of output--
ran with res=512
running: mount | grep cdrom | grep super  /tmp/mondo-run-prog-thing.tmp 2 
/tmp/mondo-run-prog-thing.err
start of output-
end of output--
ran with res=256
running: mount | grep floppy | grep super  /tmp/mondo-run-prog-thing.tmp 2 
/tmp/mondo-run-prog-thing.err
start of output-
end of output--
ran with res=256
[Main] libmondo-tools.c-mount_boot_if_necessary#1393: Started sub
[Main] libmondo-tools.c-mount_boot_if_necessary#1394: 
About to set g_boot_mountpt[0] to '\0'
[Main] libmondo-tools.c-mount_boot_if_necessary#1396: 
Done. Great. Seeting command to something
[Main] libmondo-tools.c-mount_boot_if_necessary#1399: 
Cool. Command = 'grep -v : /etc/fstab | grep -vx #.* | grep -w /boot | tr 
-s ' ' ' ' | cut -f1 | head -n1'
[Main]