GTK+-Direct FB crash when an SWT Image is created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello,

On an emmbedded device we have a Java-SWT application. I have a very small Java-SWT application that just shows a hello world button and cretates an object of the (SWT) class Image. At the moment the object of the class Image is created, Direct fb terminates with a 'signal 11' (if we 'comment out' the creation of the image, the crash does not occur):

(-) [  NO NAME         0.873] ( 9684) Fusion/Object:     == Window Pool ==
(-) [  NO NAME         0.874] ( 9684) Fusion/Object:       -> added 0x1023ed10
(-) [  NO NAME         0.874] ( 9684) Core/Surface:      dfb_surface_create( core 0x1013de98, size 1x1, format RGB16 )
(-) [  NO NAME         0.875] ( 9684) Fusion/Object:     == Surface Pool ==
(-) [  NO NAME         0.876] ( 9684) Fusion/Object:       -> added 0x1023e718
(-) [  NO NAME         0.877] ( 9684) IDirectFBWindow:   IDirectFBWindow_Construct() <- 0, 0 - 1x1
(-) [  NO NAME         0.878] ( 9684) IDirectFBWindow:   IDirectFBWindow_React()
(-) [VT Switcher       1.175] ( 1925) DirectFB/fbdev/vt: vt_thread (-1)
(!) [ 9684:    1.162] --> Caught signal 11 (at 0x1c, invalid address) <--
(-) [  NO NAME         1.163] ( 9684) DirectFB/Core: dfb_core_destroy...
(-) [  NO NAME         1.164] ( 9684) Direct/Signals:    Removing handler 0x2baf149c for signal -1 with context 0x1013de98...
(-) [  NO NAME         1.165] ( 9684) DirectFB/Core: Shutting down...

The debugger:

#0  0x2b9b7b48 in gdk_pixmap_new (window=0x10164450, width=10, height=10, depth=-1) at gdkpixmap-directfb.c:150
#1  0x2b4b5e7c in Java_org_eclipse_swt_internal_gtk_OS_gdk_1pixmap_1new () from /root/SWT/spikeApplication/libswt-pi-gtk-3064.so
#2  0x004fe698 in CVMjniInvokeNative ()
#3  0x0045a46c in CVMinvokeJNIHelper ()
#4  0x004fc000 in CVMgcUnsafeExecuteJavaMethod ()
#5  0x0048fa10 in CVMjniInvoke ()
#6  0x004923a8 in CVMjniCallStaticVoidMethod ()
#7  0x004e7f64 in ansiJavaMain ()
#8  0x004e799c in main ()

(gdb) frame 0
#0  0x2b9b7b48 in gdk_pixmap_new (window=0x10164450, width=10, height=10, depth=-1) at gdkpixmap-directfb.c:150
150           draw_impl->surface->GetPixelFormat (draw_impl->surface, &format);
(gdb) print draw_impl
$1 = (GdkDrawableImplDirectFB *) 0x10164450
(gdb) print draw_impl->surface
$2 = (IDirectFBSurface *) 0x0

The surface attribute is null and results in a crash.

We use the Java CDC foundation profile virtual machine (version 1.0.1), SWT (version 3.064), GTK+ for Direct FB(version 2.0.9-2) and Direct FB(version 0.9.22). All examples from GTK+ run fine, so various widgets and images are shown on the frame buffer (the pixmap example also works fine).

Any suggestions would be welcome! Thanks, Rene
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux