Error exception_access_violation jvlc

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
SzassTam
New Cone
New Cone
Posts: 1
Joined: 15 Jan 2007 15:10

Error exception_access_violation jvlc

Postby SzassTam » 15 Jan 2007 15:57

Hi everybody, it's my first post and i'm sorry that it's a question.
So..i'm a student, and i've to "play" with jvlc (to enjoy my teachers ;D)..
I've downloaded the win32 binaries from jvlc web site, and i've tried to execute some examples. But i've the following problem:
when i try to execute SwingClient.java i receive the following message:

# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10012ebb, pid=3912, tid=3452
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [jvlc.dll+0x12ebb]

i saw someone else post it on the forum, but noone answer :/!
There's something strange..yesterday it worked, in the first time, after few tries it didn't work anymore. Then i update my jre to 1.6.0, and it worked again! Today, it doesn't work anymore (again). I tried it in another computer and it works...:/
There something else strange: i have tried to execute another example, the following:

public class JVLCStreamingSrv {
public static void main(String[] args) {
JVLC jvlc = new JVLC();
}
}

i know, it's really stupid, and it works. If i execute the SwingClient.java reduced to the minimum (as following) it DOESN'T WORKS!!! I'm gonna crazy :(

class VLCPlayerFrame extends Frame {
public VLCPlayerFrame() {
initComponents();
}

private void initComponents() {
jvlc = new JVLC();
}

public JVLC jvlc;
}


public class SwingClient {
public static void main(String[] args) {
Frame f = new VLCPlayerFrame();
f.setBounds(0, 0, 500, 500);
f.addWindowListener( new WindowAdapter() {
public void windowClosing(WindowEvent ev) {
System.exit(0);
}
} );
f.setVisible(true);
}
}

I accept any idea (except format c: :P)
Thank you

Luca

ahmdprog
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Nov 2006 00:01

Postby ahmdprog » 17 Jan 2007 08:39

Actually, this is one problem of JVLC, it makes the JVM crashed, since the JVM unable to load the dll library, and what I notice from your java code ,that you are making multiple instance of JVLC.
Try to make only one instance of JVLC, and from my experience of JVLC, don’t try to pass parameters to JVLC, sometimes makes the JVM crashed.
Try like this
Public static void main(String args[])
{
JVLC jvlc = new JVLC(args);
}
For the same version of what you are using, it is working fine, but it doesn’t have all the VLC capabilities.

Anyway, good luck for you. :wink:


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests