Project

General

Profile

Bug #5844 » gdb.txt

gdb backtrace - Dave Pickles, 2020-07-03 14:04

 
1
Core was generated by `/tmp/makepkg/tvheadend/src/tvheadend/build.linux/tvheadend -D -f -p /run/tvhead'.
2
Program terminated with signal SIGABRT, Aborted.
3
#0  0x769c2fcc in raise () from /usr/lib/libc.so.6
4
[Current thread is 1 (Thread 0x710ff1e0 (LWP 23210))]
5
(gdb) set pagination off
6
(gdb) set logging on
7
Copying output to gdb.txt.
8
Copying debug output to gdb.txt.
9
(gdb) bt full
10
#0  0x769c2fcc in raise () from /usr/lib/libc.so.6
11
No symbol table info available.
12
#1  0x769ac7a4 in abort () from /usr/lib/libc.so.6
13
No symbol table info available.
14
#2  0x00495834 in htsmsg_binary_write (ptr=0x749028d7 '\377' <repeats 38 times>, "GB\307\031", ptr@entry=0x749026e6 "\003\b", msg=<optimized out>) at src/htsmsg_binary.c:303
15
        f = 0x73d04548
16
        u64 = <optimized out>
17
        l = <optimized out>
18
        i = <optimized out>
19
        namelen = <optimized out>
20
#3  0x0049571c in htsmsg_binary_write (ptr=0x749026e6 "\003\b", ptr@entry=0x749026e0 "\001", msg=<optimized out>) at src/htsmsg_binary.c:320
21
        f = 0x73d12248
22
        u64 = <optimized out>
23
        l = <optimized out>
24
        i = <optimized out>
25
        namelen = <optimized out>
26
#4  0x0049571c in htsmsg_binary_write (ptr=0x749026e0 "\001", ptr@entry=0x749024ec "\002\002", msg=<optimized out>) at src/htsmsg_binary.c:320
27
        f = 0x73d0ce20
28
        u64 = <optimized out>
29
        l = <optimized out>
30
        i = <optimized out>
31
        namelen = <optimized out>
32
#5  0x004959bc in htsmsg_binary_serialize (msg=<optimized out>, datap=0x710feb04, datap@entry=0x710feafc, lenp=0x710feb08, lenp@entry=0x710feb00, maxlen=maxlen@entry=2147483647) at src/htsmsg_binary.c:389
33
        len = 1137
34
        data = 0x749024e8 ""
35
#6  0x0048bde8 in htsp_write_scheduler (aux=0x716f68e0) at src/htsp_server.c:3383
36
        htsp = 0x716f68e0
37
        hmq = <optimized out>
38
        hm = 0x73d17b48
39
        dptr = 0x749024e8
40
        dlen = 519
41
        r = <optimized out>
42
#7  0x00456308 in thread_wrapper (p=0x73d1e998) at src/tvh_thread.c:91
43
        ts = 0x73d1e998
44
        set = {__val = {16388, 0 <repeats 31 times>}}
45
        r = <optimized out>
46
#8  0x76b6f2ec in start_thread () from /usr/lib/libpthread.so.0
47
No symbol table info available.
48
#9  0x76a6ee18 in ?? () from /usr/lib/libc.so.6
49
No symbol table info available.
50
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
51
(gdb) up
52
#1  0x769ac7a4 in abort () from /usr/lib/libc.so.6
53
(gdb) up
54
#2  0x00495834 in htsmsg_binary_write (ptr=0x749028d7 '\377' <repeats 38 times>, "GB\307\031", ptr@entry=0x749026e6 "\003\b", msg=<optimized out>) at src/htsmsg_binary.c:303
55
303           abort();
56
(gdb) p f
57
$1 = (htsmsg_field_t *) 0x73d04548
58
(gdb) p f->hmf_type
59
$2 = 6 '\006'
60
(gdb) explore f
61
'f' is a pointer to a value of type 'htsmsg_field_t'
62
Continue exploring it as a pointer to a single value [y/n]: y
63
The value of '*f' is of type 'htsmsg_field_t' which is a typedef of type 'struct htsmsg_field'
64
The value of '*f' is a struct/class of type 'struct htsmsg_field' with the following fields:
65

    
66
   hmf_link = <Enter 0 to explore this field of type 'struct {...}'>
67
   hmf_type = <Enter 1 to explore this field of type 'uint8_t'>
68
  hmf_flags = <Enter 2 to explore this field of type 'uint8_t'>
69
          u = <Enter 3 to explore this field of type 'union {...}'>
70
  _hmf_name = <Enter 4 to explore this field of type 'const char [0]'>
71

    
72
Enter the field number of choice: 3
73
The value of '(*f).u' is a union of type 'union {...}' with the following fields:
74

    
75
      s64 = <Enter 0 to explore this field of type 'int64_t'>
76
      str = <Enter 1 to explore this field of type 'const char *'>
77
     uuid = <Enter 2 to explore this field of type 'const uint8_t *'>
78
      bin = <Enter 3 to explore this field of type 'struct {...}'>
79
      msg = <Enter 4 to explore this field of type 'htsmsg_t *'>
80
      dbl = <Enter 5 to explore this field of type 'double'>
81
  boolean = <Enter 6 to explore this field of type 'int'>
82

    
83
Enter the field number of choice: 5
84
'((*f).u).dbl' is a scalar value of type 'double'.
85
((*f).u).dbl = 6403216080
86

    
87
(gdb) quit
(1-1/2)