root@unknown:/tmp/home/root# gdb /opt/bin/transmission-daemon GNU gdb (GDB) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mipsel-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/bin/transmission-daemon...done. (gdb) handle SIGPIPE nostop noprint pass Signal Stop Print Pass to program Description SIGPIPE No No Yes Broken pipe (gdb) run -f -a "*.*.*.*" -g "/opt/etc/transmission-daemon" Starting program: /opt/bin/transmission-daemon -f -a "*.*.*.*" -g "/opt/etc/transmission-daemon" [Thread debugging using libthread_db enabled] Using host libthread_db library "/opt/lib/libthread_db.so.1". [New Thread 0x2aca7b90 (LWP 5296)] [New Thread 0x2aea9b90 (LWP 5297)] [2016-02-21 22:44:44.739 STD] Transmission 2.84 (14307) started (session.c:736) [2016-02-21 22:44:44.740 STD] RPC Server Adding address to whitelist: *.*.*.* (rpc-server.c:824) [2016-02-21 22:44:44.740 STD] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033) [2016-02-21 22:44:44.740 STD] RPC Server Whitelist enabled (rpc-server.c:1037) [2016-02-21 22:44:44.741 STD] RPC Server Password required (rpc-server.c:1040) [2016-02-21 22:44:44.741 STD] DHT Reusing old id (tr-dht.c:306) [2016-02-21 22:44:44.741 STD] DHT Bootstrapping from 109 IPv4 nodes (tr-dht.c:154) [2016-02-21 22:44:44.741 STD] Using settings from "/opt/etc/transmission-daemon" (daemon.c:557) [2016-02-21 22:44:44.742 STD] Saved "/opt/etc/transmission-daemon/settings.json" (variant.c:1214) [2016-02-21 22:44:44.742 STD] Saved pidfile "/var/run/transmission-daemon.pid" (daemon.c:569) [2016-02-21 22:44:44.742 STD] transmission-daemon requiring authentication (daemon.c:577) [2016-02-21 22:44:44.742 STD] Watching "/opt/etc/transmission/watchdir" for new .torrent files (daemon.c:595) [2016-02-21 22:44:44.743 STD] Using inotify to watch directory "/opt/etc/transmission/watchdir" (watch.c:72) [2016-02-21 22:44:44.743 STD] Unable to watch "/opt/etc/transmission/watchdir": No such file or directory (watch.c:78) [2016-02-21 22:44:44.743 STD] Loaded 1 torrents (session.c:1992) [2016-02-21 22:44:44.743 STD] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70) [2016-02-21 22:44:44.744 STD] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70) [New Thread 0x2b0a9b90 (LWP 5298)] [2016-02-21 22:44:50.739 STD] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92) [2016-02-21 22:44:50.740 STD] Port Forwarding (NAT-PMP) readnatpmpresponseorretry succeeded (0) (natpmp.c:70) [2016-02-21 22:44:50.740 STD] Port Forwarding (NAT-PMP) Found public address "94.232.212.24" (natpmp.c:139) [2016-02-21 22:44:50.740 STD] Port Forwarding (NAT-PMP) sendnewportmappingrequest succeeded (12) (natpmp.c:70) [2016-02-21 22:44:50.741 STD] Port Forwarding (NAT-PMP) readnatpmpresponseorretry succeeded (0) (natpmp.c:70) [2016-02-21 22:44:50.741 STD] Port Forwarding (NAT-PMP) Port 51413 forwarded successfully (natpmp.c:219) [2016-02-21 22:44:50.741 STD] Port Forwarding State changed from "Starting" to "Forwarded" (port-forwarding.c:92) [2016-02-21 22:44:58.761 STD] debian-8.3.0-amd64-CD-1.iso Starting IPv4 DHT announce (poor, 14 nodes) (tr-dht.c:576) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2aca7b90 (LWP 5296)] cache_block_compare (va=0x0, vb=vb@entry=0x2aca71f8) at cache.c:301 301 cache.c: No such file or directory. (gdb) bt full #0 cache_block_compare (va=0x0, vb=vb@entry=0x2aca71f8) at cache.c:301 a = 0x0 b = 0x2aca71f8 #1 0x004449a4 in tr_ptrArrayLowerBound (t=t@entry=0x6495a8, ptr=0x2aca71f8, compare=0x42c9f8 , exact_match=0x2aca71c8, exact_match@entry=0x2aca71d0) at ptrarray.c:123 half = 8 c = first = 0 last = 17 pos = -1 match = false #2 0x00444a98 in tr_ptrArrayFindSorted (t=0x6495a8, ptr=, compare=) at ptrarray.c:211 match = false pos = #3 0x0042c9e0 in findBlock (cache=cache@entry=0x6495a8, torrent=torrent@entry=0x64d0d0, piece=piece@entry=175, offset=offset@entry=0) at cache.c:321 key = {tor = 0x64d0d0, piece = 4379376, offset = 6576576, length = 717910536, time = 0, block = 5600, evbuf = 0x64d2c8} #4 0x0042cd0c in tr_cacheWriteBlock (cache=0x6495a8, torrent=0x64d0d0, piece=175, offset=0, length=16384, writeme=0x6aeed8) at cache.c:332 cb = #5 0x00442cc8 in clientGotBlock (req=0x713638, data=0x6aeed8, msgs=0x711500) at peer-msgs.c:1727 err = tor = 0x64d0d0 block = 5600 #6 readBtPiece (setme_piece_bytes_read=, inlen=, inbuf=, msgs=0x711500) at peer-msgs.c:1465 n = nLeft = block_buffer = 0x6aeed8 req = 0x713638 #7 canRead (io=, vmsgs=0x711500, piece=) at peer-msgs.c:1765 ret = msgs = 0x711500 inlen = #8 0x004367a0 in canReadWrapper (io=io@entry=0x6c9d68) at peer-io.c:203 oldLen = 2896 ret = piece = 1430 used = now = 1456087509579 session = 0x2aca7348 #9 0x00436b88 in event_read_cb (fd=46, event=, vio=0x6c9d68) at peer-io.c:284 res = 2896 e = io = 0x6c9d68 howmuch = curlen = #10 0x0046ab60 in event_process_active_single_queue (activeq=0x6497c8, base=0x649d38) at event.c:1368 ev = count = 1 #11 event_process_active (base=) at event.c:1438 activeq = 0x6497c8 i = 0 c = 0 #12 event_base_loop (base=0x649d38, flags=0) at event.c:1639 evsel = 0x417f04 tv = {tv_sec = 0, tv_usec = 41319} tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #13 0x00417f04 in libeventThreadFunc (veh=0x6496b8) at trevent.c:246 base = 0x649d38 eh = 0x6496b8 #14 0x00402f00 in ThreadFunc (_t=0x649708) at platform.c:105 t = 0x649708 #15 0x0057afcc in start_thread () No symbol table info available. #16 0x0057be60 in __thread_start () No symbol table info available. Backtrace stopped: frame did not save the PC