Closed xeruf closed 5 years ago
I know of possible StackOverflowException happening when song ends/starts, which I havent fixed yet, but it is very rare. I have also noticed vlcj crashing few times. This needs more data, so i'ts more or less on hold until then.
How often does this happen on your system?
Within playing about 5 songs, it happened twice
It could depend on the type of song and numerous other things, but I'm not experiencing this issue. I'm using VLC 2.2.6.
For start I can only recommend trying greater sample of audio files. Are you using 64-bit version?
Since VLC 3 came out, it may be worth a shot to use vlcj for it
Update: I do experience this issue on Windows, albeit very rarely (probably somewhere in range of 1/100-1/1000 playbacks). I also think it tends to happen under some condition - I do not remember this happening outside development (I did experience crashed on key presses, but that points to jnativehook probably).
So after some time passing and using later lib versions: how often do you experience this issue?
This could be related to VLC version. Also: I think there is a vlcj branch for VLC3 right?
Update: I have improved vlc player state handling/observing (its in master branch). I'm currently observing the behavior.
Pls tell me if you are still experiencing this issue.
I have just experienced this twice in a row. Definitely not solved. I'm also afraid its a vlcj thing.
https://github.com/caprica/vlcj/issues/351 https://github.com/caprica/vlcj/issues/554
Potentially fixed in future release: https://github.com/caprica/vlcj/milestone/14
In the meantime, I will try possible solution found here: https://stackoverflow.com/questions/43312679/jvm-crashes-when-releasing-a-vlcj-mediaplayer
vlcj 4 has been recently released, I will adopt it soon.
Should be fixed in f200ce9.
I'm closing this. Of course, I'll be monitoring the situation on my end.
This does not happen always, and I'm not yet sure when it does, but sometimes it simply exits after finishing a song. hs_err_pid13702.log