[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-12 Thread Thomas Jagoditsch
FYI: 1.0-5 still crashes every reboot in karmic

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-12 Thread Matt Zimmerman
@Thomas, it's quite possible that there is more than one bug here.  If I
marked your bug as a duplicate in error, please unmark it and we will
deal with it separately.  If you haven't filed a bug at all yet, please
file it separately.

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-10 Thread Matt Zimmerman
The bug is pretty straightforward to reproduce.  It looks like an
integer overflow which will be triggered by files longer than 2GB:

Reading symbols from /sbin/sreadahead...Reading symbols from 
/usr/lib/debug/sbin/sreadahead...done.
(no debugging symbols found)...done.
(gdb) r -t1 -d --no-fork
Starting program: /sbin/sreadahead -t1 -d --no-fork
[Thread debugging using libthread_db enabled]  
Trace contained 33438 records
/etc/ld.so.cache: 1 fragment(s), 120kb, 100.0% 
[...]
/etc/libvirt/storage/default.xml: 1 fragment(s), 1kb, 100.0%

Program received signal SIGSEGV, Segmentation fault.
0x00401f3b in get_blocks (signal=value optimized out)
at sreadahead.c:315
warning: Source file is more recent than executable.
315 if (mincorebuf[i / 4096])
(gdb) print mincorebuf
$1 = value optimized out
(gdb) print i
$2 = -2147483648
[...]
(gdb) print statbuf.st_size
$6 = 4294967296
(gdb) print r-filename
$7 = /var/lib/libvirt/images/uec-cc.img, '\000' repeats 93 times

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-10 Thread Matt Zimmerman

** Changed in: sreadahead (Ubuntu)
   Status: New = Triaged

** Changed in: sreadahead (Ubuntu)
 Assignee: (unassigned) = Matt Zimmerman (mdz)

** Changed in: sreadahead (Ubuntu)
   Status: Triaged = In Progress

** Attachment added: sreadahead-414597.patch
   http://launchpadlibrarian.net/33401404/sreadahead-414597.patch

** Attachment removed: sreadahead-414597.patch
   http://launchpadlibrarian.net/33401404/sreadahead-414597.patch

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-10 Thread Matt Zimmerman

** Attachment added: sreadahead-414597.patch
   http://launchpadlibrarian.net/33401481/sreadahead-414597.patch

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-10 Thread Launchpad Bug Tracker
This bug was fixed in the package sreadahead - 1.0-5

---
sreadahead (1.0-5) karmic; urgency=low

  * Use off_t instead of int for the index used relative to statbuf.st_size
(which is off_t), to prevent an overflow on files 2GB (LP: #414597)

 -- Matt Zimmerman m...@ubuntu.com   Sat, 10 Oct 2009 12:19:26 +0100

** Changed in: sreadahead (Ubuntu)
   Status: In Progress = Fix Released

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-08 Thread Michele Mordenti
Fixed?
I still have this bug on the last image 2.6.31-12-generic #41-Ubuntu SMP Wed 
Oct 7 19:37:12 UTC 2009 x86_64 GNU/Linux

sreadahead crashed with SIGSEGV in __pause_nocancel()
dmesg:
[   78.676125] sreadahead[456]: segfault at 7f428a236010 ip 00401f3b sp 
7fff9be6a430 error 4 in sreadahead[40+3000]

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-08 Thread Øystein Viggen
Same as Michele Mordenti here:

linux-image-2.6.31-12-generic 2.6.31-12.41
sreadahead 1.0-4

Reboot shortly after running pkgsync, so had the newest packages
no.archive.ubuntu.com had to offer:

Oct  8 08:51:23 ov kernel: [   73.555208] sreadahead[595]: segfault at
7fabdb5f3010 ip 00401f3b sp 7378e070 error 4 in
sreadahead[40+3000]

Encrypted root filesystem and ext4 converted from ext3, if any of that
is at all relevant :)

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-08 Thread gzed
Same as Øystein Viggen here.

My root filesystem has also been converted from ext3

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-08 Thread Linards Ticmanis
Don't think it has to do with conversion to ext4. I'm still running ext3
and I'm affected too.

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


Re: [Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-07 Thread Peter
okay close the issue ... /p

On Wed, 2009-10-07 at 22:48 +, sheldonross wrote:
 Should this be marked fixed? I am nolonger seeing this in the latest
 images.


-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-10-07 Thread sheldonross
Should this be marked fixed? I am nolonger seeing this in the latest
images.

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-09-29 Thread Arnd
I did a debug run with ddd.
The segfault happens in get_ra_blocks() at the code snippet:

  for (i = 0; i = statbuf.st_size; i += 4096) {
 if (mincorebuf[i / 4096])
there++;
else
notthere++;
if (phase == 1  !mincorebuf[i / 4096]) {
phase = 0;
if (i  statbuf.st_size)
i = statbuf.st_size + 1;
record[rcount].offset = start;
record[rcount].len = i - 1 - start;
rcount++;
if (rcount = 4000) rcount = 4000;
} else if (phase == 0  mincorebuf[i / 4096]) {
phase = 1;
start = i;
}
}

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 414597] Re: sreadahead crashed with SIGSEGV in __pause_nocancel()

2009-09-28 Thread Stéphane Graber
** Visibility changed to: Public

-- 
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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