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

Re: ifupdown: Add support for GNU/Hurd (for review)

On Mon, 2012-05-21 at 21:09 +0200, Samuel Thibault wrote:

> You are looking for "non invasive", not intrusive.
> ./hurd/debugging/gdb/noninvasive_debugging.mdwn
> in the wiki, pointing at
> http://sourceware.org/gdb/current/onlinedocs/gdb_19.html#Hurd%20Native
> That said, for inspecting a crash usually you don't need that. Just
> attach, let it continue, and on crash you get control again.
Does the pfinet process respawn after crashing, it has the same PID
before as well as after:
inetutils-ifconfig --interface lo --up
inetutils-ifconfig: SIOCSIFFLAGS failed: Computer bought the farm

And I had to use set noninvasive to tell gdb not to stop the ethernet
interface. Anyway here is a backtrace:

(gdb) bt
#0  0x0109770c in mach_msg_trap ()
at /build/buildd-eglibc_2.13-31-hurd-i386-uQnE5C/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
#1  0x01097fb8 in __mach_msg (msg=0x125ba6c, option=2, send_size=0,
rcv_size=24, rcv_name=10, timeout=0, 
    notify=0) at msg.c:122
#2  0x01056858 in cproc_block ()
at /usr/src/hurd-debian/./libthreads/cprocs.c:638
#3  0x01058741 in hurd_condition_wait (m=0x809be1c)
at /usr/src/hurd-debian/./libthreads/cancel-cond.c:86
#4  0x0808112f in interruptible_sleep_on (p=<optimized out>)
    at /usr/src/hurd-debian/./pfinet/glue-include/linux/sched.h:114
#5  S_io_select (user=0x80a4170, reply=47, reply_type=17,
    at /usr/src/hurd-debian/./pfinet/io-ops.c:283
#6  0x08086b21 in _Xio_select (OutHeadP=0x125bc30, InHeadP=0x125dc40) at
#7  _Xio_select (InHeadP=0x125dc40, OutHeadP=0x125bc30) at
#8  0x08087332 in io_server (InHeadP=0x125dc40, OutHeadP=0x125bc30) at
#9  0x0807fc25 in pfinet_demuxer (inp=0x125dc40, outp=0x125bc30)
at /usr/src/hurd-debian/./pfinet/main.c:93
#10 0x0105f155 in internal_demuxer (inp=0x125dc40, outheadp=0x125bc30)
    at /usr/src/hurd-debian/./libports/manage-multithread.c:102
#11 0x010985d6 in __mach_msg_server_timeout (demux=0x125fce8,
max_size=8192, rcv_name=16, option=2048, 
    timeout=0) at msgserver.c:109
#12 0x0105ef35 in thread_function (master=1)
at /usr/src/hurd-debian/./libports/manage-multithread.c:137
#13 0x0105f31a in ports_manage_port_operations_multithread
    demuxer=0x807fbd0 <pfinet_demuxer>, hook=0)
at /usr/src/hurd-debian/./libports/manage-multithread.c:171
#14 0x0804ae83 in main (argc=10, argv=0x125fe44)
at /usr/src/hurd-debian/./pfinet/main.c:349

Reply to: