bug-hurd
[Top][All Lists]
Advanced

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

Re: [Bug hurd/24110] SS_DISABLE never set in stack_t value returned by s


From: Svante Signell
Subject: Re: [Bug hurd/24110] SS_DISABLE never set in stack_t value returned by sigaltstack
Date: Mon, 28 Jan 2019 20:27:48 +0100
User-agent: Evolution 3.30.4-1

On Mon, 2019-01-28 at 20:24 +0100, Samuel Thibault wrote:
> Svante Signell, le lun. 28 janv. 2019 20:23:38 +0100, a ecrit:
> > On Mon, 2019-01-28 at 20:18 +0100, Samuel Thibault wrote:
> > > It's odd to have this all to 0... Do you have a backtrace to have an
> > > idea how we end up here?
> > 
> > See next email.
> 
> A backtrace would still be useful :)
> 
> (it's basically level 0 of debugging)

(gdb) thread apply all bt full

Thread 7 (Thread 4528.12):
#0  entry_point (self=0x66005e0, start_routine=0x1ab2100
<stack_split_initialize_thread>, arg=0x80580c0)
    at pt-create.c:48
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 4528.11):
#0  0x022842ac in mach_msg_trap ()
    at /part2/DEBs/glibc.test/glibc-2.28/build-tree/hurd-i386-
libc/mach/mach_msg_trap.S:2
No locals.
#1  0x02284a56 in __GI___mach_msg (msg=0x4007d94, option=1282, send_size=0,
rcv_size=40, rcv_name=164, timeout=1, 
    notify=0) at msg.c:111
        ret = <optimized out>
#2  0x0228c7ee in _hurd_select (nfds=0, pollfds=0x0, readfds=0x0, writefds=0x0,
exceptfds=0x0, timeout=0x4007e64, 
    sigmask=0x0) at hurdselect.c:475
        msg = {head = {msgh_bits = 1548702877, msgh_size = 778450,
msgh_remote_port = 26894625, {
              msgh_local_port = 34768640, msgh_protected_payload = 34768640},
msgh_seqno = 274440, 
            msgh_id = 37470773}, error = {head = {msgh_bits = 1548702877,
msgh_size = 778450, 
              msgh_remote_port = 26894625, {msgh_local_port = 34768640,
msgh_protected_payload = 34768640}, 
              msgh_seqno = 274440, msgh_id = 37470773}, err_type = {type =
{msgt_name = 153, msgt_size = 96, 
                msgt_number = 410, msgt_inline = 0, msgt_longform = 0,
msgt_deallocate = 0, msgt_unused = 0}, 
              word = 26894489}, err = 34492416}, success = {head = {msgh_bits =
1548702877, msgh_size = 778450, 
---Type <return> to continue, or q <return> to quit---
              msgh_remote_port = 26894625, {msgh_local_port = 34768640,
msgh_protected_payload = 34768640}, 
              msgh_seqno = 274440, msgh_id = 37470773}, err_type = {type =
{msgt_name = 153, msgt_size = 96, 
                msgt_number = 410, msgt_inline = 0, msgt_longform = 0,
msgt_deallocate = 0, msgt_unused = 0}, 
              word = 26894489}, err = 34492416, result_type = {type = {msgt_name
= 56, msgt_size = 12, 
                msgt_number = 4, msgt_inline = 0, msgt_longform = 0,
msgt_deallocate = 0, msgt_unused = 0}, 
              word = 265272}, result = 0}}
        options = 256
        msgerr = <optimized out>
        i = <optimized out>
        portset = 164
        got = 0
        ready = 0
        err = ESUCCESS
        rfds = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}}
        wfds = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}}
        xfds = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}}
        firstfd = <optimized out>
        lastfd = <optimized out>
        reply_msgid = 21131
        to = 1
        ts = <optimized out>
        d = 0x4007d20
        oset = 17917536
        __PRETTY_FUNCTION__ = "_hurd_select"
---Type <return> to continue, or q <return> to quit---
#3  0x023ae91b in __GI___select (nfds=0, readfds=0x0, writefds=0x0,
exceptfds=0x0, timeout=0x4007ea8)
    at ../sysdeps/mach/hurd/select.c:42
        ts = {tv_sec = 0, tv_nsec = 20000}
        to = <optimized out>
#4  0x01520e5a in runtime.usleep (us=20) at
../../../src/libgo/runtime/yield.c:58
        tv = {tv_sec = 0, tv_usec = 20}
#5  0x019ba860 in runtime.sysmon () at
../../../src/libgo/go/runtime/proc.go:4031
        lastpoll = <optimized out>
        now = <optimized out>
        scavengelimit = 300000000000
        lastscavenge = 1548702877778450000
        nscavenge = <optimized out>
        lasttrace = <optimized out>
        idle = <optimized out>
        delay = 20
#6  0x019c631a in runtime.mstart1 () at
../../../src/libgo/go/runtime/proc.go:1216
        fn = <optimized out>
        _g_ = 0x20400f00
#7  0x01520220 in runtime_mstart (arg=0x2041c000) at
../../../src/libgo/runtime/proc.c:614
        mp = 0x2041c000
        gp = 0x20400f00
#8  0x024b094f in entry_point (self=<optimized out>, start_routine=<optimized
out>, arg=<optimized out>)
    at pt-create.c:62
No locals.
---Type <return> to continue, or q <return> to quit---
#9  0x00000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 4528.10):
#0  0x022842ac in mach_msg_trap ()
    at /part2/DEBs/glibc.test/glibc-2.28/build-tree/hurd-i386-
libc/mach/mach_msg_trap.S:2
No locals.
#1  0x02284a56 in __GI___mach_msg (msg=0x3804f00, option=3, send_size=32,
rcv_size=4096, rcv_name=87, timeout=0, 
    notify=0) at msg.c:111
        ret = <optimized out>
#2  0x02285058 in __mach_msg_server_timeout (demux=0x22999f0 <msgport_server>,
max_size=4096, rcv_name=87, option=0, 
    timeout=0) at msgserver.c:150
        request = 0x3804f00
        reply = 0x3805f10
        mr = 0
        __PRETTY_FUNCTION__ = "__mach_msg_server_timeout"
        tmp = <optimized out>
#3  0x02285144 in __mach_msg_server (demux=0x22999f0 <msgport_server>,
max_size=4096, rcv_name=87) at msgserver.c:195
No locals.
#4  0x02299ade in _hurd_msgport_receive () at msgportdemux.c:67
No locals.
#5  0x024b094f in entry_point (self=<optimized out>, start_routine=<optimized
out>, arg=<optimized out>)
    at pt-create.c:62
No locals.
---Type <return> to continue, or q <return> to quit---
#6  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 4528.9):
#0  runtime.sigtramp (sig=20, info=0x659551c, context=0x6595328) at
../../../src/libgo/runtime/go-signal.c:108
        gp = 0x20484a00
        stack_context = {0x6396000, 0x6396000, 0x6595198, 0x639641c, 0x0, 0x0,
0x1, 0x0, 0x0, 0x0}
        stack = 0x0
        stack_size = 128
        next_segment = 0x2
        next_sp = 0x0
        initial_sp = 0x0
        sp = 106516932
        st = {ss_sp = 0x9501c, ss_size = 45028, ss_flags = 1}
        stsp = 610332
#1  0x022a6532 in trampoline () from /lib/i386-gnu/libc.so.0.3
No locals.
#2  0x00000014 in ?? ()
No symbol table info available.
#3  0x0659551c in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)




reply via email to

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