A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm

前端 未结 9 1990
心在旅途
心在旅途 2020-11-29 03:50

Hi and thanks for reading,

I have the following error while running my program and can\'t figure out what the solution would be. I also looked at all the topics with

9条回答
  •  生来不讨喜
    2020-11-29 04:38

    Here is your relief for the problem :

    I have a problem of running different versions of STS this morning, the application crash with the similar way as the question did.

    Excerpt of my log file.

    A fatal error has been detected by the Java Runtime Environment:
    #a
    #  SIGSEGV (0xb) at pc=0x00007f459db082a1, pid=4577, tid=139939015632640
    #
    # JRE version: 6.0_30-b12
    # Java VM: Java HotSpot(TM) 64-Bit Server VM 
    (20.5-b03 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [libsoup-2.4.so.1+0x6c2a1]  short+0x11
    

    note that exception occured at # C [libsoup-2.4.so.1+0x6c2a1] short+0x11

    Okay then little below the line:

    R9 =0x00007f461829e550:  in /usr/share/java/jdk1.6.0_30/jre/lib/amd64/server/libjvm.so at 0x00007f4617819000
    R10=0x00007f461750f7c0 is pointing into the stack for thread: 0x00007f4610008000
    R11=0x00007f459db08290: soup_session_feature_detach+0 in /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 at 0x00007f459da9c000
    R12=0x0000000000000000 is an unknown value
    R13=0x000000074404c840 is an oop
    {method} 
    

    This line tells you where the actual bug or crash is to investigate more on this crash issue please use below links to see more, but let's continue the crash investigation and how I resolved it and the novelty of this bug :)

    links are :

    a fATAL ERROR JAVA THIS ONE IS GREAT LOTS OF USER!

    a fATAL ERROR JAVA 2

    Okay, after that here's what I found out to casue this case and why it happens as general advise.

    1. Most of the time, check that if you have installed, updated recently on Ubunu and Windows there are libraries like libsoup in linux which were the casuse of my crash.

    2. Check also for a new hardware problem and try to investigate the Logfile which STS or Java generated and also syslog in linux by

      tail - f /var/lib/messages or some other file
      

    Then by carfully looking at those files the one you have the crash log for ... you can really solve the issue as follows:

    sudo unlink /usr/lib/i386-linux-gnu/libsoup-2.4.so.1

    or

    sudo unlink /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1

    Done !! Cheers!!

提交回复
热议问题