Opened 8 years ago
Last modified 8 years ago
#2883 pending bug
deluge gets stuck when starting
Reported by: | Mattias Fliesberg | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | libtorrent | Version: | 1.3.13 |
Keywords: | Cc: |
Description
I noticed suddenly that deluge wouldn't boot up properly. I did some stracing and got this..
epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 [95/1947] futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 open("/home/inty/.config/deluge/state/a718bfd389f398cda897fb17273eea7f8bb18f6b.torrent", O_RDONLY) = 41 fstat(41, {st_mode=S_IFREG|0644, st_size=32313, ...}) = 0 fstat(41, {st_mode=S_IFREG|0644, st_size=32313, ...}) = 0 lseek(41, 0, SEEK_CUR) = 0 lseek(41, 0, SEEK_CUR) = 0 fstat(41, {st_mode=S_IFREG|0644, st_size=32313, ...}) = 0 read(41, "d8:announce70:http://tracker.wha"..., 28672) = 28672 read(41, "\24\201\26\ft\177D\25H\233\10:\313\3U3\366\31\227T\3713\353*\377\332{\27;\234\326\200"..., 4096) = 3641 read(41, "", 4096) = 0 close(41) = 0 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 167, NULL) = 0 futex(0x562c78c78c40, FUTEX_WAKE_PRIVATE, 1) = 0 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 169, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x562c78c78c40, FUTEX_WAKE_PRIVATE, 1) = 0 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 epoll_ctl(4, EPOLL_CTL_MOD, 3, {EPOLLIN|EPOLLERR|EPOLLET, {u32=2026330968, u64=94749004880728}}) = 0 futex(0x562c78c64b20, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL
It just gets stuck there and then repeats
) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- futex(0x562c78c78c6c, FUTEX_WAIT_PRIVATE, 171, NULL
Change History (3)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
I suspect this is libtorrent issue if it's hanging on that line. Please supply the following along with a gdb trace, preferably with libtorrent debug build installed.
http://dev.deluge-torrent.org/wiki/Contributing/BugReporting#CollectBugInformation
comment:3 by , 8 years ago
Component: | Unknown → libtorrent |
---|---|
Status: | new → pending |
Note:
See TracTickets
for help on using tickets.
I did some more analyzing and noticed that it stopped at the debug log message "setting %s's file priorities" on some torrents. It seems it's just waiting at this line
in deluge/core/torrent.py line 335 that is. If I comment that deluge starts but I can't change file priorities for obvious reasons :/