IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Logging Java Discussion :

Coupure d'application - log hs_err_pidXX


Sujet :

Logging Java

  1. #1
    Futur Membre du Club
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2013
    Messages
    23
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Octobre 2013
    Messages : 23
    Points : 6
    Points
    6
    Par défaut Coupure d'application - log hs_err_pidXX
    Bonjour,

    J'ai une application java qui tourne en continu sur un serveur linux.
    De façon aléatoire et non régulier, cette application se coupe, sans exception ni action particulière.

    La seule trace de la coupure (en dehors du fait que le "ps -ef" ne le trouve plus) est cette log hs_err_pid6407.log :

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGFPE (0x8) at pc=0xe6edced4, pid=6407, tid=1
    #
    # JRE version: 6.0_21-b06
    # Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode solaris-x86 )
    # Problematic frame:
    # C [libgtk-x11-2.0.so.0.400.9+0xdced4]
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    --------------- T H R E A D ---------------

    Current thread (0x080d3c00): JavaThread "main" [_thread_in_native, id=1, stack(0x07848000,0x08048000)]

    siginfo:si_signo=SIGFPE: si_errno=0, si_code=1 (FPE_INTDIV), si_addr=0xe6edced4

    Registers:
    EAX=0x083ddcb7, EBX=0xe706b668, ECX=0x00000000, EDX=0x00000000
    ESP=0x0804668c, EBP=0x082c7008, ESI=0x083ddcb8, EDI=0x08775468
    EIP=0xe6edced4, EFLAGS=0x00010202

    Top of Stack: (sp=0x0804668c)
    0x0804668c: e6cbad3b 083ddcb8 083ddcb8 00000001
    0x0804669c: e703ab38 083ddcb8 087a92c0 00000001
    0x080466ac: 08775424 089e1588 08775408 e706b668
    0x080466bc: e6edcfc7 08775408 083ddcb8 e6edcf77
    0x080466cc: e6ca5438 089e1588 0000007c 0804682c
    0x080466dc: e6cbc8b9 0804682c 00000001 08046708
    0x080466ec: e6ca5438 089e1588 0000007c 08775408
    0x080466fc: e6cb535b 08775408 08775424 08622fd8

    Instructions: (pc=0xe6edced4)
    0xe6edcec4: f6 ff 83 c4 0c 8b c8 8b 44 24 14 8d 44 08 ff 99
    0xe6edced4: f7 f9 8b e8 3b ee 7d 68 83 ec 04 55 ff 37 e8 ad

    Stack: [0x07848000,0x08048000], sp=0x0804668c, free space=1ff9fed114e4k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libgtk-x11-2.0.so.0.400.9+0xdced4]


    --------------- P R O C E S S ---------------

    Java Threads: ( => current thread )
    0x08994c00 JavaThread "Timer-4" [_thread_blocked, id=25, stack(0xe7335000,0xe7385000)]
    0x085e7c00 JavaThread "fr.***.socketCommunication.socket.Server@t" [_thread_in_native, id=23, stack(0xe7386000,0xe73d6000)]
    0x08622400 JavaThread "Timer-3" [_thread_blocked, id=22, stack(0xe75db000,0xe762b000)]
    0x08854c00 JavaThread "Timer-2" [_thread_blocked, id=21, stack(0xe745e000,0xe74ae000)]
    0x085b7c00 JavaThread "Timer-1" [_thread_blocked, id=18, stack(0xe764f000,0xe769f000)]
    0x085ba000 JavaThread "Timer-0" [_thread_blocked, id=17, stack(0xe78ab000,0xe78fb000)]
    0x08178000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7, stack(0xe7bba000,0xe7c0a000)]
    0x08176000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6, stack(0xe7c0b000,0xe7c8b000)]
    0x08174800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5, stack(0xe7c8c000,0xe7cdc000)]
    0x08161000 JavaThread "Finalizer" daemon [_thread_blocked, id=4, stack(0xe7cdd000,0xe7d2d000)]
    0x0815f800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3, stack(0xe7d2e000,0xe7d7e000)]
    =>0x080d3c00 JavaThread "main" [_thread_in_native, id=1, stack(0x07848000,0x08048000)]

    Other Threads:
    0x0815c800 VMThread [stack: 0xe7d7f000,0xe7dff000] [id=2]
    0x0817b800 WatcherThread [stack: 0xe7b39000,0xe7bb9000] [id=8]

    VM state:not at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: None

    Heap
    def new generation total 31936K, used 6305K [0xe7e00000, 0xea0a0000, 0xed350000)
    eden space 28416K, 10% used [0xe7e00000, 0xe80e4068, 0xe99c0000)
    from space 3520K, 95% used [0xe99c0000, 0xe9d046b0, 0xe9d30000)
    to space 3520K, 0% used [0xe9d30000, 0xe9d30000, 0xea0a0000)
    tenured generation total 70792K, used 59979K [0xed350000, 0xf1872000, 0xf7e00000)
    the space 70792K, 84% used [0xed350000, 0xf0de2cc8, 0xf0de2e00, 0xf1872000)
    compacting perm gen total 39168K, used 39113K [0xf7e00000, 0xfa440000, 0xfbe00000)
    the space 39168K, 99% used [0xf7e00000, 0xfa4327d8, 0xfa432800, 0xfa440000)
    No shared spaces configured.

    Dynamic libraries:
    0x08050000 /home/***/Monitor
    0xfefb0000 /usr/lib/libthread.so.1
    0xfef80000 /usr/lib/libdl.so.1
    0xfee50000 /usr/lib/libc.so.1
    0xfee30000 /usr/lib/librt.so.1
    0xfee10000 /usr/lib/libaio.so.1
    0xfedf0000 /usr/lib/libmd.so.1
    0xfedd0000 /home/***/plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_1.1.100.v20110505/eclipse_1307.so
    0xfe800000 /home/***/jre/bin/../lib/i386/client/libjvm.so
    0xfedb0000 /usr/lib/libsocket.so.1
    0xfee00000 /usr/lib/libsched.so.1
    0xfed90000 /usr/lib/libm.so.1
    0xfed70000 /usr/lib/libCrun.so.1
    0xfed50000 /usr/lib/libdoor.so.1
    0xfe760000 /usr/lib/libnsl.so.1
    0xfe700000 /usr/lib/libm.so.2
    0xfed30000 /home/***/jre/lib/i386/libverify.so
    0xfe6c0000 /home/***/jre/lib/i386/libjava.so
    0xfe690000 /usr/lib/libmp.so.2
    0xfe660000 /usr/lib/libscf.so.1
    0xfe640000 /usr/lib/libuutil.so.1
    0xfe620000 /usr/lib/libgen.so.1
    0xfe600000 /home/***/jre/lib/i386/native_threads/libhpi.so
    0xfe5a0000 /usr/lib/nss_files.so.1
    0xfe570000 /usr/lib/nss_ldap.so.1
    0xfe550000 /KPR_SOFT/COTS/OpenLDAP-2.4.16/lib/liblber-2.4.so.2
    0xfe500000 /usr/lib/libresolv.so.2
    0xfe4e0000 /usr/sfw/lib/libgcc_s.so.1
    0xfe490000 /KPR_SOFT/COTS/OpenLDAP-2.4.16/lib/libldap-2.4.so.2
    0xfe470000 /usr/lib/libsasl.so.1
    0xfe450000 /usr/lib/libgss.so.1
    0xfe400000 /usr/sfw/lib/libssl.so.0.9.7
    0xfe2e0000 /usr/sfw/lib/libcrypto.so.0.9.7
    0xfe2c0000 /usr/lib/libcmd.so.1
    0xfe2a0000 /usr/sfw/lib/libssl_extra.so.0.9.7
    0xfe280000 /usr/sfw/lib/libcrypto_extra.so.0.9.7
    0xfe240000 /usr/lib/nss_nis.so.1
    0xfe220000 /usr/lib/nss_dns.so.1
    0xfe1f0000 /home/***/jre/lib/i386/libzip.so
    0xfbe30000 /home/***/jre/lib/i386/libj2pkcs11.so
    0xe7b00000 /usr/lib/libpkcs11.so
    0xfbe10000 /usr/lib/libcryptoutil.so.1
    0xe7ab0000 /usr/lib/security/pkcs11_softtoken_extra.so
    0xe7a80000 /home/***/jre/lib/i386/libnet.so
    0xe7a60000 /home/***/jre/lib/i386/libnio.so
    0xe7a40000 /usr/lib/libsendfile.so.1
    0xe7100000 /home/***/configuration/org.eclipse.osgi/bundles/163/1/.cp/libswt-gtk-3735.so
    0xe7080000 /home/***/configuration/org.eclipse.osgi/bundles/163/1/.cp/libswt-pi-gtk-3735.so
    0xe6e00000 /usr/lib/libgtk-x11-2.0.so.0
    0xe74b0000 /usr/lib/libgthread-2.0.so.0
    0xe7310000 /usr/lib/libXtst.so.1
    0xe7230000 /usr/lib/libgdk_pixbuf-2.0.so.0
    0xe6d80000 /usr/lib/libgdk-x11-2.0.so.0
    0xe7210000 /usr/lib/libgmodule-2.0.so.0
    0xe6ce0000 /usr/lib/libglib-2.0.so.0
    0xe6c90000 /usr/lib/libgobject-2.0.so.0
    0xe6c60000 /usr/lib/libatk-1.0.so.0
    0xe6c40000 /usr/lib/libpangoxft-1.0.so.0
    0xe6bf0000 /usr/lib/libpango-1.0.so.0
    0xe6bd0000 /usr/lib/libpangox-1.0.so.0
    0xe6bb0000 /usr/openwin/lib/libXft.so.2
    0xe6b10000 /usr/sfw/lib/libfreetype.so.6
    0xe6af0000 /usr/sfw/lib/libXrender.so.1
    0xe6aa0000 /usr/lib/libfontconfig.so.1
    0xe6950000 /usr/openwin/lib/libX11.so.4
    0xe5800000 /usr/lib/libmlib.so.2
    0xe57e0000 /usr/X11/lib/libXrandr.so.2
    0xe57c0000 /usr/openwin/lib/libXi.so.5
    0xe5790000 /usr/openwin/lib/libXext.so.0
    0xe5750000 /usr/lib/libpangoft2-1.0.so.0
    0xe3600000 /usr/lib/libmlib/libmlib_sse2.so.2
    0xe35b0000 /usr/sfw/lib/libexpat.so.0
    0xe3590000 /usr/lib/libz.so.1
    0xe77f0000 /usr/lib/iconv/UTF-8%646.so

    VM Arguments:
    jvm_args: -Xmx256m
    java_command: <unknown>
    Launcher Type: generic

    Environment Variables:
    PATH=/usr/local/samba/sbin:/usr/local/samba/bin:/usr/sbin:/usr/local/sbin:/usr/bin:
    LD_LIBRARY_PATH=/home/***/jre/lib/i386/client:/home/***/jre/lib/i386:/usr/local/samba/lib::/usr/sfw/lib/mozilla/:/usr/sfw/lib/mozilla/
    SHELL=/bin/bash

    Signal Handlers:
    SIGSEGV: [libjvm.so+0x3fbfd4], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0x3fbfd4], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x11b2c0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x11b2c0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGXFSZ: [libjvm.so+0x11b2c0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x11b2c0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x348af8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGHUP: [libjvm.so+0x348af8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGTERM: [libjvm.so+0x348af8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0x34a7dc], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x11b2c0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c


    --------------- S Y S T E M ---------------

    OS: Solaris 10 5/08 s10x_u5wos_10 X86
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008

    uname:SunOS 5.10 Generic_141445-09 i86pc (T2 libthread)
    rlimit: STACK 10240k, CORE infinity, NOFILE 65536, AS infinity
    load average:1.61 1.57 1.56

    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

    Memory: 4k page, physical 8383604k(3460484k free)

    vm_info: Java HotSpot(TM) Client VM (17.0-b16) for solaris-x86 JRE (1.6.0_21-b06), built on Jun 22 2010 01:39:00 by "" with Workshop 5.8

    time: Wed Aug 6 17:03:56 2014
    elapsed time: 176183 seconds
    Je n'arrive pas à comprendre cette log.
    Quelqu'un a t-il une expérience dans le domaine svp ?

    Merci

  2. #2
    Futur Membre du Club
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2013
    Messages
    23
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Octobre 2013
    Messages : 23
    Points : 6
    Points
    6
    Par défaut
    Bonjour,
    Personne n'en a une petite idée svp ?
    Merci

  3. #3
    Membre averti
    Homme Profil pro
    Dev
    Inscrit en
    Novembre 2006
    Messages
    112
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Dev

    Informations forums :
    Inscription : Novembre 2006
    Messages : 112
    Points : 350
    Points
    350
    Par défaut
    bonjour

    Quand tu as un arrêt de la jvm avec un fichier hs_err_pid%pid%.log ou %pid% est le numéro de processus,
    cela est du à un crash de la JVM.
    d’ailleurs il te propose de leur envoyer ce message d'erreur.



    Apparament , la jvm fait un division par 0 ( émission du signal SIGFPE)
    SIGFPE
    The SIGFPE signal is sent to a process when it executes an erroneous arithmetic operation, such as division by zero (the name "FPE", standing for floating-point exception, is a misnomer as the signal covers integer-arithmetic errors as well).
    src :http://en.wikipedia.org/wiki/Unix_signal#POSIX_signals
    Essais de mettre à jour ta JVM , ça pourrait résoudre le problème.

  4. #4
    Expert éminent sénior
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 481
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    Ta jvm a crashé. Cela peut être du à deux choses principales:

    la jvm a un bug => Regarder si tu es bien à jour, sur la dernière version, dans un environnement supporté et non pas sur un vieux linux
    tu as injecté des libriaries bugguées => est-ce que tu as du code natif dans l'application? Je vois plusieurs choses à ce sujet dans ton message

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    0xe7100000 /home/***/configuration/org.eclipse.osgi/bundles/163/1/.cp/libswt-gtk-3735.so
    0xe7080000 /home/***/configuration/org.eclipse.osgi/bundles/163/1/.cp/libswt-pi-gtk-3735.so
    Tu as donc une application basée sur la plateforme eclipse? C'est bien ça? Vérifie que tu as bien la dernière version, histoire de ne pas passer à coté d'un bug déjà corrigé.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    	/KPR_SOFT/COTS/OpenLDAP-2.4.16/lib/liblber-2.4.so.2
    ce chemin est suspect, on dirait un truc injecté de force et non standard. Quelle est la raison d'être de cette librairie?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    0x08050000 /home/***/Monitor
    Et c'est quoi ce "Monitor" ?

  5. #5
    Futur Membre du Club
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2013
    Messages
    23
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Octobre 2013
    Messages : 23
    Points : 6
    Points
    6
    Par défaut
    Merci pour les retours.

    La librairie "Monitor" est en fait l'application développée et elle est effectivement basée sur la plateforme Eclipse (Eclipse Platform 3.7.0.I20110613-1736), puis ensuite générée avec Maven.

    J'ai demandé les informations concernant la JVM à l'administrateur, j'attends un retour.

    Je vais aussi me renseigner sur la librairie /KPR_SOFT/COTS/OpenLDAP-2.4.16/lib/liblber-2.4.so.2.

Discussions similaires

  1. [Android] Application logging - Play store
    Par 113408 dans le forum Mon application mobile
    Réponses: 6
    Dernier message: 15/11/2012, 23h24
  2. standby 10g - pb applications logs
    Par dba_raph dans le forum Administration
    Réponses: 9
    Dernier message: 30/04/2008, 16h43
  3. Réponses: 7
    Dernier message: 02/11/2006, 14h37
  4. [VB.NET 2.0] Souci avec My.Application.Log
    Par exclusif dans le forum Windows Forms
    Réponses: 1
    Dernier message: 19/09/2006, 22h25
  5. Fichier log application reseau
    Par Hirouchima dans le forum C++
    Réponses: 3
    Dernier message: 11/02/2006, 00h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo