help-hurd
[Top][All Lists]
Advanced

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

Re: remote debugging stubs (EXC_BAD_ACCESS)


From: Marco Gerards
Subject: Re: remote debugging stubs (EXC_BAD_ACCESS)
Date: 11 Sep 2003 23:42:16 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greg Buchholz <sleepingsquirrel@sleepingsquirrel.org> writes:

> On Wed, 10 Sep 2003, Marco Gerards wrote:
> 
> > Greg Buchholz <sleepingsquirrel@sleepingsquirrel.org> writes:
> > > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > > 0x0806c203 in _hurd_ports_use()
> >
> > Have a look at all thread and where they are.  Perhaps it isn't in
> > _hurd_ports_use, but in another thread.  "info thr" for all threads
> > and "thr 1" for thread one, etc.  Just have a look at all backtraces.
> 
>       Yeah, there's only one thread...
> 
> Attaching to program `/src/hurd/isofs/iso9660fs.static', pid 202
> 
> warning: Can't modify tracing state for pid 202: No signal thread
> [Switching to thread 202.1]
> (gdb) info threads
> * 1 thread 202.1  0x0808d2dc in mach_msg_trap ()
> (gdb) break diskfs_init_diskfs
> Breakpoint 1 at 0x804b235: file init-init.c,
> (gdb) c
> Continuing.
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x080842ad in _hurd_exit ()
> (gdb) info threads
> * 1 thread 202.1  0x080842ad in _hurd_exit ()
> (gdb) bt
> #0  0x080842ad in _hurd_exit ()
> #1  0x08084582 in _exit ()
> #2  0x0807a1d6 in exit ()
> #3  0x0808bdca in argp_state_help ()
> #4  0x0808be57 in argp_error ()
> #5  0x08060565 in parse_type (arg=0xbfffffdf "device", state=0x1fe1c,
>     parsed=0x8101688) at argp.c:292
> #6  0x0808c3be in group_parse ()
> #7  0x0808ce86 in parser_parse_opt ()
> #8  0x0808cf58 in parser_parse_next ()
> #9  0x0808d092 in argp_parse ()
> #10 0x0804b3f6 in diskfs_init_main (startup_argp=0x0, argc=7, argv=0x1ff8c,
>     store_parsed=0x80fa484, bootstrap=0x1ff08) at init-main.c:37
> #11 0x080492ad in main (argc=7, argv=0x1ff8c) at main.c:150
> #12 0x080764cc in __libc_start_main ()
> (gdb)

This is obviously a bug, but if weren't a bug your system wouldn't
work either.  Exit is called because argp can't parse the arguments
you passed to isofs.

Can you please check if your arguments are correct? ("device" looks
weird to me, can you show me more argument and related stuff?)

Thanks,
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]