Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Libgdx crashing?  (Read 1930 times)
0 Members and 1 Guest are viewing this topic.
Offline cubemaster21
« Posted 2013-05-17 14:55:33 »

I'm working with libgdx and I'm getting an error message that looks just like this:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x76039c7f, pid=3372, tid=588
#
# JRE version: 7.0_07-b11
# Java VM: Java HotSpot(TM) Client VM (23.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [msvcrt.dll+0x9c7f]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Trevor\Dropbox\Coding\workspace\LRR\hs_err_pid3372.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
AL lib: alc_cleanup: 1 device not closed

It happens after 25 seconds almost every time. I'm rather confident that it's not an error on my side, but I'd like to know what's going on.

Check out my game, Viking Supermarket Smash
http://www.java-gaming.org/topics/iconified/28984/view.html
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 136
Projects: 4
Exp: 3 years



« Reply #1 - Posted 2013-05-17 16:41:48 »

Found a reference to alc_cleanup here...
And an error report (almost the same error) here...
Hope those help, I know they aren't that relevant.
Offline badlogicgames
« Reply #2 - Posted 2013-05-17 18:56:52 »

Look at the log file referenced in the error message. Describe what you are doing, what platform etc.

http://www.badlogicgames.com - musings on Android and Java game development
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline cubemaster21
« Reply #3 - Posted 2013-05-17 19:29:57 »

I'm working on a top down tile based mining game, based off of the game Lego Rock Raiders. I'm only running it on PC. Here's a pastebin for the error file. http://pastebin.java-gaming.org/7da697f8c54

Check out my game, Viking Supermarket Smash
http://www.java-gaming.org/topics/iconified/28984/view.html
Offline dermetfan
« Reply #4 - Posted 2013-05-17 20:12:03 »

I once had a similar problem and found the solution in this topic.
I didn't post the error message in there, but it was an EXCEPTION_ACCESS_VIOLATION as well.

Offline ReBirth
« Reply #5 - Posted 2013-05-18 02:43:48 »

I had this kind of error before and posted it here and libgdx forum (and got ignored). I found the solution by myself, almost same with dermetfan's.

Problematic frame is (likely) to be caused by disposable object, like Stage and its SB. I always disposed my stage on hide() before, because I want new stage for each screen. Then I moved the stage instance to Game class and let every screen to use it together by clearing it on hide(). With this I can safely dispose the stage on Gdx.app.exit(). Hope helping.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (44 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (38 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (87 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!