I only have the onboard video and i have reinstalled the drivers few times (reformatted pc + new drivers)
Not sure how to turn off graphics card utilities.....
and no idea how to set the J2D_D3D=false.... sry not to wise on java and variables.

I have had this problem for long time now trying to run a Lineage 2 L2J server and been searching for a fix for years.... sometimes it happen when i open the server and sometime it waits 2-3-4 hours and runs great then i get that error.
No one in the l2j community has even seen this error (or so they say) and has attempted many methods to help me fix it and it always returns.... same error
Please if anyone has seen this or knows or a solid fix im all ears...any input helps i will try to do the other things you mentioned angus thanks (if i can fig out how ;-)

i have been tryin to solve this problem since java 8.... 2 years ago
i have used every java and same error
if anyone thinks they can solve this problem hands on... im willing to let you
add me on skype: macomb420@gmail
and you can guide me threw it on screen share or we can do team viewer your choice.
im just willing to do what ever is needed to fix this thing please

Dave Tolls

Master Rancher

Posts: 4042

47

posted 4 weeks ago

Can you get it to do a full trace?
I'm not sure how to do that, as I've only ever seen one of these with the full stack, so don't know why yours only shows the single frame.

Does the log file hold more info?

You should be able to figure out what was going on when the error occurred.

casey cando

Greenhorn

Posts: 14

posted 3 weeks ago

yea it gives me a whole error log file but i cant post it here.... to many key words that wont work on these forums
i got a new hard drive and a new windows 10 edition and reinstalled everything and i still get the error
i use mysql8.0+ / navicat 12+ / JDK 12+... its the only 3 things i have on my pc and +the server files
i have tryed every version of each program and still same error.... it must be a setting or something!!!
Please someone....anyone who can help.... i will give complete access to my pc to anyone who can fix or thinks they can fix this issue.
i cant post the log file here if anyone knows a site i can please tell me and ill post here the complete log file

After a quick search let me give those who are not into this a bit of a background:

Lineage2Java seems to be a "private server" project for the MMORPG Lineage2. "Private servers" are mostly known from World of Warcraft and are basicly modified leaked server files and a client modification enable a community to set up thier own server instead of playing on the official servers run by the original developer. Wikipedia surprisingly have an article about this topic: https://en.wikipedia.org/wiki/Private_server

Back to topic:

As I couldn't find a download option I couldn't test the files myself, but: As most "private servers" require client modification and most "developers" of theese "communities" don't want "script kiddies" to get how it's done obfuscation is commonly used in this. My top guess here would be the obfuscation used for the files OP try to use somehow freaks out the jvm wich mostly fails in the reported access violation - on unix it's most times a page fault - anyhow for the same reason: by wrong opcodes caused by obfuscation famous C pointer arithmetic goes wrong and cause the jvm to try to access memory not in the process space. Also Minecraft is known for this as Mojang (now M$) uses obfuscation to protect against easy decompiling to make it harder to develop "cracked clients" allowing the game to be played without payment. I once tried a "cleaned up" version where someonw put the effort in and tried to fix most stuff after de-obfuscating with public available Minecraft coder pack - even worse - but most likely due to more errors in underlying LWJGL engine.

What's cause the jvm error most likely the jvm, os and/or hardware used by OP is not compatible with the server.jar OP wants to run. Best try: use different hardware and if possible on a basic linux distro instead of windows - so using openJDK. Otherwise: play the original Lineage2 - it's free to play.

Matt

casey cando

Greenhorn

Posts: 14

posted 3 weeks ago

its not leaked files.... ncsoft allows open based on older versions of the game for people to create and play
if you would like to see what it is im working with or test it your self i can give a few links to private server files of projects with alot of developers work on a single project....
my point is that alot of ppl run these servers and this is the first time anyone has ever seen this....
and the original lineage 2 is a diff type of official server..... they come out with a new version every couple years
lineage 2 has about 10 diff chronicles and the one im tryin to host is called hi5 freya
this is where i get my files L2J Site and their bitbucket bitbucket i use the develop branch

I don't want to start an argue about NCSoft policy about releasing old versions - even Blizzard started to sell the original servers (but I think without harddrives - so no server software but the hardware itself) - I just gave an inside to this scene.

After downloading the engine and the database files I could startup the "login server" and the "game server" without any issues.

About your statement that "No one in the l2j community has even seen this error": sorry to reply that harsh, but a "dev scene" no-one encountered a jvm-hard-crash with this very common issue - sorry, but I can't believe this statement at all. "EXCEPTION_ACCESS_VIOLATION (0xc0000005)" is very common - because jvm is implemented in part in C - wich is famous for its "pointer arithmetic" wich is THE most reason for any kind of issues, security flaws and almost anything that can go wrong in modern computing. So, any "normal user" encountered issues caused by it at least a few times - let alone "developers". In german there is an insult for such statement: "Flaschen" - not in terms of "bottle" but it terms of "idiots"/"nonesense".

So, as the engine and data runs smooth - and at least if one could trust the statement "no one encountered this issue" - and that you freshly re-installed your OS - the next "possible" thing causing this issue: hardware fault - maybe it's just a fault RAM module - maybe issue with CPU and/or motherboard - but it seems an issue specific to your very setup. As a clean os install fixes most anything - it's very likely a hardware fault. Just try to run it on another machine should work.

Matt

casey cando

Greenhorn

Posts: 14

posted 3 weeks ago

is there any way to test what is bad?.... or i just need to replace part by part on my pc and test the error?

the most common tool used for such things is memtest86
why? most issues caused by faulty ram today, at least those wich still let you use your system as normal as expected - cause issues with cpu, motherboard, storage or power supply often result in a system fail to boot
ram is used in implementation specific way - so for one system it could be that one module has to fully used up before the second is even considere to use - on another system it could be complete random

memtest86 tests the whole installed system ram in a sequential and repeatable way so it can be used to determine if there are any memory related issues
passing a run means that at least this time anything went ok so far but it's not a guaranteed all-ok - so if you run memtest on a never before tested system a second full run might be a good idea

when memtest encounters errors it could means some different things

1) faulty ram module - most common case and can be resolved by replacing
2) faulty motherboard - this one includes all the way from each pin of the cpu socket to the traces on the board to the pins in the ram socket -> replacement of board as "repair" is mostly unfeasable
3) faulty cpu - as it contains the memory controller it's possible to cause issues by tiny micro-vracks within the silicon

possible but un-common 4) power-supply issue: the power-supply can't keep up with the systems demand

a full test suite commonly consists of replacing part by part with known good ones and as already mentoined to mitigate software issues using different operating-system and client-software (wich is possible cause using java)
if you don't have spare parts try what you can achieve by changing things you can - like just try linux - as you mentoined you formatted the system and don't use it for anything else I guess you could at least give it a try

otherwise - well - without taking time and tools and try to figure out what went wrong on your system from the crashlog and dump - that's the most help one could give

about the driver mentioned: could also be an issue - bad drivers are readons for funny things like an atm spitting out money without charging anyones account for it - or the other way - you get charged but don't get the paper - try to explain that to your bank

casey cando

Greenhorn

Posts: 14

posted 3 weeks ago

It was my RAM... it tested fine with no errors on every program i could find... even on memtest86
so i decided to change it anyways for 2 new sticks of ram and no problems yet... 4 days no errors
thanks for the help everyone....really.... i cant thank you guys enough for the help and support from the ranch.

Also i am looking for a java developer to help with some events and things in my game.
If anyone is interested in giving me a hand or working on a project as a hobby add me on skype: macomb420@gmail
Im not the greatest with java but all other aspects of the game i can do easy.
The last guy helping to do my java work could create the things i needed in under a hour every time so i dont think its really alot of work (if you all ready know java... i dont)
My Goal is to create a good clean server for people to play and have fun on.
I have a wife and 3 kids and a full time job so i do this on my free time as i would expect you to do the same. NO ONE NEEDS MORE STRESS!!

it's a bit surprising that swapping ram solved it allthough memtest didn't showed an error - but as said: it also could be as simple as just a bad connection on just one pin back the time you last inserted the module responsible
even more surprising that the issue only showed up with this very java application - whatever was the real reason, it was a really strange one

ot: search on youtube for a video something called along "computer problem noone else could solve" - for this guy it was a faulty reset-switch on its case caused random restarts - or the one from jayztwocents where rgb-lighting overheated the ssd so it stpoed working at all
those all the reasons why it could extremly hard to figure out the real cause of issues just from a forum post about some code not executing correctly without touching the system with own hands
my guess about possible faulty ram was just personal experience mixed with THE most common issue in modern computing (that is, if you go back to the ibm pc and its at/xt design -predecessor of modern atx-standard - somewhen around the late 80s/early 90s)

joseph hu wrote:Try to reserve more space for permgen.
As the compiler uses permgen to allocate class structures, it looks the right thing to do.

I checked the docs - permgen options were removed in Java8
also I can't see how this could be related to this issue as the dump denotes the C2 compiler thread - wich is, iirc, responsible for jit-native compiling - at wich state the class and objects of it already fully constructed
btw - shouldn't it result in simple outofmemory when permgen space is used up?