|
Re: Segmentation Fault [message #671004 is a reply to message #670943] |
Mon, 16 May 2011 13:57 |
|
Ubuntu server, really? You should be using Ubuntu desktop which has a
desktop (GNOME/KDE/whatever). Unless you go to some trouble to install
all of that on server, it doesn't come with the capacity to run GUI apps.
On 2011.05.16 4:23, thoufiq wrote:
> Hi All,
> I have installed sun-java6 and eciipse-ide in my
> ubuntu server 10.10. My java is running fine but while
> running eclipse, i got segmentation error. I had googlled
> lots of times but the answers are not good to resolve the
> error. Can anyone suggest me to resolve this error. Below i
> have pasted the result...
>
> sam-osm@dhcppc4:usr/local/opt/eclipse$ sudo ./eclipse
>
> (eclipse:2960): GLib-GObject-WARNING **: invalid (NULL)
> pointer instance
>
> (eclipse:2960): GLib-GObject-CRITICAL **:
> g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE'
> (instance) failed
>
> (eclipse:2960): Gtk-CRITICAL **: IA__gtk_screen_get_display:
> assertion 'GDK_IS_SCREEN (screen)' failed
>
> (eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not
> set; you must always set a screen for a GtkWindow before
> using the window
>
> (eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not
> set; you must always set a screen for a GtkWindow before
> using the window
>
> (eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_display:
> assertion 'GDK_IS_SCREEN (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_display_get_pointer: assertion 'GDK_IS_DISPLAY
> (display)' failed
>
> (eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not
> set; you must always set a screen for a GtkWindow before
> using the window
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_n_monitors: assertion 'GDK_IS_SCREEN
> (screen)' failed
>
> (eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not
> set; you must always set a screen for a GtkWindow before
> using the window
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_monitors_geometry: assertion
> 'GDK_IS_SCREEN (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_default_colormap: assertion
> 'GDK_IS_SCREEN (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP
> (colormap)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_default_colormap: assertion
> 'GDK_IS_SCREEN (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN
> (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **:
> IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN
> (screen)' failed
>
> (eclipse:2960): Gdk-CRITICAL **: IA__gdk_window_new:
> assertion 'GDK_IS_WINDOW (parent)' failed
> Segmentation fault
>
> Anyone suggest me to overcome this error.
>
> Thanks
|
|
|
|
Re: Segmentation Fault [message #671205 is a reply to message #671120] |
Tue, 17 May 2011 06:32 |
thoufiq Messages: 16 Registered: May 2011 |
Junior Member |
|
|
Hello Eric,
I have downloaded the file eclipse-php-helious-linux-gtk.tar.gz from eclipse website and extarcted it. I ahd followed the steps given in the link www.cyberciti.biz/faq/ubuntu-linux-install-eclipse-java-ide/, then i installed eclipse and eclipse-jdt using sudo apt-get install eclipse eclipse-jdt. Upto this step all are fine but while running the eclipse, i got that segmentation fault error. I had stuckked in this for morethan a week and can you suggest me the right direction.Also my java is working fine.
Thanks
[Updated on: Tue, 17 May 2011 06:39] Report message to a moderator
|
|
|
Re: Segmentation Fault [message #671257 is a reply to message #671205] |
Tue, 17 May 2011 10:03 |
thoufiq Messages: 16 Registered: May 2011 |
Junior Member |
|
|
Hello All,
I googlled and made some changes in eclipse.ini, then i got a fatal error like this
sam-osm@dhcppc4:usr/local/opt/eclipse$ sudo ./eclipse
(eclipse:2960): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(eclipse:2960): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE' (instance) failed
(eclipse:2960): Gtk-CRITICAL **: IA__gtk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_display_get_pointer: assertion 'GDK_IS_DISPLAY (display)' failed
(eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_monitors_geometry: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
(eclipse:2960): Gdk-CRITICAL **: IA__gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed
#
# A fatal error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb3f0abdd, pid=3399, tid=3067538288
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libgtk-x11-2.0.so.0+0x60bdd] gdk_window_enable_synchronized_configure+0x1d
#
# An error report file with more information is saved as hs_err_pid3399.log
#
# If you would like to submit a bug report, please visit:
# java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problamatic frame for where to report the bug.
#
Below i had pasted my eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20 100503
-product
org.eclipse.epp.package.php.product
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512M
-vm
usr/lib/jvm/java-6-sun/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx512m
Help me guys...
Thanks
[Updated on: Tue, 17 May 2011 10:11] Report message to a moderator
|
|
|
|
Re: Segmentation Fault [message #671472 is a reply to message #671345] |
Wed, 18 May 2011 03:16 |
thoufiq Messages: 16 Registered: May 2011 |
Junior Member |
|
|
Eric Rizzo wrote on Tue, 17 May 2011 10:52On 5/17/11 2:32 AM, thoufiq wrote:
> Hello Eric,
> I have downloaded the file
> eclipse-php-helious-linux-gtk.tar.gz from eclipse website
> and extarcted it. Then i installed eclipse and eclipse-jdt
> using sudo apt-get install ecipse eclipse-jdt. Upto this
> step all are fine but while running the eclipse, i got that
> segmentation fault error. I had stuckked in this for
> morethan a week and can you suggest me the right
> direction.Also my java is working fine.
As I said, don't use Eclipse that is installed with a package manager
like apt. Delete that and just use the Eclipse that you extracted from
the Eclipse web site.
Eric
Hai Eric,
Thank you for suggesting me. Can you tell how to install the extracted file eclipse-php-helious-linux-gtk.tar.gz, after extraction it becmes a directory called eclipse.
~/usr/local/opt$ ls
eclipse eclipse-php-helious-linux-gtk.tar.gz
~/usr/local/opt/eclipse$ ls
about_files; artifacts.xml; dropins; eclipse.ini; features; libcairo-swt.so; p2 readme; about.html; configuration; eclipse; epl-v10.html; icon.xml; notice.html; plugins
I have googlled and get these commands to install extracted file such as ./configure, make and make install but when i giving this commands also i got error like this
~/usr/local/opt/eclipse$ ./configre
-bash: ./configure; No such file or directory
~/usr/local/opt/eclipse$ make
make: ***No targets specified and no makefile found. Stop.
~/usr/local/opt/eclipse$ make install
make: ***No rule to make target 'install'. Stop.
Is there any mistake i did? If so pls let me know.
Thanks
[Updated on: Wed, 18 May 2011 05:08] Report message to a moderator
|
|
|
Re: Segmentation Fault [message #671595 is a reply to message #671472] |
Wed, 18 May 2011 12:18 |
|
Just as for Windows, Eclipse isn't "installed" in any formal sense. You
explode the archive (what you've done) and consume it from where you
exploded it. You can move it from where you exploded it to wherever in
the file system you want. I keep my copy on the path
/home/russ/dev/eclipse. In GNOME, if you're running it, you can create a
launcher and pin its icon to your top panel or create the launcher on
the desktop. Or you can put it into an existing menu such as
Applications -> Programming.
On 2011.05.17 21:16, thoufiq wrote:
> Eric Rizzo wrote on Tue, 17 May 2011 10:52
>> On 5/17/11 2:32 AM, thoufiq wrote:
>> > Hello Eric,
>> > I have downloaded the file
>> > eclipse-php-helious-linux-gtk.tar.gz from eclipse
>> > website
>> > and extarcted it. Then i installed eclipse and
>> > eclipse-jdt
>> > using sudo apt-get install ecipse eclipse-jdt. Upto
>> > this
>> > step all are fine but while running the eclipse, i
>> > got that
>> > segmentation fault error. I had stuckked in this
>> > for
>> > morethan a week and can you suggest me the right
>> > direction.Also my java is working fine.
>>
>> As I said, don't use Eclipse that is installed with a
>> package manager like apt. Delete that and just use the Eclipse that you
>> extracted from the Eclipse web site.
>>
>> Eric
>
>
>
> Hai Eric,
> Thank you for suggesting me. Can you tell how to
> install the extracted file
> eclipse-php-helious-linux-gtk.tar.gz, after extraction it
> becmes a directory called eclipse.
>
> ~/usr/local/opt$ ls
> eclipse eclipse-php-helious-linux-gtk.tar.gz
>
> ~/usr/local/opt/eclipse$ ls
> about_files artifacts.xml dropins eclipse.ini features
> libcairo-swt.so p2 readme
> about.html configuration eclipse epl-v10.html icon.xml
> notice.html plugins
>
>
> I have googlled and get these commands to install extracted
> file such as ./configure, make and make install but when i
> giving this commands also i got error like this
>
> ~/usr/local/opt/eclipse$ ./configre
> -bash: ./configure; No such file or directory
>
> ~/usr/local/opt/eclipse$ make
> make: ***No targets specified and no makefile found. Stop.
>
> ~/usr/local/opt/eclipse$ make install
> make: ***No rule to make target 'install'. Stop.
>
> Is there any mistake i did? If so pls let me know.
>
>
> Thanks
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06410 seconds