Lanchon / haystack

Signature Spoofing Patcher for Android
GNU General Public License v3.0
234 stars 45 forks source link

dexpatcher failing with SIGSEGV on Lineage 14.1 20170410 #10

Closed xenithorb closed 7 years ago

xenithorb commented 7 years ago

Not really sure what is going on here.... I'm using a bash script from a project called NanoMod that uses your project as a submodule, it's basically running this command:

>>> dexpatcher --api-level 25 --verbose --output mydevice__sigspoof-hook-7.0/tmp/services.jar/patched-dex --multi-dex /home/xenith/git/NanoMod/haystack/mydevice/services.jar /home/xenith/git/NanoMod/haystack/patches/sigspoof-hook-7.0/services.jar.dex

After which it reports the following errors:

info: read '/home/xenith/git/NanoMod/haystack/mydevice/services.jar'
info: read '/home/xenith/git/NanoMod/haystack/patches/sigspoof-hook-7.0/services.jar.dex'
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f8b9ea1a004, pid=9834, tid=0x00007f8b825ed700
#
# JRE version: OpenJDK Runtime Environment (8.0_121-b14) (build 1.8.0_121-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.121-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0xa6b004]
#
# 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:
# /home/xenith/git/NanoMod/haystack/hs_err_pid9834.log
#
# Compiler replay data is saved as:
# /home/xenith/git/NanoMod/haystack/replay_pid9834.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

I verified that this happens regardless of NanoMod, by using your repo directly and running the command via my own script, so the only reason I'm mentioning NanoMod is so you know why the paths are what they are.

replay_pid9834.log.txt hs_err_pid9834.log.txt

xenithorb commented 7 years ago

Sorry! False alarm, my libjvm.so was corrupted from a crash a week ago. Found it with rpm -qV. After replacing the file, everything works fine again. Closing.