sup hackers, here I am again to report another issue. :)

I successfully compiled and loaded linux-fusion in 2.6.25.20, but I
got another segmentation fault in DirectFB. I'm running DirectFB
1.3.0, FusionSound 1.1.1 and SDL 1.2.13. Here's what I got:

--------------[ begin-output ]--------------

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

(*) DirectFB/Core: Single Application Core. (2009-02-05 22:19) [ DEBUG ]
[New Thread 0xb39a7b90 (LWP 25619)]
(*) Direct/Thread: Started 'SDL Input' (25619) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
(!) [Main Thread       0.000] (25614) *** Assertion
[funcs->GetDriverInfo != NULL] failed *** [input.c:1169 in
init_devices()]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xb619f6c0 (LWP 25614)]
0xb7f3b410 in __kernel_vsyscall ()
(gdb) bt f
#0  0xb7f3b410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7ef14c0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb675520a in trap (domain=0xb67685c3 "Assertion") at debug.c:337
No locals.
#3  0xb67e41c2 in init_devices (core=0x8098a38) at input.c:1169
        driver = (InputDriver *) 0x80c8218
        funcs = (const InputDriverFuncs *) 0xb3f4fddc
        link = (DirectLink *) 0x8099468
        pool = (FusionSHMPoolShared *) 0x8092ad0
        __FUNCTION__ = "init_devices"
#4  0xb67e4282 in dfb_input_core_initialize (core=0x8098a38,
data=0x80c2338, shared=0x80c2350)
    at input.c:385
        __FUNCTION__ = "dfb_input_core_initialize"
#5  0xb67d06f9 in dfb_core_part_initialize (core=0x8098a38,
core_part=0xb6837bc0) at core_parts.c:73
        ret = <value optimized out>
        local = (void *) 0x80c2338
        shared = (void *) 0x80c2350
        pool = (FusionSHMPoolShared *) 0x8092ad0
        __FUNCTION__ = "dfb_core_part_initialize"
#6  0xb67cfd0c in dfb_core_initialize (core=0x8098a38) at core.c:983
        ret = <value optimized out>
        ret = DFB_OK
        shared = <value optimized out>
        __FUNCTION__ = "dfb_core_initialize"
#7  0xb67cff0d in dfb_core_arena_initialize (arena=0x0, ctx=0x8098a38)
at core.c:1060
        ret = <value optimized out>
        shared = <value optimized out>
        pool = (FusionSHMPoolShared *) 0x8092ad0
        __FUNCTION__ = "dfb_core_arena_initialize"
#8  0xb6741c51 in fusion_arena_enter (world=0x8099840, name=0xb6828af0
"DirectFB/Core",
    initialize=0xb67cfdf0 <dfb_core_arena_initialize>, join=0xb67cfa90
<dfb_core_arena_join>,
    ctx=0x8098a38, ret_arena=0x8098a48, ret_error=0xbf909b68) at arena.c:509
        error = <value optimized out>
        __FUNCTION__ = "fusion_arena_enter"
#9  0xb67cf741 in dfb_core_create (ret_core=0xbf909ba8) at core.c:338
        ret = 0
        core = <value optimized out>
        shared = <value optimized out>
        __FUNCTION__ = "dfb_core_create"
#10 0xb677c64b in DirectFBCreate (interface=0x8088b0c) at directfb.c:193
        ret = DFB_INVARG
        dfb = <value optimized out>
        core_dfb = <value optimized out>
        __FUNCTION__ = "DirectFBCreate"
#11 0xb6da1ef7 in TQTVD::PcApi::PcScreen::initDirectFB (this=0x8088ae0)
    at 
/data/home/savio/Lab/svn/20080304_Integration/TARGET_PC/pcapi/PcScreen.cpp:184
        err = 1132
        screen_fmt_as_str = "720x480\000�\001\000\000�\033ڶ"
        __func__ = "initDirectFB"
#12 0xb6da21a6 in TQTVD::PcApi::PcScreen::init (this=0x8088ae0, w=720,
h=480, p=false)
    at 
/data/home/savio/Lab/svn/20080304_Integration/TARGET_PC/pcapi/PcScreen.cpp:71
        __func__ = "init"
#13 0xb761eade in TQTVD::ScreenManager::PL::PLScreen::initGraphics
(this=0x808a018, fmt=0x808743c)
    at 
/data/home/savio/Lab/svn/20080304_Integration/TARGET_PC/screen_manager/PLScreen.cpp:145
        __func__ = "initGraphics"
#14 0xb761edfe in
TQTVD::ScreenManager::PL::PLScreen::doSetScreenFormat (this=0x808a018,
    screenFormat=0x808743c)
    at 
/data/home/savio/Lab/svn/20080304_Integration/TARGET_PC/screen_manager/PLScreen.cpp:79
No locals.
#15 0xb761df6c in TQTVD::ScreenManager::PL::PLScreen::doInit
(this=0x808a018, fmt=0x808743c)
    at 
/data/home/savio/Lab/svn/20080304_Integration/TARGET_PC/screen_manager/PLScreen.cpp:48
No locals.
#16 0xb75fd03c in TQTVD::ScreenManager::Screen::init (this=0x808a05c,
format=0x808743c)
    at 
/data/home/savio/Lab/svn/20080304_Integration/screen_manager/Screen.cpp:25
        __func__ = "init"
#17 0x08068d76 in TQTVD::ScreenManager::ScreenProxy::init
(this=0x8094ec8, sf=0x808743c)
    at 
/data/home/savio/Lab/svn/20080304_Integration/screen_manager/ScreenProxy.h:44
No locals.
#18 0x08064bec in main (argc=3, argv=0xbf90a494)
    at /data/home/savio/Lab/svn/20080304_Integration/main.cpp:1008
        oss = <incomplete type>
        str = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65c8aec
"\220�V�\200�V����������\206\\�\200�V�p�V�"}}
        g_nclMode = true
        g_javaMode = 0 '\0'
        channel = 0
        __s__p__ = {s = 20000, t = 0, l = 60000, file = {static npos =
4294967295,
    _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0x808c18c
"/data/home/savio/Lab/svn/20080304_Integration/main.cpp"}}, func = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0x808c1d4 "main"}}, line = 690, lastline = 884,
timestamp = false}
        nclFile = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        javaFile = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        classPath = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        i = 3
        screenFormat = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0x808e1f4 "480i"}}
        graphicsFormat = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        screenDepth = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        tsFile = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
fields>}, _M_p = 0xb65cc694 ""}}
        tune = false
        nosplash = false
        recordFile = 0x0
        replayFile = 0x0
        replayFileForever = 0x0
        noZapper = false
        bHybridZapper = false
        noService = false
        mainClient = {px = 0x8088f98, pn = {pi_ = 0x8091ce8}}
        pCompMgr = {px = 0x8089e68, pn = {pi_ = 0x8089da8}}
        rc = RV_OK
        unk = {px = 0x8094980, pn = {pi_ = 0x80915f0}}
        pSelector = {px = 0x808ca78, pn = {pi_ = 0x808cb78}}
        format = (class TQTVD::Media::ScreenFormat *) 0x808743c
        pFormat = TQTVD::ScreenManager::SMPF_ARGB8888
        platf = {px = 0x8094984, pn = {pi_ = 0x80915f0}}
        screenCli = {px = 0x8091608, pn = {pi_ = 0x80919b0}}
        screenProxy = {px = 0x8094ec8, pn = {pi_ = 0x8094ee8}}
        vctScreenProxy =
{<std::_Vector_base<boost::shared_ptr<TQTVD::resourcemgr::ResourceProxy>,
std::allocator<boost::shared_ptr<TQTVD::resourcemgr::ResourceProxy> >
>> = {
    _M_impl = 
{<std::allocator<boost::shared_ptr<TQTVD::resourcemgr::ResourceProxy>
>> = 
>> {<__gnu_cxx::new_allocator<boost::shared_ptr<TQTVD::resourcemgr::ResourceProxy>
>> = {<No data fields>}, <No data fields>}, _M_start = 0x8094f00,
_M_finish = 0x8094f08, _M_end_of_storage = 0x8094f08}}, <No data
fields>}
        rsrcMgr = {px = 0x8089a90, pn = {pi_ = 0x8089e00}}
        engineRegistry = {px = 0xb7b029dc, pn = {pi_ = 0x808bf68}}
        gm = (class TQTVD::GraphicManager::GraphicManager *) 0xb64d1140
        zapper = {px = 0xb64b6d40, pn = {pi_ = 0xb64b3c31}}
        __func__ = "main"

--------------[ end-output ]--------------

I used these parameters to compile DirectFB:

./configure --enable-sdl
--with-inputdrivers=keyboard,linuxinput,ps2mouse --enable-zlib
--disable-devmem --enable-debug

Also, /etc/directfbrc assigns 'system=sdl', and  that's all. Finally, I'm
not running frame buffer device (there aint no /dev/fb0 or similar).

Ideas?

I'll be trying DirectFB 1.2 tomorrow. :)

Thanks in advance, once again.

My best regards,

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

Reply via email to