[Bug 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-26 Thread Martin Pitt
Copied to hardy-updates.

** Changed in: gdb (Ubuntu Hardy)
   Status: Fix Committed => Fix Released

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-12 Thread Kees Cook
I can confirm that gdb now doesn't crash and still operates as expected
in normal situations.

Before:

$ sleep 120 &
[1] 26974
$ gdb -p 26974
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Attaching to process 26974
Reading symbols from /bin/sleep...(no debugging symbols found)...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7fbac8f106e0 (LWP 26974)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
(no debugging symbols found)
0x7fbac882cb50 in nanosleep () from /lib/libc.so.6
(gdb) bt
#0  0x7fbac882cb50 in nanosleep () from /lib/libc.so.6
#1  0x00402c3b in ?? ()
#2  0x00402780 in ?? ()
#3  0x004014ee in ?? ()
#4  0x7fbac87ad1c4 in __libc_start_main () from /lib/libc.so.6
#5  0x004011b9 in ?? ()
#6  0x7fffd0f16078 in ?? ()
#7  0x in ?? ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /bin/sleep, process 26974

$ gdb $(which gdb)
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) start
Breakpoint 1 at 0x445d50
Starting program: /usr/bin/gdb 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f08a57516e0 (LWP 26956)]
[Switching to Thread 0x7f08a57516e0 (LWP 26956)]
0x00445d50 in main ()
(gdb) flushregs
Register cache flushed.
(gdb) print $pc
Segmentation fault (core dumped)


After:

$ sleep 120 &
[1] 27360
$ gdb -p 27360
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Attaching to process 27360
Reading symbols from /bin/sleep...(no debugging symbols found)...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f436b4296e0 (LWP 27360)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
(no debugging symbols found)
0x7f436ad45b50 in nanosleep () from /lib/libc.so.6
(gdb) bt
#0  0x7f436ad45b50 in nanosleep () from /lib/libc.so.6
#1  0x00402c3b in ?? ()
#2  0x00402780 in ?? ()
#3  0x004014ee in ?? ()
#4  0x7f436acc61c4 in __libc_start_main () from /lib/libc.so.6
#5  0x004011b9 in ?? ()
#6  0x7fff73430c98 in ?? ()
#7  0x in ?? ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /bin/sleep, process 27360

$ gdb $(which gdb)
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) start
Breakpoint 1 at 0x445d50
Starting program: /usr/bin/gdb 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debu

[Bug 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-10 Thread Martin Pitt
Accepted into -proposed, please test and give feedback here. Please see
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: gdb (Ubuntu Hardy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-08 Thread Kees Cook
** Changed in: gdb (Ubuntu Hardy)
   Importance: Undecided => Low
 Assignee: (unassigned) => Matthias Klose (doko)
   Status: New => In Progress

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gdb - 6.8-3ubuntu2

---
gdb (6.8-3ubuntu2) intrepid; urgency=low

  * debian/rules: on sparc, configure the 64bit build woth --disable-werror.
  * Reapply debian/patches/gdb-cvs-reinit_frame_cache.patch. LP: #196274.

 -- Matthias Klose <[EMAIL PROTECTED]>   Tue, 24 Jun 2008 15:42:23 +0200

** Changed in: gdb (Ubuntu)
   Status: New => Fix Released

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-09-08 Thread Matthias Klose
uploaded gdb_6.8-1ubuntu3 to hardy-proposed

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-06-03 Thread Greg Law
This seems to have regressed.  I confirmed it as fixed during the beta,
but I've noticed that in a fresh and updated install of 8.04 it bites
once again :-(  gdb-6.8 and gdb cvs are both ok though.

** Changed in: gdb (Ubuntu)
   Status: Fix Released => New

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-03-07 Thread Launchpad Bug Tracker
This bug was fixed in the package gdb - 6.7.1-2ubuntu2

---
gdb (6.7.1-2ubuntu2) hardy; urgency=low

  * debian/patches/gdb-cvs-reinit_frame_cache.patch: upstream fix for SEGV
when dealing with register caches (LP: #196274).

 -- Kees Cook <[EMAIL PROTECTED]>   Fri, 07 Mar 2008 09:51:58 -0800

** Changed in: gdb (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-03-07 Thread Kees Cook
Thanks for this fix!  I've pulled the other fixes and testsuite
adjustments from the gdb thread.  It should be available shortly.

** Changed in: gdb (Ubuntu)
 Assignee: (unassigned) => Kees Cook (keescook)
   Status: New => Fix Committed

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-02-28 Thread Wouter Stomp
** Changed in: gdb (Ubuntu)
Sourcepackagename: None => gdb

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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 196274] Re: gdb 6.7 can SIGSEGV when printing state

2008-02-27 Thread Greg Law

** Attachment added: "Fix as applied to the soon-to-be-released gdb 6.8"
   http://launchpadlibrarian.net/12263842/regcache_fix.patch

-- 
gdb 6.7 can SIGSEGV when printing state
https://bugs.launchpad.net/bugs/196274
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