Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB locks up -- Cannot find new threads: generic error
@ 2005-04-27 19:01 David Lecomber
  2005-04-27 22:46 ` Daniel Jacobowitz
  0 siblings, 1 reply; 12+ messages in thread
From: David Lecomber @ 2005-04-27 19:01 UTC (permalink / raw)
  To: gdb

Hi all

I've been using an Opteron - with a 32-bit app and 32-bit GDB taken from
GDB 6.3.50.20050310, and get the aforementioned error.  I'm hoping
someone can help..

I can reproduce this, easily, every time with a short pthreads program.
The problem does *not* occur with GNU gdb Red Hat Linux
(6.1post-1.20040607.52rh)

The session is typically:

(gdb) b main
Breakpoint 1 at 0x804ed18: file
main.cpp, line 10.
(gdb) run
Starting program: a.out
warning: linux_test_for_tracefork: unexpected result from waitpid
(28261,
status 0x117f)
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error

at this point GDB does nothing and is unresponsive to any user input.  

The  system is:
kernel-2.4.21-27.EL
glibc-2.3.2-95.30


GDB's stack is:

(gdb) bt
#0 0x400bd098 in sigsuspend () from /lib/tls/libc.so.6
#1 0x080971e5 in child_wait ()
#2 0x0809359a in thread_db_init ()
#3 0x080e4695 in wait_for_inferior ()
#4 0x080e4425 in proceed ()
#5 0x0807b426 in find_default_create_inferior ()
#6 0x080e18cd in kill_if_already_running ()
#7 0x080e1a0b in kill_if_already_running ()
#8 0x080a9f1e in _initialize_cli_dump ()
#9 0x080ab8ea in cmd_func ()
#10 0x08080311 in execute_command ()
#11 0x080f0fa1 in async_disable_stdin ()
#12 0x080f13dd in async_disable_stdin ()
#13 0x081b4d25 in rl_callback_read_char ()
#14 0x080f095b in delete_timer ()
#15 0x080f0eae in stdin_event_handler ()
#16 0x080f0280 in delete_file_handler ()
#17 0x080efdc8 in standard_macro_lookup ()
#18 0x080efe10 in gdb_do_one_event ()
#19 0x080edd3b in catch_errors ()
#20 0x080efe33 in start_event_loop ()
#21 0x080785db in main ()

- and if it helps,  I turned on debug of  lin-lwp and saw:

Starting program: ./a.out
CW: waitpid 28606 received Trace/breakpoint trap (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Child exited (stopped)
CW: waitpid 28606 received Trace/breakpoint trap (stopped)
warning: linux_test_for_tracefork: unexpected result from waitpid
(28629,
status
0x117f)
CW: waitpid 28606 received Trace/breakpoint trap (stopped)
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
LLR: PTRACE_SINGLESTEP process 28606, 0 (resume event thread)
LLW: waitpid 28606 received Trace/breakpoint trap (stopped)


The example below, gcc -m32 ptest.c -lpthread, generates the issue.


#include <pthread.h>
#include <stdio.h>
#define NUM_THREADS 5

void *PrintHello(void *threadid)
{
printf("\n%d: Hello World!\n", threadid);
pthread_exit(NULL);
}

int main (int argc, char *argv[])
{
pthread_t threads[NUM_THREADS];
int rc, t;
for(t=0;t < NUM_THREADS;t++){
printf("Creating thread %d\n", t);
rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
if (rc){
printf("ERROR; return code from pthread_create() is %d\n", rc);
exit(-1);
}
}
pthread_exit(NULL);
}

Thanks
David
-- 
David Lecomber <david@allinea.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-04-27 19:01 GDB locks up -- Cannot find new threads: generic error David Lecomber
@ 2005-04-27 22:46 ` Daniel Jacobowitz
  2005-04-27 22:51   ` Andreas Schwab
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2005-04-27 22:46 UTC (permalink / raw)
  To: David Lecomber; +Cc: gdb

On Wed, Apr 27, 2005 at 07:42:37PM +0100, David Lecomber wrote:
> (gdb) b main
> Breakpoint 1 at 0x804ed18: file
> main.cpp, line 10.
> (gdb) run
> Starting program: a.out
> warning: linux_test_for_tracefork: unexpected result from waitpid
> (28261,
> status 0x117f)
> [Thread debugging using libthread_db enabled]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> 
> at this point GDB does nothing and is unresponsive to any user input.  
> 
> The  system is:
> kernel-2.4.21-27.EL
> glibc-2.3.2-95.30

At a guess, your kernel is buggered.  You really should never see that
warning.  The unexpected signal is SIGCHLD; your kernel has accepted
the SETOPTIONS but obviously failed to stop when the test thread
vforked.

> - and if it helps,  I turned on debug of  lin-lwp and saw:
> 
> Starting program: ./a.out
> CW: waitpid 28606 received Trace/breakpoint trap (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Child exited (stopped)
> CW: waitpid 28606 received Trace/breakpoint trap (stopped)
> warning: linux_test_for_tracefork: unexpected result from waitpid
> (28629,
> status
> 0x117f)
> CW: waitpid 28606 received Trace/breakpoint trap (stopped)
> [Thread debugging using libthread_db enabled]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> LLR: PTRACE_SINGLESTEP process 28606, 0 (resume event thread)
> LLW: waitpid 28606 received Trace/breakpoint trap (stopped)

So um, if the program has stopped, what does GDB think it's still
waiting for?  Might want to strace gdb (without -f, with -e
wait4,ptrace).

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-04-27 22:46 ` Daniel Jacobowitz
@ 2005-04-27 22:51   ` Andreas Schwab
  2005-04-27 23:33     ` Daniel Jacobowitz
  2005-05-03 14:25     ` David Lecomber
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Schwab @ 2005-04-27 22:51 UTC (permalink / raw)
  To: David Lecomber; +Cc: gdb

Daniel Jacobowitz <drow@false.org> writes:

> On Wed, Apr 27, 2005 at 07:42:37PM +0100, David Lecomber wrote:
>> (gdb) b main
>> Breakpoint 1 at 0x804ed18: file
>> main.cpp, line 10.
>> (gdb) run
>> Starting program: a.out
>> warning: linux_test_for_tracefork: unexpected result from waitpid
>> (28261,
>> status 0x117f)
>> [Thread debugging using libthread_db enabled]
>> Error while reading shared library symbols:
>> Cannot find new threads: generic error
>> 
>> at this point GDB does nothing and is unresponsive to any user input.  
>> 
>> The  system is:
>> kernel-2.4.21-27.EL
>> glibc-2.3.2-95.30
>
> At a guess, your kernel is buggered.  You really should never see that
> warning.  The unexpected signal is SIGCHLD; your kernel has accepted
> the SETOPTIONS but obviously failed to stop when the test thread
> vforked.

I think that can happen when the 32 bit ptrace emulation is incomplete,
especially if PTRACE_GETEVENTMSG is not properly emulated.  That should be
fixed in recent (< 9 months) kernels.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-04-27 22:51   ` Andreas Schwab
@ 2005-04-27 23:33     ` Daniel Jacobowitz
  2005-04-28  1:05       ` Andreas Schwab
  2005-05-03 14:25     ` David Lecomber
  1 sibling, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2005-04-27 23:33 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: David Lecomber, gdb

On Thu, Apr 28, 2005 at 12:46:26AM +0200, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > On Wed, Apr 27, 2005 at 07:42:37PM +0100, David Lecomber wrote:
> >> (gdb) b main
> >> Breakpoint 1 at 0x804ed18: file
> >> main.cpp, line 10.
> >> (gdb) run
> >> Starting program: a.out
> >> warning: linux_test_for_tracefork: unexpected result from waitpid
> >> (28261,
> >> status 0x117f)
> >> [Thread debugging using libthread_db enabled]
> >> Error while reading shared library symbols:
> >> Cannot find new threads: generic error
> >> 
> >> at this point GDB does nothing and is unresponsive to any user input.  
> >> 
> >> The  system is:
> >> kernel-2.4.21-27.EL
> >> glibc-2.3.2-95.30
> >
> > At a guess, your kernel is buggered.  You really should never see that
> > warning.  The unexpected signal is SIGCHLD; your kernel has accepted
> > the SETOPTIONS but obviously failed to stop when the test thread
> > vforked.
> 
> I think that can happen when the 32 bit ptrace emulation is incomplete,
> especially if PTRACE_GETEVENTMSG is not properly emulated.  That should be
> fixed in recent (< 9 months) kernels.

That's quite possible; thank you for the information.  Maybe we can
improve the test to detect the problem more easily.  Any suggestions?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-04-27 23:33     ` Daniel Jacobowitz
@ 2005-04-28  1:05       ` Andreas Schwab
  0 siblings, 0 replies; 12+ messages in thread
From: Andreas Schwab @ 2005-04-28  1:05 UTC (permalink / raw)
  To: David Lecomber; +Cc: gdb

Daniel Jacobowitz <drow@false.org> writes:

> That's quite possible; thank you for the information.  Maybe we can
> improve the test to detect the problem more easily.  Any suggestions?

That should be easy to detect, the broken kernels will store 64bit value
through the pointer passed to ptrace GETEVENTMSG.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-04-27 22:51   ` Andreas Schwab
  2005-04-27 23:33     ` Daniel Jacobowitz
@ 2005-05-03 14:25     ` David Lecomber
  2005-05-03 14:48       ` Daniel Jacobowitz
  1 sibling, 1 reply; 12+ messages in thread
From: David Lecomber @ 2005-05-03 14:25 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

> >> The  system is:
> >> kernel-2.4.21-27.EL
> >> glibc-2.3.2-95.30
> >
> > At a guess, your kernel is buggered.  You really should never see that
> > warning.  The unexpected signal is SIGCHLD; your kernel has accepted
> > the SETOPTIONS but obviously failed to stop when the test thread
> > vforked.
> 
> I think that can happen when the 32 bit ptrace emulation is incomplete,
> especially if PTRACE_GETEVENTMSG is not properly emulated.  That should be
> fixed in recent (< 9 months) kernels.

Hello Andreas,

I can reproduce this on a SuSE Opteron machine - running 2.6.8-24.13 -
and 2.6.8 came out 13th August (?).  How - other than brokenness - can I
test if this PTRACE_GETEVENTMSG is the problem?

Regards
David





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 14:25     ` David Lecomber
@ 2005-05-03 14:48       ` Daniel Jacobowitz
  2005-05-03 20:53         ` David Lecomber
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2005-05-03 14:48 UTC (permalink / raw)
  To: David Lecomber; +Cc: Andreas Schwab, gdb

On Tue, May 03, 2005 at 03:21:25PM +0100, David Lecomber wrote:
> > >> The  system is:
> > >> kernel-2.4.21-27.EL
> > >> glibc-2.3.2-95.30
> > >
> > > At a guess, your kernel is buggered.  You really should never see that
> > > warning.  The unexpected signal is SIGCHLD; your kernel has accepted
> > > the SETOPTIONS but obviously failed to stop when the test thread
> > > vforked.
> > 
> > I think that can happen when the 32 bit ptrace emulation is incomplete,
> > especially if PTRACE_GETEVENTMSG is not properly emulated.  That should be
> > fixed in recent (< 9 months) kernels.
> 
> Hello Andreas,
> 
> I can reproduce this on a SuSE Opteron machine - running 2.6.8-24.13 -
> and 2.6.8 came out 13th August (?).  How - other than brokenness - can I
> test if this PTRACE_GETEVENTMSG is the problem?

I assume your GDB is built as a 32-bit application?

If it is broken, than the result will be 64-bit despite the fact that
GDB is a 32-bit binary.  We could detect this and disable the feature,
but better still would be to detect and handle it.  All relevant code
is in linux-nat.c.

Create a type:
union event_msg {
  long l;
  long long ll;
};

Initialize LL to zero.  Pass that to ptrace instead of &second_pid. 
Check the result.  If L is non-zero, we can use that; if it isn't,
but LL is non-zero, we need to use LL.  Save the result of this test in
a global variable and update all callers.  This won't catch all cases,
depending on endianness, but it ought to work anyway.

I don't see how it's going to help x86 though.  Little endian; the
worst that would happen is a couple bytes on the stack clobbered.
The PID should be OK.

Anyway, like the attached.  Want to try it?  I left it noisy for
testing.  It seems to do the expected thing on i386.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

Index: linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-nat.c,v
retrieving revision 1.27
diff -u -p -r1.27 linux-nat.c
--- linux-nat.c	6 Mar 2005 16:42:20 -0000	1.27
+++ linux-nat.c	3 May 2005 14:48:05 -0000
@@ -109,6 +109,20 @@ static int linux_supports_tracefork_flag
 
 static int linux_supports_tracevforkdone_flag = -1;
 
+/* Normally PTRACE_GETEVENTMSG returns a long int.  But on some 64-bit
+   systems, even with 32-bit long, it will return a long long.  For
+   instance, some x86_64 kernels had broken 32-bit emulation for this
+   option.  MIPS n32 also does this.  */
+   
+union ptrace_event_msg
+{
+  long l;
+  long long ll;
+  long la[2];
+};
+
+static int linux_geteventmsg_uses_long_long = 0;
+
 \f
 /* Trivial list manipulation functions to keep track of a list of
    new stopped processes.  */
@@ -189,6 +203,7 @@ static void
 linux_test_for_tracefork (int original_pid)
 {
   int child_pid, ret, status;
+  union ptrace_event_msg event;
   long second_pid;
 
   linux_supports_tracefork_flag = 0;
@@ -247,8 +262,30 @@ linux_test_for_tracefork (int original_p
   if (ret == child_pid && WIFSTOPPED (status)
       && status >> 16 == PTRACE_EVENT_FORK)
     {
-      second_pid = 0;
-      ret = ptrace (PTRACE_GETEVENTMSG, child_pid, 0, &second_pid);
+      event.la[0] = 0;
+      event.la[1] = 0x42000000;
+      ret = ptrace (PTRACE_GETEVENTMSG, child_pid, 0, &event);
+      if (event.la[0] == 0 && event.la[1] == 0x42000000)
+	{
+	  second_pid = 0;
+	  warning ("linux_test_for_tracefork: No response");
+	}
+      else if (event.la[0] == 0 && event.la[1] != 0x42000000)
+	{
+	  linux_geteventmsg_uses_long_long = 1;
+	  second_pid = event.ll;
+	  warning ("linux_test_for_tracefork: Needed to use long long");
+	}
+      else if (event.la[0] != 0 && event.la[1] == 0x42000000)
+	{
+	  second_pid = event.l;
+	  warning ("linux_test_for_tracefork: Needed to use long, as expected");
+	}
+      else
+	{
+	  second_pid = event.l;
+	  warning ("linux_test_for_tracefork: Needed to use long, but second half was clobbered");
+	}
       if (ret == 0 && second_pid != 0)
 	{
 	  int second_status;
@@ -484,10 +521,12 @@ linux_handle_extended_wait (int pid, int
   if (event == PTRACE_EVENT_FORK || event == PTRACE_EVENT_VFORK
       || event == PTRACE_EVENT_CLONE)
     {
+      union ptrace_event_msg event_msg;
       unsigned long new_pid;
       int ret;
 
-      ptrace (PTRACE_GETEVENTMSG, pid, 0, &new_pid);
+      ptrace (PTRACE_GETEVENTMSG, pid, 0, &event_msg);
+      new_pid = linux_geteventmsg_uses_long_long ? event_msg.ll : event_msg.l;
 
       /* If we haven't already seen the new PID stop, wait for it now.  */
       if (! pull_pid_from_list (&stopped_pids, new_pid))


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 14:48       ` Daniel Jacobowitz
@ 2005-05-03 20:53         ` David Lecomber
  2005-05-03 20:55           ` Daniel Jacobowitz
  0 siblings, 1 reply; 12+ messages in thread
From: David Lecomber @ 2005-05-03 20:53 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Andreas Schwab, gdb


Sorry Dan, it didn't work:

(gdb) b main
Breakpoint 1 at 0x80484dd: file foo.c, line 15.
(gdb) r
Starting program: /users/david/a.out
warning: linux_test_for_tracefork: Needed to use long, but second half
was clobbered
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error


followed by hanging..


d.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 20:53         ` David Lecomber
@ 2005-05-03 20:55           ` Daniel Jacobowitz
  2005-05-03 21:10             ` David Lecomber
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2005-05-03 20:55 UTC (permalink / raw)
  To: David Lecomber; +Cc: Andreas Schwab, gdb

On Tue, May 03, 2005 at 09:55:23PM +0100, David Lecomber wrote:
> 
> Sorry Dan, it didn't work:
> 
> (gdb) b main
> Breakpoint 1 at 0x80484dd: file foo.c, line 15.
> (gdb) r
> Starting program: /users/david/a.out
> warning: linux_test_for_tracefork: Needed to use long, but second half
> was clobbered

Well, that's something - Andreas was right about your kernel having
this broken.  The patch may be a good idea anyway to prevent really odd
stack corruption bugs.

> Failed to read a valid object file image from memory.
> [Thread debugging using libthread_db enabled]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> 
> 
> followed by hanging..

I will need more information to help you.  Useful things: strace of
gdb, backtrace at the time of the hang, whatever else you can think of
to try...

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 20:55           ` Daniel Jacobowitz
@ 2005-05-03 21:10             ` David Lecomber
  2005-05-03 21:14               ` Daniel Jacobowitz
  0 siblings, 1 reply; 12+ messages in thread
From: David Lecomber @ 2005-05-03 21:10 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Andreas Schwab, gdb

[-- Attachment #1: Type: text/plain, Size: 2734 bytes --]

Thanks Daniel,

> I will need more information to help you.  Useful things: strace of
> gdb, backtrace at the time of the hang, whatever else you can think of
> to try...


Ok, the stack is easy:

#0  0xffffe410 in __kernel_vsyscall ()
#1  0x55628b7c in sigsuspend () from /lib/tls/libc.so.6
#2  0x08097279 in linux_nat_wait (ptid={pid = -1, lwp = 0, tid = 0},
    ourstatus=0xffffcc40) at linux-nat.c:2169
#3  0x0809359a in thread_db_wait (ptid={pid = -1, lwp = 0, tid = 0},
    ourstatus=0xffffcc40) at ../gdb/linux-thread-db.c:932
#4  0x080e4729 in wait_for_inferior () at infrun.c:998
#5  0x080e44b9 in proceed (addr=0, siggnal=TARGET_SIGNAL_0, step=0)
    at infrun.c:826
#6  0x0807b426 in find_default_create_inferior (
    exec_file=0x82a3760 "/users/david/a.out", allargs=0x82e58d0 "",
    env=0x828b848, from_tty=1) at target.c:1568
#7  0x080e1961 in run_command_1 (args=0x0, from_tty=1, tbreak_at_main=0)
    at infcmd.c:493
#8  0x080e1a9f in run_command (args=0x0, from_tty=1) at infcmd.c:500
#9  0x080a9fb2 in do_cfunc (c=0xfffffffc, args=0x0, from_tty=1)
    at ../gdb/cli/cli-decode.c:57
#10 0x080ab97e in cmd_func (cmd=0x828b3e8, args=0x0, from_tty=1)
    at ../gdb/cli/cli-decode.c:1636

But the strace was kinda painful.
david@dserver:~> strace32 -f -ogdb.strace./gdb  a.out
strace32: can't fopen 'gdb.strace./gdb': No such file or directory
david@dserver:~> strace32 -f -ogdb.strace ./gdb  a.out
GNU gdb 6.3.50.20050310
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) b main
Breakpoint 1 at 0x80484dd: file foo.c, line 15.
(gdb) r
Starting program: /users/david/a.out
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
umovestr: Input/output error
/bin/bash: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory
umovestr: Input/output error
PANIC: attached pid 13033 exited

See the attached strace log.


Anything else I can get for you while I'm there?

Cheers
David


-- 
David Lecomber <david@allinea.com>

[-- Attachment #2: gdb.strace --]
[-- Type: text/plain, Size: 32498 bytes --]

13032 execve("./gdb", ["./gdb", "a.out"], [/* 70 vars */]) = 0
13032 uname({sys="Linux", node="dserver", ...}) = 0
13032 brk(0)                            = 0x8270000
13032 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x5556c000
13032 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/tls/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/tls/i686/sse2", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/tls/i686", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/tls/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/tls/sse2", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/tls", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/i686/sse2", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/i686", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib/sse2", 0xffffc798) = -1 ENOENT (No such file or directory)
13032 open("/usr/local/ddt/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/usr/local/ddt/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 open("tls/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/etc/ld.so.cache", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0644, st_size=165085, ...}) = 0
13032 old_mmap(NULL, 165085, PROT_READ, MAP_PRIVATE, 3, 0) = 0x5556d000
13032 close(3)                          = 0
13032 open("/lib/libncurses.so.5", O_RDONLY) = 3
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\361"..., 512) = 512
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=315696, ...}) = 0
13032 old_mmap(NULL, 280140, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x55596000
13032 madvise(0x55596000, 280140, MADV_SEQUENTIAL|0x1) = 0
13032 old_mmap(0x555cf000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x38000) = 0x555cf000
13032 old_mmap(0x555da000, 1612, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x555da000
13032 close(3)                          = 0
13032 open("/usr/local/ddt/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/libm.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)
13032 open("i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
13032 open("sse2/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
13032 open("libm.so.6", O_RDONLY)       = -1 ENOENT (No such file or directory)
13032 open("/lib/tls/libm.so.6", O_RDONLY) = 3
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\0\000"..., 512) = 512
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=170563, ...}) = 0
13032 old_mmap(NULL, 137712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x555db000
13032 madvise(0x555db000, 137712, MADV_SEQUENTIAL|0x1) = 0
13032 old_mmap(0x555fc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x555fc000
13032 close(3)                          = 0
13032 open("/usr/local/ddt/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
13032 open("i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("libdl.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
13032 open("/lib/libdl.so.2", O_RDONLY) = 3
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\33\0\000"..., 512) = 512
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=13647, ...}) = 0
13032 old_mmap(NULL, 8628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x555fd000
13032 madvise(0x555fd000, 8628, MADV_SEQUENTIAL|0x1) = 0
13032 old_mmap(0x555ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x555ff000
13032 close(3)                          = 0
13032 open("/usr/local/ddt/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)
13032 open("i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
13032 open("sse2/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
13032 open("libc.so.6", O_RDONLY)       = -1 ENOENT (No such file or directory)
13032 open("/lib/tls/libc.so.6", O_RDONLY) = 3
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360U\1"..., 512) = 512
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=1349081, ...}) = 0
13032 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x55600000
13032 old_mmap(NULL, 1132940, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x55601000
13032 madvise(0x55601000, 1132940, MADV_SEQUENTIAL|0x1) = 0
13032 old_mmap(0x5570b000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10a000) = 0x5570b000
13032 old_mmap(0x55713000, 10636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x55713000
13032 close(3)                          = 0
13032 set_thread_area({entry_number:-1 -> 11, base_addr:0x55600a00, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
13032 munmap(0x5556d000, 165085)        = 0
13032 brk(0)                            = 0x8270000
13032 brk(0x8291000)                    = 0x8291000
13032 brk(0)                            = 0x8291000
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 getrusage(RUSAGE_SELF, {ru_utime={0, 999}, ru_stime={0, 1999}, ...}) = 0
13032 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
13032 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffcae4) = 0x5556d000
13032 read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
13032 read(3, "", 4096)                 = 0
13032 close(3)                          = 0
13032 munmap(0x5556d000, 4096)          = 0
13032 open("/usr/lib/locale/en_GB.UTF-8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/usr/lib/locale/en_GB.utf8/LC_MESSAGES", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 close(3)                          = 0
13032 open("/usr/lib/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0644, st_size=52, ...}) = 0
13032 mmap2(NULL, 52, PROT_READ, MAP_PRIVATE, 3, 0xffffcd90) = 0x5556d000
13032 close(3)                          = 0
13032 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/usr/lib/gconv/gconv-modules", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/usr/lib/locale/en_GB.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/usr/lib/locale/en_GB.utf8/LC_CTYPE", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0644, st_size=208464, ...}) = 0
13032 mmap2(NULL, 208464, PROT_READ, MAP_PRIVATE, 3, 0xffffcdd8) = 0x55716000
13032 close(3)                          = 0
13032 brk(0)                            = 0x8291000
13032 getcwd("/users/david", 1024)      = 13
13032 getcwd("/users/david", 1024)      = 13
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 getuid32()                        = 1009
13032 geteuid32()                       = 1009
13032 getgid32()                        = 100
13032 getegid32()                       = 100
13032 getuid32()                        = 1009
13032 geteuid32()                       = 1009
13032 getuid32()                        = 1009
13032 geteuid32()                       = 1009
13032 getgid32()                        = 100
13032 getegid32()                       = 100
13032 getuid32()                        = 1009
13032 geteuid32()                       = 1009
13032 getuid32()                        = 1009
13032 setfsuid32(1009)                  = 1009
13032 getgid32()                        = 100
13032 setfsgid32(100)                   = 100
13032 access("/users/david/.terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory)
13032 geteuid32()                       = 1009
13032 setfsuid32(1009)                  = 1009
13032 getegid32()                       = 100
13032 setfsgid32(100)                   = 100
13032 getuid32()                        = 1009
13032 setfsuid32(1009)                  = 1009
13032 getgid32()                        = 100
13032 setfsgid32(100)                   = 100
13032 access("/usr/share/terminfo/x/xterm", R_OK) = 0
13032 open("/usr/share/terminfo/x/xterm", O_RDONLY) = 3
13032 read(3, "\32\0010\0\35\0\17\0i\1\0\5", 12) = 12
13032 read(3, "xterm|xterm terminal emulator (X"..., 48) = 48
13032 read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 29) = 29
13032 read(3, "\0", 1)                  = 1
13032 read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"..., 30) = 30
13032 read(3, "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 722) = 722
13032 read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1280) = 1280
13032 read(3, "", 10)                   = 0
13032 close(3)                          = 0
13032 geteuid32()                       = 1009
13032 setfsuid32(1009)                  = 1009
13032 getegid32()                       = 100
13032 setfsgid32(100)                   = 100
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(1, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 open("/usr/local/ddt/lib/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/sse2/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/i686/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/sse2/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("tls/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/sse2/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("i686/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("sse2/libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("libthread_db.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 open("/etc/ld.so.cache", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0644, st_size=165085, ...}) = 0
13032 old_mmap(NULL, 165085, PROT_READ, MAP_PRIVATE, 3, 0) = 0x55749000
13032 close(3)                          = 0
13032 open("/lib/tls/libthread_db.so.1", O_RDONLY) = 3
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\23\0\000"..., 512) = 512
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=25758, ...}) = 0
13032 old_mmap(NULL, 23592, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x55772000
13032 madvise(0x55772000, 23592, MADV_SEQUENTIAL|0x1) = 0
13032 old_mmap(0x55777000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x55777000
13032 close(3)                          = 0
13032 munmap(0x55749000, 165085)        = 0
13032 rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
13032 rt_sigaction(SIGCHLD, {0x80984a0, [], 0}, NULL, 8) = 0
13032 rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
13032 brk(0)                            = 0x8291000
13032 brk(0x82b2000)                    = 0x82b2000
13032 rt_sigaction(SIGINT, {0x80f1950, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTRAP, {SIG_DFL}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGQUIT, {0x80f19a0, [QUIT], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGHUP, {0x80f19cc, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGFPE, {0x80f1ac8, [FPE], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 poll([{fd=0, events=POLLIN}], 1, 0) = 0
13032 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 90), ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffcd98) = 0x55749000
13032 write(1, "GNU gdb 6.3.50.20050310\n", 24) = 24
13032 write(1, "Copyright 2004 Free Software Fou"..., 46) = 46
13032 write(1, "GDB is free software, covered by"..., 77) = 77
13032 write(1, "welcome to change it and/or dist"..., 78) = 78
13032 write(1, "Type \"show copying\" to see the c"..., 43) = 43
13032 write(1, "There is absolutely no warranty "..., 76) = 76
13032 write(1, "This GDB was configured as \"i686"..., 49) = 49
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 open("/users/david/.gdbinit", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 stat64("/users/david/.gdbinit", 0xffffcf6c) = -1 ENOENT (No such file or directory)
13032 stat64(".gdbinit", 0xffffcf6c)    = -1 ENOENT (No such file or directory)
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 stat64("a.out", {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 open("a.out", O_RDONLY)           = 3
13032 lstat64("/users", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 lstat64("/users/david", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 fcntl64(3, F_GETFL)               = 0 (flags O_RDONLY)
13032 fcntl64(3, F_GETFL)               = 0 (flags O_RDONLY)
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffcd64) = 0x5574a000
13032 _llseek(3, 0, [0], SEEK_CUR)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 close(3)                          = 0
13032 munmap(0x5574a000, 4096)          = 0
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 stat64("a.out", {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 open("a.out", O_RDONLY)           = 3
13032 lstat64("/users", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 lstat64("/users/david", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
13032 fcntl64(3, F_GETFL)               = 0 (flags O_RDONLY)
13032 fcntl64(3, F_GETFL)               = 0 (flags O_RDONLY)
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffcce4) = 0x5574a000
13032 _llseek(3, 0, [0], SEEK_CUR)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 brk(0)                            = 0x82b2000
13032 brk(0x82d3000)                    = 0x82d3000
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 read(3, "\0\0\0\0\0\0\0\0\4\0\361\377\232\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 1978
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 open("/etc/mtab", O_RDONLY)       = 4
13032 fstat64(4, {st_mode=S_IFREG|0644, st_size=584, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffa6d0) = 0x5574b000
13032 read(4, "/dev/sda3 / ext3 rw,acl,user_xat"..., 4096) = 584
13032 close(4)                          = 0
13032 munmap(0x5574b000, 4096)          = 0
13032 open("/proc/meminfo", O_RDONLY)   = 4
13032 fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffab38) = 0x5574b000
13032 read(4, "MemTotal:      2062296 kB\nMemFre"..., 1024) = 646
13032 close(4)                          = 0
13032 munmap(0x5574b000, 4096)          = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 _llseek(3, 8192, [8192], SEEK_SET) = 0
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 4096) = 4096
13032 write(1, "Using host libthread_db library "..., 62) = 62
13032 close(3)                          = 0
13032 munmap(0x5574a000, 4096)          = 0
13032 write(1, "\n", 1)                 = 1
13032 open("/users/david/.gdb_history", O_RDONLY) = -1 ENOENT (No such file or directory)
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, TIOCSWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 stat64("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=5162, ...}) = 0
13032 open("/etc/inputrc", O_RDONLY)    = 3
13032 read(3, "################################"..., 5162) = 5162
13032 close(3)                          = 0
13032 brk(0)                            = 0x82d3000
13032 brk(0x82f4000)                    = 0x82f4000
13032 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
13032 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, TIOCSWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
13032 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13032 rt_sigaction(SIGINT, {0x81b2d8c, [], 0}, {0x80f1950, [INT], SA_RESTART}, 8) = 0
13032 rt_sigaction(SIGTERM, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGQUIT, {0x81b2d8c, [], 0}, {0x80f19a0, [QUIT], SA_RESTART}, 8) = 0
13032 rt_sigaction(SIGALRM, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTSTP, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTTOU, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTTIN, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGWINCH, {0x81b2e14, [], 0}, {SIG_DFL}, 8) = 0
13032 write(1, "(gdb) ", 6)             = 6
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "b", 1)                   = 1
13032 write(1, "b", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, " ", 1)                   = 1
13032 write(1, " ", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "m", 1)                   = 1
13032 write(1, "m", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "a", 1)                   = 1
13032 write(1, "a", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "i", 1)                   = 1
13032 write(1, "i", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "n", 1)                   = 1
13032 write(1, "n", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "\r", 1)                  = 1
13032 write(1, "\n", 1)                 = 1
13032 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
13032 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
13032 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13032 rt_sigaction(SIGINT, {0x80f1950, [INT], SA_RESTART}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTERM, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGQUIT, {0x80f19a0, [QUIT], SA_RESTART}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGALRM, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTTOU, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTTIN, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGWINCH, {SIG_DFL}, {0x81b2e14, [], 0}, 8) = 0
13032 rt_sigaction(SIGTSTP, {0x80f1a28, [TSTP], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x80f1a28, [TSTP], SA_RESTART}, 8) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 getrusage(RUSAGE_SELF, {ru_utime={0, 4999}, ru_stime={0, 6998}, ...}) = 0
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 open("/users/david/a.out", O_RDONLY) = 3
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0xffffc4c8) = 0x5574a000
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 read(3, "\23\5\0\0\0S\0\0\0\2\0/\0\0\0\1\1\373\16\n\0\1\1\1\1\0"..., 1266) = 1266
13032 _llseek(3, 0, [0], SEEK_SET)      = 0
13032 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360\203"..., 4096) = 4096
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 _llseek(3, 4096, [4096], SEEK_SET) = 0
13032 write(1, "Breakpoint 1 at 0x80484dd: file "..., 48) = 48
13032 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
13032 ioctl(0, TIOCGWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, TIOCSWINSZ, {ws_row=48, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
13032 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13032 rt_sigaction(SIGINT, {0x81b2d8c, [], 0}, {0x80f1950, [INT], SA_RESTART}, 8) = 0
13032 rt_sigaction(SIGTERM, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGQUIT, {0x81b2d8c, [], 0}, {0x80f19a0, [QUIT], SA_RESTART}, 8) = 0
13032 rt_sigaction(SIGALRM, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTSTP, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTTOU, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTTIN, {0x81b2d8c, [], 0}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGWINCH, {0x81b2e14, [], 0}, {SIG_DFL}, 8) = 0
13032 write(1, "(gdb) ", 6)             = 6
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "r", 1)                   = 1
13032 write(1, "r", 1)                  = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, -1) = 1
13032 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
13032 read(0, "\r", 1)                  = 1
13032 write(1, "\n", 1)                 = 1
13032 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
13032 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
13032 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13032 rt_sigaction(SIGINT, {0x80f1950, [INT], SA_RESTART}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTERM, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGQUIT, {0x80f19a0, [QUIT], SA_RESTART}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGALRM, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTTOU, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGTTIN, {SIG_DFL}, {0x81b2d8c, [], 0}, 8) = 0
13032 rt_sigaction(SIGWINCH, {SIG_DFL}, {0x81b2e14, [], 0}, 8) = 0
13032 rt_sigaction(SIGTSTP, {0x80f1a28, [TSTP], SA_RESTART}, {SIG_DFL}, 8) = 0
13032 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x80f1a28, [TSTP], SA_RESTART}, 8) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
13032 getrusage(RUSAGE_SELF, {ru_utime={0, 4999}, ru_stime={0, 6998}, ...}) = 0
13032 fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 stat64("/users/david/a.out", {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 stat64("/users/david/a.out", {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0
13032 write(1, "Starting program: /users/david/a"..., 38) = 38
13032 vfork()                           = 13033
13033 getpid( <unfinished ...>
13032 waitpid(-1,  <unfinished ...>
13033 <... getpid resumed> )            = 13033
13033 getpid()                          = 13033
13033 setpgid(13033, 13033)             = 0
13033 ptrace(PTRACE_TRACEME, 0, 0, 0)   = -1 EPERM (Operation not permitted)
13033 execve("/bin/bash", ["/bin/bash", "-c", "exec /users/david/a.out "], [/* 72 vars */]) = 0
13033 dup2(-1073746736, -1)             = 0
13033 chdir(0xbfffecd0)                 = 5808128
13033 link(0x1000, 0xffffffff)          = -1789485056
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(0, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(1, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(2, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(3, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(0, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(1, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(2, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(3, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(0, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(1, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(2, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 fork()                            = -1 EFAULT (Bad address)
13033 write(3, 0xffffffff, 3221218496)  = -1 ENOENT (No such file or directory)
13033 getpid()                          = 125
13033 fgetxattr(0, 0xffffffff

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 21:10             ` David Lecomber
@ 2005-05-03 21:14               ` Daniel Jacobowitz
  2005-05-03 23:26                 ` David Lecomber
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Jacobowitz @ 2005-05-03 21:14 UTC (permalink / raw)
  To: David Lecomber; +Cc: Andreas Schwab, gdb

On Tue, May 03, 2005 at 10:11:54PM +0100, David Lecomber wrote:
> david@dserver:~> strace32 -f -ogdb.strace./gdb  a.out
> strace32: can't fopen 'gdb.strace./gdb': No such file or directory
> david@dserver:~> strace32 -f -ogdb.strace ./gdb  a.out
> GNU gdb 6.3.50.20050310

Please try again without -f.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GDB locks up -- Cannot find new threads: generic error
  2005-05-03 21:14               ` Daniel Jacobowitz
@ 2005-05-03 23:26                 ` David Lecomber
  0 siblings, 0 replies; 12+ messages in thread
From: David Lecomber @ 2005-05-03 23:26 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Andreas Schwab, gdb

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

On Tue, 2005-05-03 at 17:14 -0400, Daniel Jacobowitz wrote:
> On Tue, May 03, 2005 at 10:11:54PM +0100, David Lecomber wrote:
> > david@dserver:~> strace32 -f -ogdb.strace./gdb  a.out
> > strace32: can't fopen 'gdb.strace./gdb': No such file or directory
> > david@dserver:~> strace32 -f -ogdb.strace ./gdb  a.out
> > GNU gdb 6.3.50.20050310
> 
> Please try again without -f.

Zipped up this time to get round the file limit on the group,

d.

[-- Attachment #2: gdb.strace.gz --]
[-- Type: application/x-gzip, Size: 11529 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-05-03 23:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27 19:01 GDB locks up -- Cannot find new threads: generic error David Lecomber
2005-04-27 22:46 ` Daniel Jacobowitz
2005-04-27 22:51   ` Andreas Schwab
2005-04-27 23:33     ` Daniel Jacobowitz
2005-04-28  1:05       ` Andreas Schwab
2005-05-03 14:25     ` David Lecomber
2005-05-03 14:48       ` Daniel Jacobowitz
2005-05-03 20:53         ` David Lecomber
2005-05-03 20:55           ` Daniel Jacobowitz
2005-05-03 21:10             ` David Lecomber
2005-05-03 21:14               ` Daniel Jacobowitz
2005-05-03 23:26                 ` David Lecomber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox