[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2013-05-19 Thread Bug Watch Updater
** Changed in: gdb (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists To m

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-27 Thread Launchpad Bug Tracker
This bug was fixed in the package gdb - 7.5-0ubuntu3 --- gdb (7.5-0ubuntu3) raring; urgency=low * Remove excessive fclose in gdbinit patch (LP: #1069897) -- d...@treblig.org (Dr. David Alan Gilbert) Sat, 24 Nov 2012 16:54:53 + ** Changed in: gdb (Ubuntu) Status: Fix C

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/gdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists To manage notificat

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-27 Thread Sebastien Bacher
** Changed in: gdb (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-26 Thread James Hunt
I agree with Dave's comments in #3. However, taking a closer look at gdb/cli/cli-cmds.c, I think further changes need to be made to remove all possibility of a crash. The behaviour of source_script_with_search() looks rather unusual in the para-phrased snippet below (my comments prefixed by '/* XX

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-25 Thread Bug Watch Updater
** Changed in: gdb (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists To manage

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-24 Thread Dave Gilbert
** Bug watch added: Debian Bug tracker #694256 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694256 ** Also affects: gdb (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694256 Importance: Unknown Status: Unknown -- You received this bug notification because you a

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-24 Thread Dave Gilbert
This looks to me as a bug in a debian specific patch; see debian/patches/gdbinit-ownership.patch + warning ("not using untrusted file \"%s\"", file); + fclose (stream); + do_cleanups (old_cleanups); + return; As far as I can tell from the weird cleanup system, the

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-24 Thread Dave Gilbert
My full backtrace on this (quantal 64bit): #0 0x7f8710ffe425 in __GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = 0 pid = selftid = 9345 #1 0x7f8711001b8b in __GI_abort () at abort.c:91 save_stage = 2 act = {__sigaction_h

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-11-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gdb (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb cr

[Bug 1069897] Re: gdb crashes on startup if run as root via sudo and ~/.gdbinit exists

2012-10-25 Thread Brian Murray
** Tags added: quantal ** Changed in: gdb (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069897 Title: gdb crashes on startup if run as root via sudo and