[MGNLPER-148] SIGILL - JVM core dump on M1 (apple silicon) based macbooks due to nd4j Created: 14/Dec/20 Updated: 04/May/22 Resolved: 04/May/22 |
|
| Status: | Closed |
| Project: | Periscope |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jan Haderka | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 1 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Result Ranking Tech Issues | ||||||||||||||||
| Description |
|
Due to issue in the nd4j library, ranker will crash JVM will variation of following error on M1 based apple macbooks: ------------------------------------ 2020-12-09 15:50:14,521 INFO fo.magnolia.i18nsystem.DefaultMessageBundlesLoader: Starting monitoring of info.magnolia.resourceloader.layered.LayeredResourceOrigin@93c3b12 to load translation files # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00000001731fdfe1, pid=6041, tid=247303 # # JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.9+7) (build 11.0.9+7-LTS) # Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.9+7-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # C [libnd4jcpu.dylib+0x5efcfe1] _ZN2sd14ContextBuffersC1Ev+0x11 # # No core dump will be written. 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/luketrueman/Desktop/magnolia-core-6.2.5/apache-tomcat/bin/hs_err_pid6041.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. Confirmed the same with 8, 11 and 15. Haven’t tried 14. OTOH since issue is with the c++ library loaded by nd4j, it’s not surprising that it happens across all jvm versions |
| Comments |
| Comment by Jan Haderka [ 26/Feb/21 ] |
|
Attached simple light module that disables the ranker on m1 laptop as a workaround to the library issue. |
| Comment by Laura Delnevo [ 04/May/22 ] |
|
Marked as Obsolete, following the unbundling of the Periscope Ranking module. Further feedback on the Search functionality, its performance, and UI improvements will be taken into consideration by the Magnolia team as part of a broader initiative around "Find relevant content fast within Magnolia". Submit your feedback to us and we'll be in touch. |