Segmentation Fault [message #670943] |
Mon, 16 May 2011 06:23  |
Eclipse User |
|
|
|
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 #671472 is a reply to message #671345] |
Tue, 17 May 2011 23:16   |
Eclipse User |
|
|
|
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 01:08] by Moderator
|
|
|
Re: Segmentation Fault [message #671595 is a reply to message #671472] |
Wed, 18 May 2011 08:18   |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
Re: Segmentation Fault [message #1711999 is a reply to message #1404030] |
Tue, 20 October 2015 12:33  |
Eclipse User |
|
|
|
The problem is that the Xserver is not set up. I used Xming to run the Xserver and putty to connect to the host.
If I don't run Xlaunch from the Xming, I would get the same error. The problem is that the host did not get the necessary permission. When I run Xserver setup, everything clears up. HOpe that helps.
|
|
|
Powered by
FUDForum. Page generated in 0.14202 seconds