Mailinglist Archive: opensuse-bugs (15878 mails)
| < Previous | Next > |
[Bug 299806] New: gdb prints random characters when debugged process terminates unexpectedly
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 13 Aug 2007 08:34:17 -0600 (MDT)
- Message-id: <bug-299806-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=299806
Summary: gdb prints random characters when debugged process
terminates unexpectedly
Product: openSUSE 10.3
Version: Alpha 6
Platform: x86-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: schwab@xxxxxxxxxx
ReportedBy: ptesarik@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: L3
Hi Andreas!
While debugging a different issue, I found the following bug in gdb
(6.6.50.20070726-7). I wrote a simple program:
int main(int argc, char **argv)
{
puts"Hello world!\n");
}
Now, I compiled it with debugging info (-ggdb) and ran gdb on it. I start it
(using "start") and the process stops at main(). Now, from another terminal I
send the debugged process a SIGKILL. The process becomes a zombie. When I try
to step the (now defunct) process, gdb fails like this:
(gdb) s
main (argc=Cannot access memory at address 0x7fffc691045c
) at hello.c:5
5 printf("%s: Hello world!\n", argv[0]);
0,�
In particular, look at the last line. It is a random string which changes which
each invokation of "step".
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: gdb prints random characters when debugged process
terminates unexpectedly
Product: openSUSE 10.3
Version: Alpha 6
Platform: x86-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: schwab@xxxxxxxxxx
ReportedBy: ptesarik@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: L3
Hi Andreas!
While debugging a different issue, I found the following bug in gdb
(6.6.50.20070726-7). I wrote a simple program:
int main(int argc, char **argv)
{
puts"Hello world!\n");
}
Now, I compiled it with debugging info (-ggdb) and ran gdb on it. I start it
(using "start") and the process stops at main(). Now, from another terminal I
send the debugged process a SIGKILL. The process becomes a zombie. When I try
to step the (now defunct) process, gdb fails like this:
(gdb) s
main (argc=Cannot access memory at address 0x7fffc691045c
) at hello.c:5
5 printf("%s: Hello world!\n", argv[0]);
0,�
In particular, look at the last line. It is a random string which changes which
each invokation of "step".
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |