Menu

#76 SIGSEGV when opening a shell

open
nobody
None
5
2004-12-18
2004-12-18
No

I am using latest CVS of swt-fox. I open a shell in my
gcj compiled app a few times and after doing so 2-5
times I always get the following SIGSEGV.

No testcase yet, but maybe it looks familiar?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079712064 (LWP 30895)]
0x4ba3a1fb in ?? ()
(gdb) bt
#0 0x4ba3a1fb in ?? ()
#1 0x4349921b in _XError ()
from /usr/X11R6/lib/libX11.so.6
#2 0x4349677a in _XReadEvents ()
from /usr/X11R6/lib/libX11.so.6
#3 0x43481b82 in XIfEvent ()
from /usr/X11R6/lib/libX11.so.6
#4 0x40e9b951 in FXEmbedApp::getServerTime ()
from ./lib/libswt-fox-3000r4.so
#5 0x40e9bc34 in FXEmbedTopWindow::setFocus ()
from ./lib/libswt-fox-3000r4.so
#6 0x40ea7a63 in FXCustomTopWindow::setFocus ()
from ./lib/libswt-fox-3000r4.so
#7 0x40eaa7d3 in
Java_org_eclipse_swt_internal_fox_OS_FXWindow_1setFo
cus ()
from ./lib/libswt-fox-3000r4.so
#8 0x0813dce2 in
org::eclipse::swt::internal:🦊:OS::FXWindow_setFocu
s ()
#9 0x0813dd2a in
org::eclipse::swt::widgets::Display::setFocusHandle ()
#10 0x0814181a in
org::eclipse::swt::widgets::Decorations::bringToTop ()
#11 0x08146513 in
org::eclipse::swt::widgets::Control::forceFocus ()
#12 0x0814774a in
org::eclipse::swt::widgets::Control::setFocus ()
#13 0x0814787c in
org::eclipse::swt::widgets::Control::setTabItemFocus ()
#14 0x08147857 in
org::eclipse::swt::widgets::Control::setTabGroupFocus
()
#15 0x08147d6b in
org::eclipse::swt::widgets::Control::traverseGroup ()
#16 0x08142830 in
org::eclipse::swt::widgets::Decorations::fixFocus ()
#17 0x0812f0a4 in
org::eclipse::swt::widgets::Shell::open ()
#18 0x080e9132 in
org::eclipse::jface:🪟:Window::open ()

Discussion

  • Ivan Markov

    Ivan Markov - 2004-12-18

    Logged In: YES
    user_id=714267

    Yes, I have several very similar crash reports.

    Do you, by any chance also run the embedded browser in the
    shell or in another shell in the app?

     
  • Rutger Ovidius

    Rutger Ovidius - 2004-12-18

    Logged In: YES
    user_id=937578

    Yes, I have the web browser embedded in the app's main shell
    (in another composite, but hidden in another tab [a
    Stacklayout]). It is there, but not used when the crash
    occurs.

     
  • Nobody/Anonymous

    Logged In: NO

    I get this all the time (beta 4). It is pretty bad.
    Here is a stacktrace with line numbers from hs_err_pid.log file
    if it helps:

    Current Java thread:
    at org.eclipse.swt.internal.fox.OS.FXWindow_setFocus
    (Native Method)
    - locked <0x4976eaf8> (a java.lang.Class)
    at org.eclipse.swt.widgets.Display.setFocusHandle
    (Display.java:1461)
    at org.eclipse.swt.widgets.Decorations.bringToTop
    (Decorations.java:326)
    at org.eclipse.swt.widgets.Control.forceFocus
    (Control.java:599)
    at org.eclipse.swt.widgets.Control.setFocus
    (Control.java:1924)
    at org.eclipse.swt.widgets.Control.setTabItemFocus
    (Control.java:2176)
    at org.eclipse.swt.widgets.Control.setTabGroupFocus
    (Control.java:2171)
    at org.eclipse.swt.widgets.Control.traverseGroup
    (Control.java:2519)
    at org.eclipse.swt.widgets.Decorations.fixFocus
    (Decorations.java:876)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:599)

     

Log in to post a comment.

MongoDB Logo MongoDB