2009-02-03 12:21:34     Problems running DirectFB (SDL works)

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2009-02-03 12:21:34     Problems running DirectFB (SDL works)

jan petersen (BOUVET ISLAND)

Message: 68789   

 

Hello,

 

i'm trying to run DirectFB on different Blackfins (BF537,BF561) but it always crashes with different error messages.

 

I already tried different linux versions and different systems (i386,x86).

 

One time i got it running but i need to reproduce and can't figure out the change i made:>

 

The SDL examples are running, framebuffer is ok.

 

 

 

At moment i'm using the 2008R1.5-RC3 distribution and

 

blackfin-toolchain-08r1.5-14.i386.rpm

 

blackfin-toolchain-elf-gcc-4.1-08r1.5-14.i386.rpm

 

blackfin-toolchaingcc-3.4-addon-08r1.5-14.i386.rpm

 

blackfin-toolchaingcc-uclibc-full-08r1.5-14.i386.rpm

 

 

 

I hope someone can help me.

 

 

 

Greetings, Thies.

TranslateQuoteReplyEditDelete

 

 

2009-02-03 12:32:04     Re: Problems running DirectFB (SDL works)

Mike Frysinger (UNITED STATES)

Message: 68792   

 

iirc, DirectFB in the release had some mmap bugs, so you'll want to use it from the svn branch.  also, post the actual error messages that you're seeing.

 

btw, i386 and x86 are the same thing ...

QuoteReplyEditDelete

 

 

2009-02-03 13:21:59     Re: Problems running DirectFB (SDL works)

jan petersen (BOUVET ISLAND)

Message: 68795   

 

Yupp (i368,ia64) what i mean.

 

Here ist the code from the crash:

 

 

 

 

     =======================|  DirectFB 1.1.1  |=======================

          (c) 2001-2007  The DirectFB Organization (directfb.org)

          (c) 2000-2004  Convergence (integrated media) GmbH

        ------------------------------------------------------------

 

(*) DirectFB/Core: Single Application Core. (2009-02-02 19:58)

(*) DUrectndhreaefiRnneingd in SwsttheructioITICnL,

- M.ay be used to emulate instructions that are not defined for

   a particular processor implementation.

Defered Exception context

CURRENT PROCESS:

COMM=df_neo PID=226

TEXT = 0x035c4000-0x035c76b0        DATA = 0x0353c6b0-0x0353c9c0

BSS = 0x0353c9c0-0x002e0000  USER-STACK = 0x002ffec0

 

return address: [0x003c9f5a]; contents of:

0x003c9f30:  0000  0000  a000  003c  ceea  0088  ceea  0088

0x003c9f40:  4c38  008b  0e6c  ffa0  2021  0200  6829  0089

0x003c9f50:  18c3  008a  6828  0089  18c2 [008a] 0000  0000

0x003c9f60:  0000  0000  0000  0000  0000  0000  0000  0000

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002021  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x21

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x009a6000> /* unknown address */

RETX: <0x003c9f5a> /* unknown address */

RETS: <0x003d6aa8> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so + 0x6

aa8 ]

PC  : <0x003c9f5a> /* unknown address */

DCPLB_FAULT_ADDR: <0x003ae96c> [ df_neo + 0x96c ]

ICPLB_FAULT_ADDR: <0x003c9f5a> /* unknown address */

 

PROCESSOR STATE:

R0 : 003ac004    R1 : 0012fc00    R2 : 003acfdc    R3 : 003ad4d4

R4 : 003ad108    R5 : 003ac004    R6 : 003aef10    R7 : 003ad4cc

P0 : 003ae750    P1 : 003c9f58    P2 : 003ada6c    P3 : 00273758

P4 : 003acfd8    P5 : 003ad134    FP : 002ff824    SP : 009a5f24

LB0: 008a1985    LT0: 008a1984    LC0: 00000000

LB1: 003d6363    LT1: 003d6362    LC1: 00000000

B0 : 00000448    L0 : 00000000    M0 : 00000000    I0 : 008b9b10

B1 : 000000e0    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 0034d61c

A0.w: 000028f5   A0.x: 00000000   A1.w: 000028f5   A1.x: 00000000

USP : 002ff814  ASTAT: 02002000

 

Hardware Trace:

   0 Target : <0x000048a8> { _trap_c + 0x0 }

     Source : <0xffa0072c> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa00678> { _exception_to_level5 + 0x0 }

     Source : <0xffa005d0> { _ex_trap_c + 0x5c }

   2 Target : <0xffa00574> { _ex_trap_c + 0x0 }

     Source : <0xffa007cc> { _trap + 0x28 }

   3 Target : <0xffa007a4> { _trap + 0x0 }

     Source : <0x003c9f58> /* unknown address */

   4 Target : <0x003c9f58> /* unknown address */

     Source : <0x003d28c4> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.s

o + 0x28c4 ]

   5 Target : <0x003d28bc> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.s

o + 0x28bc ]

     Source : <0x003d6aa4> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.s

o + 0x6aa4 ]

   6 Target : <0x003d6a88> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.s

o + 0x6a88 ]

     Source : <0x00344b7a> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b7a ]

   7 Target : <0x00344b62> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b62 ]

     Source : <0x00345652> [ /usr/lib/libdirectfb-1.1.so.0 + 0x45652 ]

   8 Target : <0x00345644> [ /usr/lib/libdirectfb-1.1.so.0 + 0x45644 ]

     Source : <0x0030f236> [ /usr/lib/libdirectfb-1.1.so.0 + 0xf236 ]

   9 Target : <0x0030f22e> [ /usr/lib/libdirectfb-1.1.so.0 + 0xf22e ]

     Source : <0x00344b5e> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b5e ]

  10 Target : <0x00344b42> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b42 ]

     Source : <0x0026514a> [ /usr/lib/libfusion-1.1.so.0 + 0x514a ]

  11 Target : <0x0026512c> [ /usr/lib/libfusion-1.1.so.0 + 0x512c ]

     Source : <0x0030ebba> [ /usr/lib/libdirectfb-1.1.so.0 + 0xebba ]

  12 Target : <0x0030ebb2> [ /usr/lib/libdirectfb-1.1.so.0 + 0xebb2 ]

     Source : <0x00344b3e> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b3e ]

  13 Target : <0x00344b1c> [ /usr/lib/libdirectfb-1.1.so.0 + 0x44b1c ]

     Source : <0x008b219c> [ /lib/libuClibc-0.9.29.so + 0x3219c ]

  14 Target : <0x008b2194> [ /lib/libuClibc-0.9.29.so + 0x32194 ]

     Source : <0x008a198a> [ /lib/libuClibc-0.9.29.so + 0x2198a ]

  15 Target : <0x008a195c> [ /lib/libuClibc-0.9.29.so + 0x2195c ]

     Source : <0x008b2190> [ /lib/libuClibc-0.9.29.so + 0x32190 ]

Stack from 009a5f04:

        ffa00904 ffa00730 00148568 00148568 00148564 003d9ccc 003a8fe8 0088e2a6

        003c9f5a 00000030 00002021 00000000 009a6000 003c9f5a 003c9f5a 003d6aa8

        003ac004 02002000 003d6363 008a1985 003d6362 008a1984 00000000 00000000

        000028f5 00000000 000028f5 00000000 00000000 00000000 000000e0 00000448

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        0034d61c 00000000 00000000 008b9b10 002ff814 002ff824 003ad134 003acfd8

 

Call Trace:

 

 

[  226:    0.000] --> Caught signal 4 (at 0x3c9f5a, illegal opcode) <--

Illegal instruction

TranslateQuoteReplyEditDelete

 

 

2009-02-03 16:34:43     Re: Problems running DirectFB (SDL works)

jan petersen (BOUVET ISLAND)

Message: 68801   

 

     =======================|  DirectFB 1.1.1  |=======================

          (c) 2001-2007  The DirectFB Organization (directfb.org)

          (c) 2000-2004  Convergence (integrated media) GmbH

        ------------------------------------------------------------

 

(*) DirectFB/Core: Single Application Core. (2009-02-02 19:58)

Direct/Modules: Could not open module directory `/usr/lib/directfb-1.1-0/gfxdrivers'!

    --> No such file or directory

(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)

(*) DirectFB/Core/WM: Default 0.3 (directfb.org)

(*) FBDev/Mode: Testing 720x576 RGB24

(*) FBDev/Mode: Preparing switch to 720x576 RGB24

(*) FBDev/Mode: Testing 720x576 RGB24

(*) FBDev/Mode: Preparing switch to 720x576 RGB24

(*) FBDev/Mode: Testing 720x576 RGB24

(*) FBDev/Mode: Preparing switch to 720x576 RGB24

(*) FBDev/Mode: Testing 720x576 RGB24

(*) FBDev/Mode: Preparing switch to 720x576 RGB24

(*) FBDev/Mode: Testing 720x576 RGB24

(*) FBDev/Mode: Preparing switch to 720x576 RGB24

(*) FBDev/Surface: Allocated 720x576 24bit RGB24 buffer at offset 0 and pitch 2160.

(*) FBDev/Mode: (Post)Setting 720x576 RGB24

(*) FBDev/Mode: Switched to 720x576 (720x576) at 24 bit RGB24 (wanted RGB24).

[  288:    0.000] --> Caught signal 4 (at 0x641fd8, illegal opcode) <--

(!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [../../../DirectFB-1.1.1/lib/fusion/object.c:241 in fusion_object_pool_destroy()]

(!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [../../../DirectFB-1.1.1/lib/fusion/object.c:241 in fusion_object_pool_destroy()]

[  288:    0.006] --> Caught signal 4 (at 0x5e7c06, illegal opcode) <--

Illegal instruction

Attachments

    Outcomes