Hi,

I have run into a segmentation fault while testing some demos from Qt 4.6.1,
compiled with DirectFB support. I am using version 1.4.2, but 1.4.3 did not
make a change either. Specifically, the problem appears in some accelerated
rectangle fills, and more precisely when I move the pointer over the main
menu of the Qt application. I am posting below the last portion of DirectFB
debug output. Do you think this is a bug in DirectFB or QT?

With regards,
Strikos Nick

Debug output:

(-) [Main Thread     942.836] (   98) Core/GraphicsOps:  
dfb_gfxcard_fillrectangles( 0x1eb2ec [1], 0x1eb354 )
(-) [Main Thread     942.839] (   98) Core/GraphicsOps:  
dfb_gfxcard_state_check( 0x1eb354, 0x00000001 ) [0,0 - 28,16]
(-) [Main Thread     942.842] (   98) Core/GfxState:     
dfb_gfxcard_state_check( 0x1eb354, 0x00000001 )  drawing -> 0x1eafa8
(-) [Main Thread     943.939] (   98) Core/GfxState:        <- checked
0x00000000, accel 0x00000000, modified 0x00033fff, mod_hw 0x00000000
(-) [Main Thread     943.942] (   98) Core/GfxState:        -> checked
0x00000000, accel 0x00000000, modified 0x00033fff, mod_hw 0x00000000
(-) [Main Thread     943.945] (   98) Core/GfxState:        -> checked
0x00000007, accel 0x00000007, modified 0x00033fff, mod_hw 0x00000000
(-) [Main Thread     943.948] (   98) Core/GfxState:        => checked
0x00000007, accel 0x00000007, modified 0x00000000, mod_hw 0x00033fff
(-) [Main Thread     943.951] (   98) Core/GfxState:     
dfb_gfxcard_state_acquire( 0x1eb354, 0x00000001 )  drawing -> 0x1eafa8
(-) [Main Thread     943.954] (   98) Core/SurfBuffer:   
dfb_surface_buffer_lock( 0x1e5658, 0x02, 0x1eb400 ) <- 29x17 ARGB [0]
(-) [Main Thread     943.957] (   98) Core/SurfBuffer:      -> GPU WRITE
(-) [Main Thread     943.959] (   98) Core/SurfacePool:  
dfb_surface_pools_allocate( 0x1e5658, 0x2 )
(-) [Main Thread     943.961] (   98) Core/SurfacePool:    -> 29x17 ARGB -
PRIVATE
(-) [Main Thread     943.964] (   98) Core/SurfacePool:  
dfb_surface_pools_negotiate( 0x1e5658 [ARGB], 0x02, 0x02, max 4 )
(-) [Main Thread     943.967] (   98) Core/SurfacePool:     ->     0x02
0x000 required
(-) [Main Thread     943.969] (   98) Core/SurfacePool:     -> [3] 0x03
0x21f (0) [Frame Buffer Memory]
(-) [Main Thread     943.972] (   98) FBDev/Surfaces:     fbdevTestConfig(
0x1e5658 )
(-) [Main Thread     943.975] (   98) SurfaceManager:    
dfb_surfacemanager_allocate( 0x1e5658 ) <- 29x17 ARGB
(-) [Main Thread     943.977] (   98) SurfaceManager:       -> pitch 116,
length 1988, available 6467584
(-) [Main Thread     943.980] (   98) FBDev/Surfaces:       -> OK
(-) [Main Thread     943.982] (   98) Core/SurfacePool:       => OK
(-) [Main Thread     943.984] (   98) Core/SurfacePool:     => 1 pools
available
(-) [Main Thread     943.987] (   98) Core/SurfacePool:     => 0 pools out
of memory
(-) [Main Thread     943.989] (   98) Core/SurfacePool:  
dfb_surface_pool_allocate( 0x73898 [3], 0x1e5658 )
(-) [Main Thread     943.992] (   98) FBDev/Surfaces:    
fbdevAllocateBuffer( 0x1e5658 )
(-) [Main Thread     943.995] (   98) SurfaceManager:    
dfb_surfacemanager_allocate( 0x1e5658 ) <- 29x17 ARGB
(-) [Main Thread     943.997] (   98) SurfaceManager:       -> pitch 116,
length 1988, available 6467584
(-) [Main Thread     944.000] (   98) SurfaceManager:       -> found free
(3317370)
(-) [Main Thread     944.002] (   98) SurfaceManager:     occupy_chunk( 1988
bytes at offset 4851382 )
(-) [Main Thread     944.004] (   98) SurfaceManager:       -> occupied
1988, available 6467584
(-) [Main Thread     944.007] (   98) Core/SurfacePool:     -> 0x1619a0
(-) [Main Thread     944.009] (   98) Core/SurfacePool:     -> 0x1619a0
(-) [Main Thread     944.011] (   98) Core/SurfBuffer:   
dfb_surface_allocation_update()
(-) [Main Thread     944.014] (   98) Core/SurfBuffer:      -> increasing
serial...
(-) [Main Thread     944.016] (   98) Core/SurfPoolLock: 
dfb_surface_pool_lock( 0x73898 [3], 0x1619a0 )
(-) [Main Thread     944.019] (   98) FBDev/SurfLock:     fbdevLock(
0x1e5658 )
(-) [Main Thread     944.021] (   98) FBDev/SurfLock:       -> offset
4851382, pitch 116, addr 0x519786b6, phys 0x734a06b6
(-) [Main Thread     944.024] (   98) Core/SurfBuffer:      -> locked 1x now
(-) [Main Thread     944.027] (   98) Core/GfxState:        -> switch from
0x1e524c [1] to 0x1eb354 [1]
(-) [Main Thread     944.029] (   98) Core/GfxState:        -> mod_hw
0x00033fff, modified 0x00000000
(-) [Main Thread     944.032] (   98) Core/GfxState:        -> mod_hw
0x00033fff, set 0x00000000
(-) [Main Thread     944.034] (   98) Core/GfxState:        => mod_hw
0x00000000, set 0x00000007
(-) [Main Thread     944.037] (   98) Core/SurfBuffer:   
dfb_surface_buffer_unlock( 0x1eb400 )
(-) [Main Thread     944.039] (   98) Core/SurfPoolLock: 
dfb_surface_pool_unlock( 0x73898 [3], 0x1619a0 )
(-) [Main Thread     944.042] (   98) FBDev/SurfLock:     fbdevUnlock(
0x1e5658 )
(-) [Main Thread     944.048] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.145] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.148] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.151] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.153] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.158] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.160] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.163] (   98) IDirectFBSurface:  
IDirectFBSurface_SetPorterDuff( 0x1eb1b8, 3 )
(-) [Main Thread     945.165] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.168] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.170] (   98) IDirectFBSurface:  
IDirectFBSurface_SetClip( 0x1eb1b8, 0xef933610 )
(-) [Main Thread     945.173] (   98) IDirectFBSurface:     <-         0,  
0-  29x  17
(-) [Main Thread     945.176] (   98) IDirectFBSurface:     ->         0,  
0-  29x  17
(-) [Main Thread     945.178] (   98) IDirectFBSurface:     => CLIP    0,  
0-  29x  17
(-) [Main Thread     945.181] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.184] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.188] (   98) IDirectFBSurface:  
IDirectFBSurface_Lock( 0x1eb1b8 )
(-) [Main Thread     945.191] (   98) Core/SurfBuffer:   
dfb_surface_buffer_lock( 0x1e5658, 0x03, 0x1eb328 ) <- 29x17 ARGB [0]
(-) [Main Thread     945.194] (   98) Core/SurfBuffer:      -> CPU READWRITE
(-) [Main Thread     945.196] (   98) Core/SurfBuffer:   
dfb_surface_allocation_update()
(-) [Main Thread     945.199] (   98) Core/SurfBuffer:      -> increasing
serial...
(-) [Main Thread     945.201] (   98) Core/SurfPoolLock: 
dfb_surface_pool_lock( 0x73898 [3], 0x1619a0 )
(-) [Main Thread     945.203] (   98) FBDev/SurfLock:     fbdevLock(
0x1e5658 )
(-) [Main Thread     945.205] (   98) FBDev/SurfLock:       -> offset
4851382, pitch 116, addr 0x519786b6, phys 0x734a06b6
(-) [Main Thread     945.208] (   98) Core/SurfBuffer:      -> locked 1x now
(-) [Main Thread     945.210] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.213] (   98) IDirectFBSurface:  
IDirectFBSurface_GetPixelFormat( 0x1eb1b8 )
(-) [Main Thread     945.216] (   98) IDirectFBSurface:  
IDirectFBSurface_GetCapabilities( 0x1eb1b8 )
(-) [Main Thread     945.219] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(-) [Main Thread     945.222] (   98) IDirectFBSurface:  
IDirectFBSurface_GetSize( 0x1eb1b8 )
(!) [   98:  945.229] --> Caught signal 10 (unknown origin) <--


-----
Strikos Nick
Think Silicon Ltd
http://www.think-silicon.com http://www.think-silicon.com 
-- 
View this message in context: 
http://old.nabble.com/Segmentation-fault-in-DirectFB-core-tp27744931p27744931.html
Sent from the DirectFB Dev mailing list archive at Nabble.com.

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to