| Summary: | error on DirectFB | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Eric Miranda <microbiu> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | couriersud, microbiu |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| Attachments: |
mylyn/context/zip
mylyn/context/zip mylyn/context/zip |
||
|
Description
Eric Miranda
2009-01-14 21:42:26 UTC
Please post the output of "dfbinfo", "cat /etc/directfbrc" as well as the whole output from your application here. Are you able to run native directfb applications such as dfbterm, df_andi or df_neo (packages dfbterm / dfb_examples)? If you compiled directfb with "--enable-multi" did you do "modprobe fusion" ? Created attachment 289 [details]
mylyn/context/zip
Created attachment 290 [details]
mylyn/context/zip
Test
Created attachment 291 [details]
mylyn/context/zip
root@slackade:~# dfbinfo
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-01-07 14:09)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3669)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3672)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3673)...
(*) DirectFB/Input: Power Button (FF) (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3674)...
(*) DirectFB/Input: Power Button (CM) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3675)...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3676)...
(*) DirectFB/Input: NOVATEK USB Keyboard (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3677)...
(*) DirectFB/Input: NOVATEK USB Keyboard (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 3678)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV44 (0441) 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
Screen (00) NVidia Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT
Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE BRIGHTNESS CONTRAST SATURATION
Layer (01) NVidia Overlay
Type: VIDEO STILL_PICTURE
Caps: SURFACE SCREEN_LOCATION DEINTERLACING DST_COLORKEY BRIGHTNESS CONTRAST HUE SATURATION SCREEN_POSITION SCREEN_SIZE
Input (00) Keyboard (primary keyboard)
Type: KEYBOARD
Caps: KEYS
Input (13) NOVATEK USB Keyboard
Type: KEYBOARD
Caps: KEYS
Input (01) IMPS/2 Mouse (primary mouse)
Type: MOUSE
Caps: AXES BUTTONS
Max. Axis: 2
Max. Button: 2
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@slackade:~# cat /usr/etc/directfbrc
# based on goredaimon's directfbrc
# goredaimon.blogspot.com
# Eric Miranda <microbiu@terra.com.br>
# Mon Oct 20 03:55:44 BRT 2008
depth=16
quiet
no-vt
no-banner
no-debug
no-debugmem
no-debugshm
no-trace
vsync-none
bg-color=000000
#disable-module=joystick
#disable-module=linux_input
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@slackade:~# advmenu
AdvanceMENU - Copyright (C) 1999-2008 by Andrea Mazzoleni
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-01-07 14:09)
(!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.0-0/systems/libdirectfb_x11.so'!
--> /usr/lib/directfb-1.0-0/systems/libdirectfb_x11.so: undefined symbol: dfb_surface_flip_buffers
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3646)...
(!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_penmount.so'!
--> /usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_penmount.so: undefined symbol: dfb_input_modules
(*) Direct/Modules: suppress module 'x11input'
(!) Direct/Modules: Module 'libdirectfb_x11input.so' did not register itself after loading! Trying default module constructor...
(!) Direct/Modules: ... even did not register after explicitly calling the module constructor!
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3649)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3650)...
(*) DirectFB/Input: Power Button (FF) (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3651)...
(*) DirectFB/Input: Power Button (CM) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3652)...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3653)...
(*) DirectFB/Input: NOVATEK USB Keyboard (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3654)...
(*) DirectFB/Input: NOVATEK USB Keyboard (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 3655)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV44 (0441) 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
DirectFB Device Information
===========================
Name: NV44 (0441)
Vendor: nVidia
Driver Name: nVidia NV4/NV5/NV10/NV20/NV30 Driver
Driver Vendor: directfb.org
Driver Version: 0.6
Video memoory: 134217728
Blitting flags:
Drawing flags:
Acceleration flags:
(!) [ 3645: 0.000] --> Caught signal 11 (at 0x44, invalid address) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [setting window->stack = NULL] *** [default.c:2805 in wm_close_stack()]
(!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
./src/video/directfb/SDL_DirectFB_mouse.c <180>:
windata->window-> SetCursorShape(windata->window, curdata->surf, curdata->hotx, curdata->hoty)
Resource was destroyed!
Segmentation fault
+++++++++++++++++++++++++++++++++++++++++++++
I have not dfbterm etc but I have sdlmame nice and running.
+++++++++++++++++++++++++++++++++++++++++++++
I didn´t compile with "--enable-multi".
tnx by your reply!
a) You are obviously trying to migrate advmenu to SDL1.3. b) The application is now crashing at a completely different location. This issue may be related to using SDLs compat layer as well as simply that your changes to advmenu corrupt memory. Without a reproducible testcase there is no way to figure out what is going wrong here. I will try to add more consistency checks to the code which crashes. This may help you to isolate the problem in advmenu. |