java-decompiler / jd-gui

A standalone Java Decompiler GUI
GNU General Public License v3.0
14.07k stars 2.39k forks source link

0.3.5 crash in macOS Sierra #147

Closed kevinho closed 5 years ago

kevinho commented 8 years ago

OS Version is: Version 10.12(16A323)

samrocketman commented 8 years ago

What Java vendor/version? What version of jd-gui?

kevinho commented 8 years ago

java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

jd-gui is 0.3.5 download from official siet

lordofwinterfell commented 8 years ago

image

java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Process: jd-gui [9019] Path: /Applications/JD-GUI.app/Contents/MacOS/jd-gui Identifier: jd.jd-gui Version: 0.3.5 Code Type: X86 (Native) Parent Process: ??? [1] Responsible: jd-gui [9019] User ID: 501

Date/Time: 2016-10-08 12:56:57.254 +1100 OS Version: Mac OS X 10.12 (16A323) Report Version: 12 Anonymous UUID: CC41D87A-04AB-5ABE-B0B4-ED622389BAB9

Time Awake Since Boot: 15000 seconds

System Integrity Protection: enabled

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000241499f5 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit): eax: 0x248b8b5b ebx: 0xbffffccc ecx: 0x241499f5 edx: 0x00000001 edi: 0xbffffd00 esi: 0x00000000 ebp: 0xbffffc88 esp: 0xbffffc40 ss: 0x00000023 efl: 0x00010297 eip: 0x000011bb cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x241499f5

Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14

Binary images description not available

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 8266 thread_create: 0 thread_set_state: 0

Model: MacBookPro10,1, BootROM MBP101.00EE.B0A, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f36 Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.21.171.10.1a16) Bluetooth: Version 5.0.0f18, 3 services, 17 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM256E, 251 GB USB Device: USB 2.0 Bus USB Device: Hub USB Device: FaceTime HD Camera (Built-in) USB Device: USB 2.0 Bus USB Device: Hub USB Device: Hub USB Device: Apple Internal Keyboard / Trackpad USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: USB 3.0 Bus Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4

mi1890 commented 8 years ago

crash on my machine too after upgrade to 10.12.

mirkobrandner commented 8 years ago

Same for me on Sierra: Segmentation fault: 11 It is not the only app not working anymore.

samrocketman commented 8 years ago

Does it crash even with java -jar jd-gui.jar?

EDIT: removed on if my questions because I see from the error output you're using the OS X package.

samrocketman commented 8 years ago

As a temporary workaround perhaps you can install Virtualbox and install a Linux VM (or use vagrant). It would unblock your work until the maintainer can address it.

mirkobrandner commented 8 years ago

Hey Sam,

I talked about JD-GUI.app (0.3.5), did I comment in the wrong place? If so, I apologize.

Regards, Mirko

Am 13/10/2016 um 04:32 schrieb Sam Gleske:

How was |jd-gui| installed? Does it crash even with |java -jar jd-gui.jar|?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/java-decompiler/jd-gui/issues/147#issuecomment-253397447, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDy24xlGorhB6ORb769qBOuMaM-lguRks5qzZgjgaJpZM4KJx5Y.

Mirko Brandner Schulstr. 1 70736 Fellbach

Tel. privat: 0711-50438136 Mobil privat: ‭+49 152 32014643‬ Skype: mirkobrandner

mirkobrandner commented 8 years ago

Again me, I use the jar version instead or sorry to say use Luyten.app

Mirko

Am 13/10/2016 um 04:37 schrieb Sam Gleske:

As a temporary workaround perhaps you can install Virtualbox and install a Linux VM (or use vagrant). It would unblock your work until the maintainer can address it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/java-decompiler/jd-gui/issues/147#issuecomment-253398096, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDy25IEw9Y-Xp_R0hEA2TQN17mMiXiLks5qzZltgaJpZM4KJx5Y.

Mirko Brandner Schulstr. 1 70736 Fellbach

Tel. privat: 0711-50438136 Mobil privat: ‭+49 152 32014643‬ Skype: mirkobrandner

samrocketman commented 8 years ago

I was asking because I was wondering if it crashes both ways. As in using the Mac app and the jar.

mirkobrandner commented 8 years ago

I see. On Sierra a lot apps crash in this same way.

Am 14.10.2016 um 21:15 schrieb Sam Gleske notifications@github.com:

I was asking because I was wondering if it crashes both ways. As in using the Mac app and the jar.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

aaru commented 8 years ago

Awesome 'java -jar jd-gui-1.4.0.jar' worked from me after updating java and tried with .jar option. My java version is "1.8.0_111" Note: Still JD-GUI.app (0.3.5) app is not working

mirkobrandner commented 8 years ago

I believe the .app simply needs to be recompile's with Xcode 8 on Sierra, I saw similar working though U do not understand why.

Mirko Brandner Schulstr. 1 70736 Fellbach Tel. privat: +49 711 50438136 Tel. mobil: ‭+49 152 32014643‬ Skype: mirkobrandner

Am 26.10.2016 um 18:50 schrieb Rajneesh M C notifications@github.com:

Awesome 'java -jar jd-gui-1.4.0.jar' worked from me after updating java and tried with .jar option. My java version is "1.8.0_111" Note: Still JD-GUI.app (0.3.5) app is not working

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

GuilhE commented 8 years ago

Same here:

Process: jd-gui [2790] Path: /Applications/JD-GUI.app/Contents/MacOS/jd-gui Identifier: jd.jd-gui Version: ??? Code Type: X86 (Native) Parent Process: ??? [1] Responsible: jd-gui [2790] User ID: 501

Date/Time: 2016-11-07 01:46:47.215 +0000 OS Version: Mac OS X 10.12.1 (16B2555) Report Version: 12

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000241499f5 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit): eax: 0x248b8b5b ebx: 0xbffffd18 ecx: 0x241499f5 edx: 0x00000001 edi: 0xbffffd48 esi: 0x00000000 ebp: 0xbffffcd8 esp: 0xbffffc90 ss: 0x00000023 efl: 0x00010297 eip: 0x000011bb cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x241499f5

Logical CPU: 2 Error Code: 0x00000004 Trap Number: 14

Binary images description not available

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 9040 thread_create: 0 thread_set_state: 0

AbleWen commented 7 years ago

same here:

Process: jd-gui [62925] Path: /Users/USER/Desktop/JD-GUI.app/Contents/MacOS/jd-gui Identifier: jd.jd-gui Version: ??? Code Type: X86 (Native) Parent Process: ??? [1] Responsible: jd-gui [62925] User ID: 501

Date/Time: 2016-11-18 15:46:08.627 +0800 OS Version: Mac OS X 10.12.1 (16B2555) Report Version: 12 Anonymous UUID: F38E6B8E-C064-DED2-A367-4B5CCA3AAB3F

Sleep/Wake UUID: 8E0D3464-B576-41BE-9137-DE0FE15BB856

Time Awake Since Boot: 67000 seconds Time Since Wake: 3200 seconds

System Integrity Protection: enabled

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000241499f5 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit): eax: 0x248b8b5b ebx: 0xbffffd0c ecx: 0x241499f5 edx: 0x00000001 edi: 0xbffffd3c esi: 0x00000000 ebp: 0xbffffcc8 esp: 0xbffffc80 ss: 0x00000023 efl: 0x00010297 eip: 0x000011bb cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x241499f5

Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14

Binary images description not available

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 1860994 thread_create: 0 thread_set_state: 0

Model: MacBookPro12,1, BootROM MBP121.0167.B17, 2 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7 Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.21.171.47.1a8) Bluetooth: Version 5.0.1f7, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0256G, 251 GB USB Device: USB 3.0 Bus USB Device: Bluetooth USB Host Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

GaelC92 commented 7 years ago

I have the same problem with the 0.3.5 dmg (native app) download. (same exception, same segfault, same registers, sierra, etc.) - I spare you another crash dump.

However, the tar download (java universal app) does work flawlessly.

AbleWen commented 7 years ago

it doesn't work with 0.3.5 dmg .download the release version jd-gui-osx-1.4.0.tar,it does work ,but A small amount of code can not be decompiled。

4ntoine commented 7 years ago

yes, i can confirm version 1.4 from tar is working on sierra

ghost commented 7 years ago

Cloning from git and building with gradle as described on the main page (./gradlew installOsxDist) creates a functional osx app bundle which works on MacOS Sierra 10.12.4.

unrelated NB:if you are an intellij user you can add a JAR file as your project depency and then delve into it from the External Libraries folder in the Project tree (it uses fernflower)..

hbtasamim commented 7 years ago

I have unexpectedly quit F1 2013 application, will please any one help me, i have the mac system 10.12.4 and the below is the report:

Process: F1 2013 [1168] Path: /Applications/F1 2013.app/Contents/MacOS/F1 2013 Identifier: com.feralinteractive.f12013 Version: ??? Code Type: X86 (Native) Parent Process: ??? [1] Responsible: F1 2013 [1168] User ID: 502

Date/Time: 2017-04-18 15:26:33.938 +0300 OS Version: Mac OS X 10.12.4 (16E195) Report Version: 12 Anonymous UUID: C9EC7BBE-7256-7145-2FAF-41E359E6C85C

Time Awake Since Boot: 400 seconds

System Integrity Protection: enabled

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000241499f5 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit): eax: 0x248b8b5b ebx: 0xbffffcbc ecx: 0x241499f5 edx: 0x00000001 edi: 0xbffffcf0 esi: 0x00000000 ebp: 0xbffffc78 esp: 0xbffffc30 ss: 0x00000023 efl: 0x00010297 eip: 0x000011bb cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x241499f5

Logical CPU: 2 Error Code: 0x00000004 Trap Number: 14

Binary images description not available

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 421 thread_create: 0 thread_set_state: 0

Model: Macmini7,1, BootROM MM71.0220.B14, 2 processors, Intel Core i5, 2.6 GHz, 8 GB, SMC 2.24f32 Graphics: Intel Iris, Intel Iris, Built-In Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x13B), Broadcom BCM43xx 1.0 (7.21.171.124.1a2) Bluetooth: Version 5.0.4f18, 3 services, 27 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Network Service: Wi-Fi, AirPort, en1 Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB USB Device: USB 3.0 Bus USB Device: IR Receiver USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: Keyboard Hub USB Device: Apple Keyboard USB Device: Apple Optical USB Mouse Thunderbolt Bus: Mac mini, Apple Inc., 26.1

dfeinzeig commented 7 years ago

had the same issue with the .app. unzipped the tar and works fine.

hbtasamim commented 7 years ago

i can't understand, which tar you want me to unzipped ????, to solve the problem

hbtasamim commented 7 years ago

will you please explain more to me to solve the problem.....

yftx commented 6 years ago

@hbtasamim

  1. download from http://jd.benow.ca/
  2. select jd-gui-osx-1.4.0.tar
  3. unzip downloaded tar file
  4. open JD-GUI.app
  5. congratulation
kkkjob commented 6 years ago

I'm using java 1.8 and it seems an app wrapper problem. Of course you can use it by java -jar jd-gui-1.4.0.jar. Here is ANOTHER solution,

  1. Open /Applications/JD-GUI.app/Contents/Info.plist
  2. Replace
JVMVersion 1.7+ with JVMVersion 1.8 3. Open JD-GUI.app
duqicauc commented 6 years ago

我的mac系统版本是:HS 10.13.3 (17D47),通过dmg或brew都遇到了闪退的问题。 根据这个帖子里说的两个办法都可以解决: (1)java -jar jd-gui-1.4.0.jar (2)打开/Applications/JD-GUI.app/Contents/Info.plist,将JVMVersion 1.7+换成JVMVersion 1.8

emmanue1 commented 5 years ago

Fixed. See #221 #222