This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/1622: vfork; no such file; root; access rights??


The following reply was made to PR gdb/1622; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: zickzack@w84u.org
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/1622: vfork; no such file; root; access rights??
Date: Sun, 25 Apr 2004 10:30:59 -0400

 On Fri, Apr 23, 2004 at 05:43:15PM -0000, zickzack@w84u.org wrote:
 > after seting breakpoint on main, when "run", gdb exits, says no such file or directory. strace'ing it shows, that the vfork call does not work.
 > But it works when being root; so I guess it has to do with access rights. Anyway, the whole path and the file is 755.
 > The problem is observed with any file, not just this one.
 > 
 > A more detailed description (with output) was posted in the gentoo user forum; the report can be reviewed at:
 > 
 > http://forums.gentoo.org/viewtopic.php?t=164725&highlight=
 
 The strace log doesn't say the problem has anything to do with vfork. 
 The output comes from the child, some time after vfork.
 
 It looks to me like $SHELL is set to a nonexistant or broken shell.
 
 -- 
 Daniel Jacobowitz
 MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]