question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

crash in PhysicsSpace.finalizeNative()

See original GitHub issue

How to reproduce: build current the 3.3.1 release candidate (commit= a150deb ) and run the TestChooser app. Select “TestQ3”, “run”, escape, “run”, escape, and “run” again. On my Mint Linux machine, the JVM crashes immediately during the 3rd run, with the following stack trace:

Stack: [0x00007f424fcfd000,0x00007f424fdfe000],  sp=0x00007f424fdfc758,  free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libbulletjme.so+0x47a130]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.jme3.bullet.PhysicsSpace.finalizeNative(J)V+0
j  com.jme3.bullet.PhysicsSpace.finalize()V+34
J 1324 C1 java.lang.ref.Finalizer.runFinalizer(Lsun/misc/JavaLangAccess;)V (62 bytes) @ 0x00007f4261447ec4 [0x00007f4261447940+0x584]
J 1323 C1 java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;Lsun/misc/JavaLangAccess;)V (6 bytes) @ 0x00007f426143f75c [0x00007f426143f700+0x5c]
j  java.lang.ref.Finalizer$FinalizerThread.run()V+45
v  ~StubRoutines::call_stub

Edit: sometimes my machine crashes during the 2nd run, with a similar stack trace.

Note: this test might not be easily reproducible in 3.3.0 due to the issue described in PR #1330. I’ll test current master branch next.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
stephengoldcommented, Mar 13, 2021

Closing as “wontfix” since native physics has been archived to a separate repo. Users who encounter this issue should consider switching to jme3-jbullet or Minie.

1reaction
stephengoldcommented, Jan 1, 2021

The workaround is to use Minie, preferably v3.0.0

Also, the crash report fragment you provided looks like a different issue. To be sure, I’d need to see the Java stack portion of the crash report.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Crash Detection on iPhone or Apple Watch to call for help ...
Crash Detection is designed to detect severe car crashes—such as front-impact, side-impact, and rear-end collisions, and rollovers—involving ...
Read more >
Online Crash Logs - Kansas Highway Patrol
The Kansas Highway Patrol Crash Log allows you to retrieve preliminary injury or fatality crash information for 14 days from the event.
Read more >
Crash Preventability Determination Program (CPDP) | FMCSA
On July 27, 2017, FMCSA announced a Crash Preventability Demonstration Program to evaluate the preventability of eight categories of crashes ...
Read more >
Crash Data and Maps - Connect NCDOT
Crash Data and Maps Crash data, organized by type, ranking, overall cost, and maps and other resources for analysis. : Skip Navigation Links ......
Read more >
Motor Vehicle - Type of Crash - Injury Facts
Car crash deaths occur more often in crashes with other cars, but were less than half of the total in 2020 (41%).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found