I also have the same issue running it on an PXA270 Xscale (ARM).  Here is a
gdb backtrace, I also have an strace output but it is very large:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1073867296 (LWP 21535)]
0x4017f050 in raise () from /lib/libpthread.so.0
(gdb) backtrace
#0  0x4017f050 in raise () from /lib/libpthread.so.0
#1  0x402adcd8 in ?? () from /usr/lib/directfb-1.1-0
/systems/libdirectfb_fbdev.so
Cannot access memory at address 0x40


Regards,
Shane


On 6/20/07, Torgeir Veimo <[EMAIL PROTECTED]> wrote:

I'm getting a floating point exception when running dfbinfo on a unichrome
setup. This is an MS-6723 motherboard with 64MB memory set up for graphics
in the bios. DirectFB is current from git. Any clues on what can be wrong?

[EMAIL PROTECTED] ~]# gdb
GNU gdb Red Hat Linux (6.6-15.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu".
(gdb) file dfbinfo
Reading symbols from /usr/local/bin/dfbinfo...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/dfbinfo
[Thread debugging using libthread_db enabled]
[New Thread -1208432960 (LWP 13303)]

     =======================|  DirectFB 1.1.0  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-06-17 21:00)
[New Thread -1208435824 (LWP 13309)]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 13309)...
(*) Direct/Modules: suppress module 'keyboard'
[New Thread -1285768304 (LWP 13312)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13312)...
(*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org)
[New Thread -1296258160 (LWP 13313)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13313)...
(*) DirectFB/Input: Logitech USB Mouse (2) 0.1 (directfb.org)
[New Thread -1306748016 (LWP 13314)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13314)...
(*) DirectFB/Input: USB IR Receiver USB IR Receiver (3) 0.1 (directfb.org)
[New Thread -1317237872 (LWP 13315)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13315)...
(*) DirectFB/Input: Mitsumi Electric Apple Extended (4) 0.1 (directfb.org)
[New Thread -1327727728 (LWP 13316)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13316)...
(*) DirectFB/Input: Mitsumi Electric Apple Extended (5) 0.1 (directfb.org)
[New Thread -1338217584 (LWP 13317)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13317)...
(*) DirectFB/Input: PC Speaker (6) 0.1 (directfb.org)
[New Thread -1348707440 (LWP 13318)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13318)...
(*) DirectFB/Input: Power Button (FF) (7) 0.1 (directfb.org)
[New Thread -1359197296 (LWP 13319)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13319)...
(*) DirectFB/Input: Power Button (CM) (8) 0.1 (directfb.org)
[New Thread -1369687152 (LWP 13320)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13320)...
(*) DirectFB/Input: Sleep Button (CM) (9) 0.1 (directfb.org)
[New Thread -1380177008 (LWP 13321)]
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 13321)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1208432960 (LWP 13303)]
0x00c77be5 in dfb_fbdev_pan () from /usr/local/lib/directfb-1.1-0
/systems/libdirectfb_fbdev.so
(gdb) ba
#0  0x00c77be5 in dfb_fbdev_pan () from /usr/local/lib/directfb-1.1-0
/systems/libdirectfb_fbdev.so
#1  0x00c79d39 in dfb_fbdev_set_mode () from /usr/local/lib/directfb-1.1-0
/systems/libdirectfb_fbdev.so
#2  0x00c7bba7 in primarySetRegion () from /usr/local/lib/directfb-1.1-0
/systems/libdirectfb_fbdev.so
#3  0x002a788f in osdSetRegion () from /usr/local/lib/directfb-1.1-0
/gfxdrivers/libdirectfb_unichrome.so
#4  0x009b8043 in realize_region () from /usr/local/lib/libdirectfb-
1.1.so.0
#5  0x009b8143 in dfb_layer_region_enable () from
/usr/local/lib/libdirectfb-1.1.so.0
#6  0x009b5327 in dfb_layer_context_set_configuration () from
/usr/local/lib/libdirectfb-1.1.so.0
#7  0x009b5bd6 in dfb_layer_context_get_primary_region () from
/usr/local/lib/libdirectfb-1.1.so.0
#8  0x009738d7 in IDirectFB_Construct () from /usr/local/lib/libdirectfb-
1.1.so.0
#9  0x00972066 in DirectFBCreate () from /usr/local/lib/libdirectfb-
1.1.so.0
#10 0x080486dc in main ()
(gdb)

[EMAIL PROTECTED] ~]# cat /usr/local/etc/directfbrc
fbdev=/dev/fb0
mode=720x576
depth=32
pixelformat=AiRGB
disable-module=cle266
unichrome-revision=17
#no-vt
#disable-module=linux_input
disable-module=keyboard
#disable-module=lirc


--
Torgeir Veimo
[EMAIL PROTECTED]




_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users




--
Registered Linux User: #293401
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to