Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » browser widget program crash whenever i submit form
browser widget program crash whenever i submit form [message #467673] Fri, 03 February 2006 13:16 Go to next message
Eclipse UserFriend
Originally posted by: ideawu.163.com

Hi, I'm using Linux debian 2.6.8-11-amd64-generic + eclipse3.1 + swt-3.1-gtk-linux-x86_64

My program crash whenever I try to submit html form, I've checked google.com, eclipse.org, ...

What's wrong?

// My codes here
import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.browser.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.graphics.*;

public class MyBrowser
{
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setText("Main Window");
shell.setLayout(new FillLayout());
Browser browser = new Browser(shell, SWT.NONE);
shell.open();
browser.setUrl("http://www.eclipse.org");
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
}

// The error message
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x0000002a95903642, pid=7495, tid=182899717280
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x7f642] memmove+0x82
#
# An error report file with more information is saved as hs_err_pid7495.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
Re: browser widget program crash whenever i submit form [message #467784 is a reply to message #467673] Mon, 06 February 2006 18:03 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Please enter a bug report against Eclipse Platform SWT.

https://bugs.eclipse.org/bugzilla.html

"ideawu" <ideawu@163.com> wrote in message
news:31728262.1138972624958.JavaMail.root@cp1.javalobby.org...
> Hi, I'm using Linux debian 2.6.8-11-amd64-generic + eclipse3.1 +
> swt-3.1-gtk-linux-x86_64
>
> My program crash whenever I try to submit html form, I've checked
> google.com, eclipse.org, ...
>
> What's wrong?
>
> // My codes here
> import org.eclipse.swt.*;
> import org.eclipse.swt.widgets.*;
> import org.eclipse.swt.browser.*;
> import org.eclipse.swt.layout.*;
> import org.eclipse.swt.graphics.*;
>
> public class MyBrowser
> {
> public static void main(String[] args) {
> Display display = new Display();
> Shell shell = new Shell(display);
> shell.setText("Main Window");
> shell.setLayout(new FillLayout());
> Browser browser = new Browser(shell, SWT.NONE);
> shell.open();
> browser.setUrl("http://www.eclipse.org");
> while (!shell.isDisposed()) {
> if (!display.readAndDispatch())
> display.sleep();
> }
> display.dispose();
> }
> }
>
> // The error message
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # SIGSEGV (0xb) at pc=0x0000002a95903642, pid=7495, tid=182899717280
> #
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # C [libc.so.6+0x7f642] memmove+0x82
> #
> # An error report file with more information is saved as
> hs_err_pid7495.log
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
> Aborted
Previous Topic:EXCEPTION_ACCESS_VIOLATION during setRedraw
Next Topic:Image button with text
Goto Forum:
  


Current Time: Fri Apr 26 11:50:14 GMT 2024

Powered by FUDForum. Page generated in 0.03858 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top