Results 1 to 7 of 7

Thread: Segmentation Fault

  1. #1
    Join Date
    Sep 2011
    Beans
    12

    Segmentation Fault

    I use ubuntu 11.04. After the upgrade.
    When I use Eclipse Indigo. Eclipse crash with error Segmentation fault.
    Eclipse worked without errors for six months. This is not the fault of Eclipse.How can I find out why this was happening?

  2. #2
    Join Date
    Sep 2011
    Location
    Wherever I go, Here I am
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Segmentation Fault

    open a terminal and use the command to start Eclipse Indigo, this will give you the error code
    Please mark your thread as Solved when appropriate || My WIKI
    ---------------------------


  3. #3
    Join Date
    Sep 2011
    Beans
    12

    Re: Segmentation Fault

    I run eclipse
    -console -consoleLog -debug -vmargs -Xmx384M

    I see when crash:

    ** (Eclipse:15173): DEBUG: NP_Initialize
    ** (Eclipse:15173): DEBUG: NP_Initialize succeeded
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:000] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:000] No bp log location saved, using default.
    [000:001] Browser XEmbed support present: 1
    [000:001] Browser toolkit is Gtk2.
    [000:001] Using Gtk2 toolkit
    ** (Eclipse:15173): DEBUG: NP_Initialize
    ** (Eclipse:15173): DEBUG: NP_Initialize succeeded
    ** (Eclipse:15173): DEBUG: NP_Initialize
    ** (Eclipse:15173): DEBUG: NP_Initialize succeeded
    ** (Eclipse:15173): DEBUG: NP_Initialize
    ** (Eclipse:15173): DEBUG: NP_Initialize succeeded
    Segmentation fault
    Where can I fine default log
    Last edited by konts_A; January 25th, 2012 at 10:44 AM.

  4. #4
    Join Date
    Sep 2011
    Location
    Wherever I go, Here I am
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Segmentation Fault

    Check your /var/log

    Thats where the default logs are
    Please mark your thread as Solved when appropriate || My WIKI
    ---------------------------


  5. #5
    Join Date
    Sep 2011
    Beans
    12

    Re: Segmentation Fault

    ~$ /home/konst/bin/eclipse/indigo/eclipse
    ** (Eclipse:10859): DEBUG: NP_Initialize
    ** (Eclipse:10859): DEBUG: NP_Initialize succeeded
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:001] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:001] No bp log location saved, using default.
    [000:001] Browser XEmbed support present: 1
    [000:001] Browser toolkit is Gtk2.
    [000:001] Using Gtk2 toolkit
    ** (Eclipse:10859): DEBUG: NP_Initialize
    ** (Eclipse:10859): DEBUG: NP_Initialize succeeded
    ** (Eclipse:10859): DEBUG: NP_Initialize
    ** (Eclipse:10859): DEBUG: NP_Initialize succeeded
    ** (Eclipse:10859): DEBUG: NP_Initialize
    ** (Eclipse:10859): DEBUG: NP_Initialize succeeded
    Segmentation Fault
    syslog:
    Jan 26 11:39:01 bor CRON[11006]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
    I no longer see the files (in /var/log) that have changed at this time (Jan 26 11:39)
    When I debug a PHP and Eclipse crash.
    Last edited by konts_A; January 26th, 2012 at 12:54 PM.

  6. #6
    Join Date
    Mar 2008
    Beans
    1

    Re: Segmentation Fault

    Try forcing mozilla, I believe webkit-gtk is causing the segfault.
    ./eclipse -vmargs -Dorg.eclipse.swt.browser.DefaultType=mozilla

  7. #7
    Join Date
    Sep 2011
    Beans
    12

    Re: Segmentation Fault

    Thank you!
    With this option Eclipse not crash.

Bookmarks

Posting Permissions

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