I ran "dfbdump -p" ok,but failed with "dfbdump -dl"
debug got these I tried to add some sleep(10) before release();still got these

 //here is my info before dfb->release();
(*) Ryan:now release
(-) [Main Thread      12.316] ( 1040) IDirectFB:
IDirectFB_Release( 0x20790 )
(-) [Main Thread      12.316] ( 1040) IDirectFB:
IDirectFB_Destruct( 0x20790 )
(-) [Main Thread      12.317] ( 1040) Fusion/SHMPool:
fusion_shm_pool_deallocate( 0x20000100, 0x20012f60 )
(-) [Main Thread      12.317] ( 1040) Fusion/SHMHeap:
__shmalloc_brk( 0x20010000, 0 )
(-) [Main Thread      12.318] ( 1040) Fusion/SHMHeap:
_fusion_shfree( 0x20010000, 0x20012f60 )

//from here different with "dfbdump -p " so I think maybe
_fusion_shfree cause signal ?
(-) [Main Thread      12.318] ( 1040) DirectFB/Core:
dfb_core_destroy...
(-) [Main Thread      12.319] ( 1040) Direct/Signals:
Removing handler 0x40081d04 for signal -1 with context 0x1c670...
(-) [Main Thread      12.319] ( 1040) Direct/Main:
Removing cleanup handler 0x40081c04 with context (nil)...
(-) [Main Thread      12.320] ( 1040) Fusion/Main:
fusion_kill( 0x1c770, 0, 15, 5000 )
(-) [Main Thread      12.320] ( 1040) Fusion/Main:
fusion_kill( 0x1c770, 0, 9, 2000 )
(-) [Main Thread      12.321] ( 1040) Fusion/Arena:
fusion_arena_exit( 'DirectFB/Core' )
(-) [Main Thread      12.321] ( 1040) Fusion/SHMPool:
  fusion_shm_pool_deallocate( 0x20000100, 0x20012fc0 )
(-) [Main Thread      12.322] ( 1040) Fusion/SHMHeap:
      __shmalloc_brk( 0x20010000, 0 )
(-) [Main Thread      12.322] ( 1040) Fusion/SHMHeap:
      _fusion_shfree( 0x20010000, 0x20012fc0 )
(-) [Main Thread      12.323] ( 1040) DirectFB/Core:
  Shutting down...
(-) [Main Thread      12.323] ( 1040) Fusion/Object:
      == Layer Region Pool ==
(-) [Main Thread      12.324] ( 1040) Fusion/Object:
        -> destroying pool...
(-) [Main Thread      12.324] ( 1040) Fusion/Object:
        -> syncing...
(-) [Main Thread      12.324] ( 1040) Fusion/Main:
          fusion_sync( 0x1c770 )
(-) [Main Thread      12.325] ( 1040) Fusion/Main:
          syncing with fusion device...
(-) [Main Thread      12.343] ( 1040) Fusion/Main:
            -> select() returned 0...
(-) [Main Thread      12.343] ( 1040) Fusion/Main:
            -> synced.
(-) [Main Thread      12.344] ( 1040) Fusion/Object:
        -> locking...
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
[object.c:241 in fusion_object_pool_destroy()]
(-) [ 1040: -STACK- ]
  #0  0x400ef138 in fusion_object_pool_destroy () from
/opt/dfb/lib/libfusion-1.1.so.0 [0x400e1000]
  #1  0x40081da0 in ?? () from /opt/dfb/lib/libdirectfb-1.1.so.0 [0x40028000]
  #2  0x40082680 in ?? () from /opt/dfb/lib/libdirectfb-1.1.so.0 [0x40028000]
  #3  0x400e5740 in $d () from /opt/dfb/lib/libfusion-1.1.so.0 [0x400e1000]
  #4  0x4007fdd0 in dfb_core_destroy () from
/opt/dfb/lib/libdirectfb-1.1.so.0 [0x40028000]
  #5  0x400398a4 in IDirectFB_Destruct () from
/opt/dfb/lib/libdirectfb-1.1.so.0 [0x40028000]
  #6  0x40039a64 in ?? () from /opt/dfb/lib/libdirectfb-1.1.so.0 [0x40028000]
(-) [Main Thread      12.503] ( 1040) Fusion/Main:
          fusion_fork_handler_parent()

DirectFB uptime: 00:00:09

-----------------------------[ Surfaces ]-------------------------------------
Reference   FID  . Refs  Width Height  Format     Video   System  Capabilities
------------------------------------------------------------------------------
0x00000004 [  1] :   2    800 x  480      RGB16   750k     750k
video only   double
                                                ------   ------
                                                  750k     750k   -> 1500k total

----------------------------------[ Contexts of Layer 0
]----------------------------------------
Reference   FID  . Refs  Width Height Format   Location on screen
Regions  Active  Info    Level
-------------------------------------------------------------------------------------------------
0x00000002 [  1] :   3    800 x  480  RGB16    0.0, 0.0 -> 1.0, 1.0
1     (*)    SHARED   N/A

(!) [ 1040:   19.413] --> Caught signal 2 (sent by the kernel) <--
(-) [ 1041: -STACK- ]
  #0  0x400eaf88 in ?? () from /opt/dfb/lib/libfusion-1.1.so.0 [0x400e1000]

I build dfb with this

Build options:
  Version                   1.1.1
  Install prefix            /opt/dfb
  Build shared libs         yes
  Build static libs         no
  Module directory          ${exec_prefix}/lib/directfb-1.1-0
  CPPFLAGS                  -D_REENTRANT
  CFLAGS                    -O3 -ffast-math -pipe  -g3 -fno-inline
-D_GNU_SOURCE  -finstrument-functions
-Werror-implicit-function-declaration
  LDFLAGS
  LIBS                      -ldl -lpthread

Misc options:
  Multi Application Core    yes
  Fusion message size       1024
  Debug supported           yes
  Debug enabled             yes
  Trace support             yes
  Network support           yes
  sysfs support             yes

Building Tools              yes

Building System Modules:
  Linux FBDev support       yes
  Generic /dev/mem support  yes

Building Window Manager Modules:
  Default                   yes

Building Image Provider Modules:
  JPEG                      yes
  MPEG2 I-Frame             yes
  PNG                       yes

Building Font Modules:
  FreeType2                 yes
  Default font              yes

Building Graphics Drivers:
  TI Davinci                yes

Building Input Drivers:
  LiRC                      yes
  WM97xx Touchscreen        yes

Linux-Fusion header not found. Using EXPERIMENTAL Builtin Multi
application core!

-- 
----RyanYee
How many roads must a man walk down before
you can call him a Man?How many years can
 some people exist before They're allowed to
be free?the answer is Blowing in the wind...

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

Reply via email to