Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 01:32:29 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)VM Crash with TDSLoader
Pages: [1]
Print
Author Topic: VM Crash with TDSLoader  (Read 1023 times)
jlev
Just dropped in

Offline Offline

Posts: 18


View Profile
« on: 09. October 2007, 05:17:51 pm »

Sorry to keep bugging everyone, but I'm experiencing an odd crash of the VM (a real crash, not a stack trace), and I can't tell whether it's coming from my code or Xith. When I use the TDSLoader, I experience intermittent crashes. Not everytime, and not always on startup, but usually. When I just use the OBJLoader (I have models in different formats), I don't experience any crashes.

I've attached the log file, and it seems to be originating in the renderloop. This happens with both the LWJGL and the JOGL backends, although the frame dump is slightly different. This started yesterday, when I updated Xith to SVN head. Any ideas what's going on here? Many thanks,

- Josh
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 09. October 2007, 09:02:53 pm »

Could you send me a testcase? I never get this exception. Maybe you can modify the xith-tk testcase.

Marvin
Logged
jlev
Just dropped in

Offline Offline

Posts: 18


View Profile
« Reply #2 on: 10. October 2007, 09:49:42 pm »

It turns out it's not directly related to the TDSLoader, as it happens in my application even when I just load OBJ files. Rolling Xith back to 1027 makes everything fine, so I'm more confident it's not entirely my fault.

It's not at all predictable, as sometimes I can load the application and run without crashing when using HEAD. But it's intermittent. Again, using 1027 everything is fine. The crash log seems to blame ShapeAtomPeer.drawGeometry, but it doesn't give a line number. This happens with both JOGL and LWGL backends.

I'll work on putting a testcase together, but my simple testing world doesn't cause it, nor do any of the xith-tk testcases. Yours in befuddlement,

- Josh
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 16. October 2007, 10:10:04 am »

The problem was in the render code handling the new multi texturing API. It should be fixed now.

Marvin
Logged
jlev
Just dropped in

Offline Offline

Posts: 18


View Profile
« Reply #4 on: 17. October 2007, 07:40:26 pm »

The crashes have become less frequent, but still exist every so often. An immediate relaunch makes it go away. I haven't had time to find a simple test case that causes the crashes, and I can't send my full application. Here's a new crash log.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #5 on: 17. October 2007, 07:56:23 pm »

The crashes have become less frequent, but still exist every so often. An immediate relaunch makes it go away. I haven't had time to find a simple test case that causes the crashes, and I can't send my full application. Here's a new crash log.

OK. I will try to fix it, when I have a testcase. So far you could at least try to use the latest JDK. There is a newer 1.5er one available than you're using.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic