Hi
While testing GTKDFB with DFB 1.0-rc2, i run into the attached crash
(never experienced something similar with DFB 0.9.25).
I tought this may be due to 1.0 release preparations, so i posted there
instead of in Gnome's BTS.
Does something in GDKDFB needs to be updated to work with DFB 1.0 ?
thanks
Attilio
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1486530880 (LWP 25782)]
IDirectFBSurface_Release (thiz=0x80a19e0) at idirectfbsurface.c:139
139 if (--data->ref == 0)
(gdb) i threads
3 Thread -1502700624 (LWP 25784) 0xa76b3b07 in sse_memcpy (to=0xa5db7ed0,
from=0xa5c89ed0,
len=1272) at memcpy.c:324
2 Thread -1494307920 (LWP 25783) 0xffffe410 in __kernel_vsyscall ()
* 1 Thread -1486530880 (LWP 25782) IDirectFBSurface_Release (thiz=0x80a19e0)
at idirectfbsurface.c:139
(gdb) bt 5
#0 IDirectFBSurface_Release (thiz=0x80a19e0) at idirectfbsurface.c:139
#1 0xa7edcc6c in _gdk_visual_init () at gdkvisual-directfb.c:165
#2 0xa7ed25d6 in IA__gdk_display_open (display_name=0x0) at
gdkdisplay-directfb.c:132
#3 0xa7eb0e3f in IA__gdk_display_open_default_libgtk_only () at gdk.c:278
#4 0xa7c7008f in IA__gtk_init_check (argc=0xafc5fc50, argv=0xafc5fc54) at
gtkmain.c:889
(More stack frames follow...)
(gdb) f 1
#1 0xa7edcc6c in _gdk_visual_init () at gdkvisual-directfb.c:165
165 src->Release (src);
(gdb) l
160 {
161 system_visual = GDK_VISUAL (visuals[c]);
162 c++;
163 }
164
165 src->Release (src);
166 }
167
168 dest->Release (dest);
169
(gdb) p *src
$3 = {priv = 0x200801, magic = 185931549, AddRef = 0xa76e1dc0
<IDirectFBSurface_AddRef>,
Release = 0xa76e68b0 <IDirectFBSurface_Release>,
GetCapabilities = 0xa76e19d0 <IDirectFBSurface_GetCapabilities>,
GetSize = 0xa76e1c20 <IDirectFBSurface_GetPosition>,
GetVisibleRectangle = 0xa76e1b50 <IDirectFBSurface_GetSize>,
GetPixelFormat = 0xa76e1a80 <IDirectFBSurface_GetVisibleRectangle>,
GetAccelerationMask = 0xa76e1cf0 <IDirectFBSurface_GetPixelFormat>,
GetPalette = 0xa76e6480 <IDirectFBSurface_GetAccelerationMask>,
SetPalette = 0xa76e62c0 <IDirectFBSurface_GetPalette>,
SetAlphaRamp = 0xa76e61d0 <IDirectFBSurface_SetPalette>,
Lock = 0xa76e60e0 <IDirectFBSurface_SetAlphaRamp>, Unlock = 0xa76e5f70
<IDirectFBSurface_Lock>,
Flip = 0xa76e06a0 <IDirectFBSurface_GetFramebufferOffset>,
SetField = 0xa76e5eb0 <IDirectFBSurface_Unlock>, Clear = 0xa76e5c80
<IDirectFBSurface_Flip>,
SetClip = 0xa76e5ba0 <IDirectFBSurface_SetField>,
SetColor = 0xa76e5820 <IDirectFBSurface_Clear>,
SetColorIndex = 0xa76e56b0 <IDirectFBSurface_SetClip>,
SetSrcBlendFunction = 0xa76e18d0 <IDirectFBSurface_GetClip>,
SetDstBlendFunction = 0xa76e51e0 <IDirectFBSurface_SetColor>,
SetPorterDuff = 0xa76e17a0 <IDirectFBSurface_SetColorIndex>,
SetSrcColorKey = 0xa76e16a0 <IDirectFBSurface_SetSrcBlendFunction>,
SetSrcColorKeyIndex = 0xa76e15a0 <IDirectFBSurface_SetDstBlendFunction>,
SetDstColorKey = 0xa76e1370 <IDirectFBSurface_SetPorterDuff>,
SetDstColorKeyIndex = 0xa76e5550 <IDirectFBSurface_SetSrcColorKey>,
SetBlittingFlags = 0xa76e1260 <IDirectFBSurface_SetSrcColorKeyIndex>,
Blit = 0xa76e53a0 <IDirectFBSurface_SetDstColorKey>,
TileBlit = 0xa76e10f0 <IDirectFBSurface_SetDstColorKeyIndex>,
BatchBlit = 0xa76e0e40 <IDirectFBSurface_SetBlittingFlags>,
StretchBlit = 0xa76e4f50 <IDirectFBSurface_Blit>,
TextureTriangles = 0xa76e4c80 <IDirectFBSurface_TileBlit>,
SetDrawingFlags = 0xa76e49c0 <IDirectFBSurface_BatchBlit>,
FillRectangle = 0xa76e4650 <IDirectFBSurface_StretchBlit>,
DrawRectangle = 0xa76e4240 <IDirectFBSurface_TextureTriangles>,
DrawLine = 0xa76e0f30 <IDirectFBSurface_SetDrawingFlags>,
---Type <return> to continue, or q <return> to quit---
DrawLines = 0xa76e3990 <IDirectFBSurface_FillRectangle>,
FillTriangle = 0xa76e3dc0 <IDirectFBSurface_DrawRectangle>,
FillRectangles = 0xa76e4070 <IDirectFBSurface_DrawLine>,
FillSpans = 0xa76e3ee0 <IDirectFBSurface_DrawLines>,
SetFont = 0xa76e3c90 <IDirectFBSurface_FillTriangle>,
GetFont = 0xa76e3ac0 <IDirectFBSurface_FillRectangles>,
DrawString = 0xa76e3810 <IDirectFBSurface_FillSpans>,
DrawGlyph = 0xa76e36a0 <IDirectFBSurface_SetFont>,
GetSubSurface = 0xa76e1020 <IDirectFBSurface_GetFont>,
GetGL = 0xa76e3340 <IDirectFBSurface_DrawString>,
Dump = 0xa76e30d0 <IDirectFBSurface_DrawGlyph>,
DisableAcceleration = 0xa76e0d90 <IDirectFBSurface_SetEncoding>,
GetClip = 0xa76e2ad0 <IDirectFBSurface_GetSubSurface>}
(gdb) f 0
#0 IDirectFBSurface_Release (thiz=0x80a19e0) at idirectfbsurface.c:139
139 if (--data->ref == 0)
(gdb) p data
$4 = {{fixed = 0, number = 60482, severity = 0x8066622 "Normal",
description = 0x80666fc "scrollable notebooks and hidden tabs"}, {fixed =
0, number = 60620,
severity = 0x8066629 "Critical",
description = 0x8066724 "gdk_window_clear_area (gdkwindow-win32.c) is not
thread-safe"}, {
fixed = 0, number = 50214, severity = 0x8066632 "Major",
description = 0x8066764 "Xft support does not clean up correctly"}, {fixed
= 1,
number = 52877, severity = 0x8066632 "Major",
description = 0x806678c "GtkFileSelection needs a refresh method. "},
{fixed = 0,
number = 56070, severity = 0x8066622 "Normal",
description = 0x80667b8 "Can't click button after setting in sensitive"},
{fixed = 1,
number = 56355, severity = 0x8066622 "Normal",
description = 0x80667e8 "GtkLabel - Not all changes propagate correctly"},
{fixed = 0,
number = 50055, severity = 0x8066622 "Normal",
description = 0x8066818 "Rework width/height computations for TreeView"},
{fixed = 0,
number = 58278, severity = 0x8066622 "Normal",
description = 0x8066848 "gtk_dialog_set_response_sensitive () doesn't
work"}, {fixed = 0,
number = 55767, severity = 0x8066622 "Normal",
description = 0x8066638 "Getters for all setters"}, {fixed = 0, number =
56925,
severity = 0x8066622 "Normal", description = 0x8066650 "Gtkcalender size"},
{fixed = 0,
number = 56221, severity = 0x8066622 "Normal",
description = 0x806687c "Selectable label needs right-click copy menu"},
{fixed = 1,
number = 50939, severity = 0x8066622 "Normal",
description = 0x80668ac "Add shift clicking to GtkTextView"}, {fixed = 0,
number = 6112,
severity = 0x8066661 "Enhancement",
description = 0x80668d0 "netscape-like collapsable toolbars"}, {fixed = 0,
number = 1,
severity = 0x8066622 "Normal", description = 0x806666d "First bug :=)"}}
(gdb) p data->ref
There is no member named ref.
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev