Results 1 to 5 of 5
  1. #1
    divs is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Swing GUI crashes (using JNI)

    Hi,

    I am working on java swing application(GUI) using JNI code to communicate with native C code. The Swing application launches properly and works fine.
    The GUI is used to start some customized system level tests(io,memory,cpu) and show their progress. The tests have to be left running at-least overnight to get the
    results. However, if I check the next morning, GUI crashes and throws following message.

    Any pointers on source of the issue will be greatly appreciated.

    Java version: java 1.5 / java 1.6
    OS: Solaris 10.

    Thanks,
    Divya

    =============MESSAGES==================
    # uname -a
    SunOS Generic_127127-11 sun4v sparc SUNW,
    #
    # #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # SIGSEGV (0xb) at pc=0xff268924, pid=9473, tid=272
    #
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode)
    # Problematic frame:
    # C [libc.so.1+0x68924] strstr+0x20
    #
    # An error report file with more information is saved as hs_err_pid9473.log
    #
    # If you would like to submit a bug report, please visit:
    # HotSpot Virtual Machine Error Reporting Page
    #

    =============================

    Another machine:

    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0xff231fd0, pid=1406, tid=180
    #
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode solaris-sparc )
    # Problematic frame:
    # C [libc.so.1+0x31fd0] strcpy+0x70
    #
    # An error report file with more information is saved as:
    # /usr/sunvts/bin/hs_err_pid1406.log
    #
    # If you would like to submit a bug report, please visit:
    # HotSpot Virtual Machine Error Reporting Page
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Cross-post from Java-Ranch.

    OP, please read what JavaRanch says in their FAQ regarding cross-posting. The same rules apply here. Thanks for your cooperation.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  4. #4
    divs is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    Cross-post from Java-Ranch.

    OP, please read what JavaRanch says in their FAQ regarding cross-posting. The same rules apply here. Thanks for your cooperation.
    @ Fubarable I think I missed out on that, thanks for pointing out though. You might delete the post as well. I couldn't find a way to remove the thread.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    There is no way to delete the thread. But keep in mind that not to do it next time. It's really frustrating people, really on me. Find the solution may really important from your end, and may be that's why you've post it in several places. But people like us looking into your threads to helping out. But sometime once cross-posters found the solution in a different location, they never come back to here. So that's the wasting our time.

Similar Threads

  1. Multithreaded server crashes
    By skarosg3 in forum Threads and Synchronization
    Replies: 7
    Last Post: 05-26-2010, 10:24 AM
  2. Java crashes
    By Nicole in forum Advanced Java
    Replies: 2
    Last Post: 04-06-2009, 08:22 AM
  3. IE7 crashes on starting java web application.
    By gosia.gabriel in forum Advanced Java
    Replies: 1
    Last Post: 01-19-2009, 03:29 PM
  4. IE crashes when calendar icon on JSP is clicked - only for some browsers
    By dnyan123 in forum JavaServer Pages (JSP) and JSTL
    Replies: 5
    Last Post: 11-12-2008, 10:19 AM
  5. Java Crashes on Mac 10.3.9 not sure how to update
    By patricknowow in forum New To Java
    Replies: 1
    Last Post: 11-30-2007, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •