Project

General

Profile

Bug #5092 » gdb.txt

gdb from low signal crash - Petar Ivanov, 2018-07-03 06:16

 
1
Thread 106 "tvh:tcp-start" received signal SIGABRT, Aborted.
2
[Switching to Thread 0x7fffc8de6700 (LWP 5077)]
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
Already logging to gdb.txt.
6
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
7
        set = {__val = {18446744067266820611, 17792048544096738560, 140736563399440, 16, 140736563399472, 140737257633982, 140737257633983, 140737257634160, 17, 93824994552602, 140736347512864, 17792048544096738560, 16, 140736563399552, 140737257633982, 17792048544096738560}}
8
        pid = <optimized out>
9
        tid = <optimized out>
10
#1  0x00007ffff5b39231 in __GI_abort () at abort.c:79
11
        save_stage = 1
12
        act = {__sigaction_handler = {sa_handler = 0x11, sa_sigaction = 0x11}, sa_mask = {__val = {140736481769200, 7664979136, 17792048544096738560, 93825024548580, 140736481818304, 140736481818336, 140736481722400, 0, 140736481823632, 32, 140737315884570, 48, 32, 140736481818320, 140736563399968, 140736563400256}}, sa_flags = -924955360, sa_restorer = 0x1000}
13
        sigs = {__val = {32, 0 <repeats 15 times>}}
14
#2  0x00007ffff5b7a7b7 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff5c830f3 "%s\n") at ../sysdeps/posix/libc_fatal.c:181
15
        ap = {{gp_offset = 24, fp_offset = 15, overflow_arg_area = 0x7fffc8de4e50, reg_save_area = 0x7fffc8de4de0}}
16
        fd = <optimized out>
17
        list = <optimized out>
18
        nlist = <optimized out>
19
        cp = <optimized out>
20
        written = <optimized out>
21
#3  0x00007ffff5b80d5a in malloc_printerr (str=str@entry=0x7ffff5c84e00 "double free or corruption (!prev)") at malloc.c:5350
22
No locals.
23
#4  0x00007ffff5b8281c in _int_free (av=0x7fffdc000020, p=0x7fffdc00ac80, have_lock=<optimized out>) at malloc.c:4281
24
        size = 12240
25
        fb = <optimized out>
26
        nextchunk = 0x7fffdc00dc50
27
        nextsize = <optimized out>
28
        nextinuse = <optimized out>
29
        prevsize = <optimized out>
30
        bck = <optimized out>
31
        fwd = <optimized out>
32
        __PRETTY_FUNCTION__ = "_int_free"
33
#5  0x00005555558bfe80 in tvhcsa_destroy (csa=0x7fffc400e3f0) at src/descrambler/tvhcsa.c:279
34
        __PRETTY_FUNCTION__ = "tvhcsa_destroy"
35
#6  0x000055555582fca4 in descrambler_service_stop (t=0x55555765a330) at src/descrambler/descrambler.c:447
36
        td = 0x0
37
        dr = 0x7fffc400e370
38
        tk = 0x7fffc400e3d0
39
        dd = 0x7fffc8de4f40
40
        p = 0x7fffdc002e40
41
        i = 0
42
#7  0x000055555577a527 in service_stop (t=0x55555765a330) at src/service.c:276
43
No locals.
44
#8  0x00005555557761da in subscription_unlink_service0 (s=0x7fffbc001000, reason=0, resched=0) at src/subscriptions.c:179
45
        sm = 0x7fffc4002dd0
46
        t = 0x55555765a330
47
#9  0x0000555555776206 in subscription_unlink_service (s=0x7fffbc001000, reason=0) at src/subscriptions.c:186
48
No locals.
49
#10 0x000055555577a5fc in service_remove_subscriber (t=0x55555765a330, s=0x7fffbc001000, reason=0) at src/service.c:312
50
No locals.
51
#11 0x00005555557782c3 in subscription_unsubscribe (s=0x7fffbc001000, flags=2) at src/subscriptions.c:749
52
        t = 0x55555765a330
53
        buf = "\"HTTP\" unsubscribing, hostname=\"192.168.1.104\", client=\"VLC/2.2.6 LibVLC/2.2.6\"\000\260P\336\310\377\177\000\000\222J\204UUU\000\000\377\377\377\377\377\377\377\377\355\247ȷ\000\000\000\000\001\000\000\000\274\000\000\000\244\243\002\320\377\177\000\000\206\061SVUU\000\000\220\312\002\320\377\177\000\000\300P\336\310\377\177\000\000\250'\000\000\000\000\000\000\244\243\002\320\377\177\000\000@M\000\274\377\177\000\000\020Q\336\310\377\177\000\000\000]dq\342\r\352\366\001\000\000\000\000\000\000\000\255"...
54
        l = 79
55
        raw = 0x0
56
#12 0x000055555580f677 in http_stream_service (hc=0x7fffc8de5880, service=0x55555765a330, weight=0) at src/webui/webui.c:1081
57
        s = 0x7fffbc001000
58
        pro = 0x55555759b9e0
59
        prch = {prch_link = {le_next = 0x7ffff1ff5860, le_prev = 0x5555573342e8 <profile_chains>}, prch_linked = 1, prch_sharer = 0x0, prch_sharer_link = {le_next = 0x0, le_prev = 0x0}, prch_pro = 0x55555759b9e0, prch_id = 0x55555765a330, prch_ts_delta = 0, prch_flags = 1, prch_stop = 1, prch_start_pending = 0, prch_sq_used = 1, prch_sq = {sq_st = {st_link = {le_next = 0x0, le_prev = 0x0}, st_pad = 0x0, st_ops = {st_cb = 0x55555576ec8e <streaming_queue_deliver>, st_info = 0x55555576ed7e <streaming_queue_info>}, st_opaque = 0x7fffc8de52e8, st_reject_filter = 0}, sq_mutex = pthread_mutex_t = {Type = Normal, Status = Not acquired, Robust = No, Shared = No, Protocol = None}, sq_cond = {cond = pthread_cond_t = {Threads known to still execute a wait function = 0, Clock ID = CLOCK_MONOTONIC, Shared = No}}, sq_maxsize = 1500000, sq_size = 0, sq_queue = {tqh_first = 0x7fffc4002dd0, tqh_last = 0x7fffc4002dd0}}, prch_post_share = 0x0, prch_st = 0x7fffc8de52e8, prch_muxer = 0x7fffbc004d40, prch_gh = 0x0, prch_tsfix = 0x0, prch_timeshift = 0x0, prch_input = {st_link = {le_next = 0x0, le_prev = 0x0}, st_pad = 0x0, st_ops = {st_cb = 0x0, st_info = 0x0}, st_opaque = 0x0, st_reject_filter = 0}, prch_share = 0x0, prch_can_share = 0x0}
60
        hints = 0x7fffbc002070
61
        str = 0x0
62
        qsize = 1500000
63
        name = 0x7fffc8de5240 "9E/12437.14H/sportdigital HD"
64
        tcp_id = 0x7fffd00019d0
65
        res = 503
66
        flags = 3
67
        eflags = 0
68
#13 0x000055555580fff9 in http_stream (hc=0x7fffc8de5880, remain=0x7fffbc001a9c "service", opaque=0x0) at src/webui/webui.c:1290
69
        components = {0x7fffbc001a9c "service", 0x7fffbc001aa4 "bacfa302f6c122dae8239a6c81e52bdb"}
70
        ch = 0x0
71
        service = 0x55555765a330
72
        mm = 0x0
73
        str = 0x0
74
        weight = 0
75
        scopedlock__LINE__ = 0x555557425dc0 <global_lock>
76
#14 0x0000555555757305 in http_exec (hc=0x7fffc8de5880, hp=0x7fffc8de5570, remain=0x7fffbc001a9c "service") at src/http.c:1183
77
        err = 32767
78
#15 0x000055555575772a in http_cmd_get (hc=0x7fffc8de5880) at src/http.c:1258
79
        hp = {hp_link = {le_next = 0x555557e47650, le_prev = 0x5555575d7f10}, hp_path = 0x555558348e30 "/stream", hp_opaque = 0x0, hp_callback = 0x55555580fddc <http_stream>, hp_len = 7, hp_flags = 0, hp_accessmask = 0, hp_path_modify = 0x0}
80
        remain = 0x7fffbc001a9c "service"
81
        args = 0x7fffbc001ac5 "ticket"
82
#16 0x0000555555757992 in http_process_request (hc=0x7fffc8de5880, spill=0x7fffc8de5800) at src/http.c:1337
83
No locals.
84
#17 0x0000555555758424 in process_request (hc=0x7fffc8de5880, spill=0x7fffc8de5800) at src/http.c:1475
85
        v = 0x0
86
        argv = {0x7ffff23f78bf "\001|", 0x7ffff23f7970 "\300y?\362\377\177"}
87
        n = 44
88
        rval = -1
89
        authbuf = "192.168.1.104\000\000\000\000\000\000\000\002\000\000\000\a\000\000\000\000\000\000\000 \000\000\000\000\000\000\000P\024\000\274\377\177\000\000@\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000\210\373\377\377\377\377\377\377\000\000\000\000\000\000\000\000\002\000\000\000\060", '\000' <repeats 19 times>, "[\000\000\000n\000\000\000|\000\000\000w\000\000\000\000]dq\342\r\352\366", '\000' <repeats 16 times>, "PW\336\310\377\177"
90
#18 0x0000555555759679 in http_serve_requests (hc=0x7fffc8de5880) at src/http.c:1960
91
        spill = {hq_q = {tqh_first = 0x0, tqh_last = 0x7fffc8de5800}, hq_size = 4294965524, hq_maxsize = 2147483647}
92
        argv = {0x7fffbc001c30 "", 0x7fffbc001c3e "1", 0x7fffbc001af5 "HTTP/1.1"}
93
        c = 0x7fffbc001c3c ""
94
        s = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
95
        cmdline = 0x7fffbc001a90 "GET"
96
        hdrline = 0x7fffbc001c30 ""
97
        n = 2
98
        r = 0
99
        delim = 21845
100
#19 0x000055555575986a in http_serve (fd=44, opaque=0x7fffd00019f8, peer=0x7fffd0001a10, self=0x7fffd0001a90) at src/http.c:2011
101
        hc = {hc_subsys = 28, hc_fd = 44, hc_peer = 0x7fffd0001a10, hc_peer_ipstr = 0x7fffc8de55e0 "192.168.1.104", hc_self = 0x7fffd0001a90, hc_representative = 0x7fffc8de55e0 "192.168.1.104", hc_proxy_ip = 0x0, hc_local_ip = 0x0, hc_paths_mutex = 0x555557330800 <http_paths_mutex>, hc_paths = 0x555557330828 <http_paths>, hc_process = 0x55555575792b <http_process_request>, hc_url = 0x7fffbc001a94 "/stream/service", hc_url_orig = 0x7fffc8de5600 "/stream/service/bacfa302f6c122dae8239a6c81e52bdb?ticket=88b217bfb7d28aec3f3a6942b097dda5ead9366d", hc_reply = {hq_q = {tqh_first = 0x0, tqh_last = 0x7fffc8de58e0}, hq_size = 0, hq_maxsize = 2147483647}, hc_extra_insend = 0, hc_extra_lock = pthread_mutex_t = {Type = Normal, Status = Not acquired, Robust = No, Shared = No, Protocol = None}, hc_extra_chunks = 0, hc_extra = {hq_q = {tqh_first = 0x0, tqh_last = 0x7fffc8de5930}, hq_size = 0, hq_maxsize = 2147483647}, hc_args = {tqh_first = 0x7fffbc001b10, tqh_last = 0x7fffbc001d90}, hc_req_args = {tqh_first = 0x7fffbc001e00, tqh_last = 0x7fffbc001e20}, hc_state = HTTP_CON_WAIT_REQUEST, hc_cmd = HTTP_CMD_GET, hc_version = HTTP_VERSION_1_1, hc_username = 0x0, hc_password = 0x0, hc_authhdr = 0x0, hc_nonce = 0x0, hc_access = 0x7fffbc001e70, hc_cseq = 0, hc_session = 0x0, hc_keep_alive = 0 '\000', hc_no_output = 0 '\000', hc_shutdown = 0 '\000', hc_is_local_ip = 0 '\000', hc_post_data = 0x0, hc_post_len = 0}
102
#20 0x000055555574f10b in tcp_server_start (aux=0x7fffd00019d0) at src/tcp.c:714
103
        tsl = 0x7fffd00019d0
104
        to = {tv_sec = 30, tv_usec = 0}
105
        val = 1
106
        c = 74 'J'
107
#21 0x0000555555747b28 in thread_wrapper (p=0x7fffd0007310) at src/wrappers.c:181
108
        ts = 0x7fffd0007310
109
        set = {__val = {16388, 0 <repeats 15 times>}}
110
        r = 0x7ffff5eb3740 <__elf_set___libc_thread_subfreeres_element_arena_thread_freeres__>
111
#22 0x00007ffff6c225aa in start_thread (arg=0x7fffc8de6700) at pthread_create.c:463
112
        pd = 0x7fffc8de6700
113
        now = <optimized out>
114
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736563406592, 2602859178004327969, 140737257633982, 140737257633983, 140737257634160, 17, -2602896839622513119, -2602839630316032479}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
115
        not_first_call = <optimized out>
116
#23 0x00007ffff5bf9cbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
117
No locals.
118
Continuing.
119

    
120
Thread 1 "tvheadend" received signal SIGINT, Interrupt.
121
[Switching to Thread 0x7ffff7fea300 (LWP 29638)]
122
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
123
135	../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(1-1/8)