[Spice-devel] [spice-gtk] spice-gtk 0.19 crashed (Segmentation fault) with gtk-directfb

jojo rjiejie at gmail.com
Thu May 9 19:09:48 PDT 2013


Hi,
It crash by now in version 0.19 with gtk-directfb, some extra information is following:

I follow the track and found it crash when calling "gtk_dialog_run()" in function connect_dialog(SpiceSession *session),

du to google's info about for "http://www.gtkforums.com/viewtopic.php?t=1330", i have tested that if i create dialog with "gtk_dialog_new()", it works fine…

some ideas with this ?

gtk+ version: 2.24.15
directfb version: 1.6.1
cairo version: 1.12.14

root at imx6qsabresd:~# gdb spicy
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-poky-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/spicy...done.
(gdb) r
Starting program: /usr/bin/spicy  
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
commandline read: spicy

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2012  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2013-05-07 10:35)  
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'DISP3 BG' (ID 0) with frame buffer at 0x18000000, 4050k (MMIO 0x00000000, 0k)
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver  
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: gpio-keys (1) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: max11801_ts (2) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: mag3110 (3) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: mma845x (4) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Lenovo Lenovo Low Profile USB K (5) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Lenovo Lenovo Low Profile USB K (6) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: USB Optical Mouse (7) 0.1 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver  
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org (http://directfb.org))
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (directfb.org (http://directfb.org))
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org (http://directfb.org))
(*) DirectFB/Core/WM: Default 0.3 (directfb.org (http://directfb.org))
(*) FBDev/Mode: Setting 1920x1080 RGB16
(*) FBDev/Mode: Switched to 1920x1080 (virtual 1920x1080) at 16 bit (RGB16), pitch 3840
(*) FBDev/Mode: Setting 1920x1080 RGB16
(*) FBDev/Mode: Switched to 1920x1080 (virtual 1920x1080) at 16 bit (RGB16), pitch 3840
 (!!!)  *** UNIMPLEMENTED [fusion_get_fusionee_pid] *** [/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/directfb/1.6.1-r0.2/DirectFB-1.6.1/lib/fusion/fusion.c:3513]
(*) Direct/Thread: Started 'EventBufferFeed' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>...
Gdk-DirectFB-Message: gdk_screen_width_mm() assumes a screen resolution of 72 dpi
Gdk-DirectFB-Message: gdk_screen_height_mm() assumes a screen resolution of 72 dpi

(spicy:663): Gdk-DirectFB-WARNING **: gdk_display_request_selection_notification Unimplemented function  


(spicy:663): Gdk-DirectFB-WARNING **: gdk_display_request_selection_notification Unimplemented function  


(spicy:663): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not implemented.


(spicy:663): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not implemented.


Program received signal SIGSEGV, Segmentation fault.
_cairo_dfb_surface_map_to_image (abstract_surface=0xee350, extents=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-directfb-surface.c:177
177     /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-directfb-surface.c: No such file or directory.
(gdb) bt
#0  _cairo_dfb_surface_map_to_image (abstract_surface=0xee350,  
    extents=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-directfb-surface.c:177
#1  0x4f50006c in _cairo_surface_map_to_image (surface=surface at entry=0xee350,  
    extents=extents at entry=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-surface.c:637
#2  0x4f525070 in _cairo_dfb_surface_map_to_image (abstract_surface=0xee350,  
    extents=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-directfb-surface.c:200
#3  0x4f50006c in _cairo_surface_map_to_image (surface=surface at entry=0xee350,  
    extents=extents at entry=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-surface.c:637
#4  0x4f525070 in _cairo_dfb_surface_map_to_image (abstract_surface=0xee350,  
    extents=0x7effd120)
    at /home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cairo/1.12.14-r0/cairo-1.12.14/src/cairo-directfb-surface.c:200
---Type <return> to continue, or q <return> to quit---



--  
jojo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130510/ede5a558/attachment.html>


More information about the Spice-devel mailing list