Re: 1480: "bad address" instead of "argument list too"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 17, 2006 at 05:21:27PM +0000, Martin Michlmayr wrote:

> * Ralf Baechle <ralf@xxxxxxxxxxxxxx> [2006-03-17 17:02]:
> > Chances are this is caused by the return value of some syscall.  Can you
> > use strace on a shell to isolate it?
> 
> I tried, but I don't know how.  "strace echo *" immediately gives a
> "bad address" because the wildcard is evaluated before strace is
> invoked.  How can I call strace in this case?

Log into a second shell from another tty, find out the PID of the first
shell.  Then do an strace -ff -v -p <PID of first shell> in the second
shell, go back to the first shell and do your echo *.  You now should
have the interesting bits of the log in the second window.

> > Is this 32-bit software on a 64-bit kernel?

There remain corner cases to be fixed in that emulation layer even though
it's good enough for general use since a long time.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux