Might want to check this code.
I'm checking a bug on which an alert listener isn't reporting when a torrent has finished.
Whenever I delete the .torrent and the file to try again, it seems something in the jlibtorrent resuming logic is failing and causing a crash every time I try to start clean.
1.2.0.5 / MacOSX
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000127d54475, pid=52566, tid=67915
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libjlibtorrent.dylib+0x173475] void libtorrent::heterogeneous_queue<libtorrent::alert>::move<libtorrent::add_torrent_alert>(unsigned long*, unsigned long*)+0x85
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/gubatron/workspace.frostwire/frostwire/desktop/hs_err_pid52566.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Might want to check this code. I'm checking a bug on which an alert listener isn't reporting when a torrent has finished. Whenever I delete the .torrent and the file to try again, it seems something in the jlibtorrent resuming logic is failing and causing a crash every time I try to start clean.
1.2.0.5 / MacOSX
here's another related stack trace