Project

General

Profile

Bug #4430 ยป gdb.txt

Petar Ivanov, 2017-06-14 04:06

 
1
Thread 19 "tvh:capmt" received signal SIGABRT, Aborted.
2
[Switching to Thread 0x7ffff1e44700 (LWP 20579)]
3
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
4
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
5
(gdb) info reg
6
rax            0x0      0
7
rbx            0x6      6
8
rcx            0x7ffff5bbdfcf   140737316118479
9
rdx            0x0      0
10
rsi            0x7ffff1e43530   140737251652912
11
rdi            0x2      2
12
rbp            0x555555860859   0x555555860859
13
rsp            0x7ffff1e435a8   0x7ffff1e435a8
14
r8             0x0      0
15
r9             0x7ffff1e43530   140737251652912
16
r10            0x8      8
17
r11            0x246    582
18
r12            0x1c8    456
19
r13            0x555555860a88   93824995429000
20
r14            0x0      0
21
r15            0x7ffff7ffd040   140737354125376
22
rip            0x7ffff5bbdfcf   0x7ffff5bbdfcf <__GI_raise+207>
23
eflags         0x246    [ PF ZF IF ]
24
cs             0x33     51
25
ss             0x2b     43
26
ds             0x0      0
27
es             0x0      0
28
fs             0x0      0
29
gs             0x0      0
30
(gdb) disassemble $pc-32,$pc+32
31
Dump of assembler code from 0x7ffff5bbdfaf to 0x7ffff5bbdfef:
32
   0x00007ffff5bbdfaf <__GI_raise+175>: add    %dh,%al
33
   0x00007ffff5bbdfb1 <__GI_raise+177>: (bad)
34
   0x00007ffff5bbdfb2 <__GI_raise+178>: pushq  0x2b(%rdi)
35
   0x00007ffff5bbdfb5 <__GI_raise+181>: mov    %eax,%r8d
36
   0x00007ffff5bbdfb8 <__GI_raise+184>: mov    $0x8,%r10d
37
   0x00007ffff5bbdfbe <__GI_raise+190>: xor    %edx,%edx
38
   0x00007ffff5bbdfc0 <__GI_raise+192>: mov    %r9,%rsi
39
   0x00007ffff5bbdfc3 <__GI_raise+195>: mov    $0x2,%edi
40
   0x00007ffff5bbdfc8 <__GI_raise+200>: mov    $0xe,%eax
41
   0x00007ffff5bbdfcd <__GI_raise+205>: syscall
42
=> 0x00007ffff5bbdfcf <__GI_raise+207>: add    $0x88,%rsp
43
   0x00007ffff5bbdfd6 <__GI_raise+214>: mov    %r8d,%eax
44
   0x00007ffff5bbdfd9 <__GI_raise+217>: pop    %rbx
45
   0x00007ffff5bbdfda <__GI_raise+218>: retq
46
   0x00007ffff5bbdfdb <__GI_raise+219>: nopl   0x0(%rax,%rax,1)
47
   0x00007ffff5bbdfe0 <__GI_raise+224>: mov    0x364e91(%rip),%rdx        # 0x7ffff5f22e78
48
   0x00007ffff5bbdfe7 <__GI_raise+231>: neg    %eax
49
   0x00007ffff5bbdfe9 <__GI_raise+233>: mov    %eax,%fs:(%rdx)
50
   0x00007ffff5bbdfec <__GI_raise+236>: jmp    0x7ffff5bbdfb8 <__GI_raise+184>
51
   0x00007ffff5bbdfee:  xchg   %ax,%ax
52
End of assembler dump.
53
(gdb) bt full
54
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
55
        set = {__val = {18446744067266820611, 140737251653240, 140737354125376, 140737316367246, 140737415839744, 140736817311408, 140736817311408, 140736817311408, 140736817311408, 140736817311484, 140736817311508, 140736817311408,
56
            140736817311508, 0, 0, 0}}
57
        pid = <optimized out>
58
        tid = <optimized out>
59
#1  0x00007ffff5bbf3fa in __GI_abort () at abort.c:89
60
        save_stage = 2
61
        act = {__sigaction_handler = {sa_handler = 0x4, sa_sigaction = 0x4}, sa_mask = {__val = {40, 140737251653280, 4, 497979504592, 0, 140737317357248, 0, 0, 21474836480, 140737251653232, 140737251653432, 140737317386064,
62
              140737317371664, 300649390368, 140737354088448, 93824995428441}}, sa_flags = 456, sa_restorer = 0x555555860a88 <__PRETTY_FUNCTION__.6330>}
63
        sigs = {__val = {32, 0 <repeats 15 times>}}
64
#2  0x00007ffff5bb6e37 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x555555860859 "off <= sb->sb_ptr", file=file@entry=0x55555586084d "src/utils.c", line=line@entry=456,
65
    function=function@entry=0x555555860a88 <__PRETTY_FUNCTION__.6330> "sbuf_cut") at assert.c:92
66
        str = 0x7fffd800aeb0 ""
67
        total = 4096
68
#3  0x00007ffff5bb6ee2 in __GI___assert_fail (assertion=0x555555860859 "off <= sb->sb_ptr", file=0x55555586084d "src/utils.c", line=456, function=0x555555860a88 <__PRETTY_FUNCTION__.6330> "sbuf_cut") at assert.c:101
69
No locals.
70
#4  0x00005555556c689a in sbuf_cut (sb=0x7ffff1e43830, off=5) at src/utils.c:456
71
        __PRETTY_FUNCTION__ = "sbuf_cut"
72
#5  0x0000555555835e32 in handle_single (capmt=0x55555a079db0) at src/descrambler/capmt.c:1655
73
        ret = 256
74
        recvsock = 34
75
        adapter = 134
76
        nfds = 1
77
        cmd_size = 21
78
        reconnect = 1
79
        offset = 0
80
        cmd = 1074818950
81
        buf = "o\207\003\000\000\t\006\377\377\377\377@\bo\207\003\000\000\t\006\000\000\000\070@\bo\207\003\000\000\t\020\377\377\377\377@\bo\207\003\000\000\t\020\000\000\000\070@\fo\210\003\000\000\000\070\000\000\000\000\000\000\000\000@\020o\206\003\000\000\000\070\000\000\000\000\310\372\206H\234\tJ\357@\fo\210\003\000\000\000\070\000\000\000\000\000\000\000\000@\020o\206\003\000\000\000\070\000\000\000\001\346>W{\231e\360\356\377\377\000\003\003\067+\r\226\t%\000\000\000\004\000\000\000\372\vcryptoworks\022cccam\r192.168.1.103\005cccam\002@\fo"...
82
        buffer = {sb_data = 0x7fffd8000a30 "@\020o\206\206", sb_ptr = 4, sb_size = 4000, sb_err = 1, sb_bswap = 1 '\001'}
83
        ev = {fd = 1, events = 1, data = {ptr = 0x1, u64 = 1, u32 = 1, fd = 1}}
84
        netproto = 1
85
#6  0x0000555555836604 in capmt_thread (aux=0x55555a079db0) at src/descrambler/capmt.c:1829
86
        capmt = 0x55555a079db0
87
        ca = 0x55555a0d7af8
88
        t = 0x55555a0da2f0
89
        d = 32767
90
        i = 16
91
        j = 64
92
        fatal = 0
93
        mono = 0
94
#7  0x00005555556c7da4 in thread_wrapper (p=0x55555625b330) at src/wrappers.c:161
95
        ts = 0x55555625b330
96
        set = {__val = {16388, 0 <repeats 15 times>}}
97
        r = 0x0
98
#8  0x00007ffff643c494 in start_thread (arg=0x7ffff1e44700) at pthread_create.c:333
99
        __res = <optimized out>
100
        pd = 0x7ffff1e44700
101
        now = <optimized out>
102
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737251657472, 5325003648350133459, 0, 140737488344479, 0, 140737354125376, -5324990533770044205, -5324985264434864941}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
103
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
104
        not_first_call = <optimized out>
105
        pagesize_m1 = <optimized out>
106
        sp = <optimized out>
107
        freesize = <optimized out>
108
        __PRETTY_FUNCTION__ = "start_thread"
109
#9  0x00007ffff5c7393f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
    (1-1/1)