Have anyone successfully run gtktetris on Gtk+DFB ported to sh4 platform? I downloaded version 0.6.2 from http://www.gnomefiles.org/app.php/gtktetris
df_dok runs fine without any problem. But gtktetris randomly crashes on startups or fails to redraw the dropping cubes correctly. What does the error message "Killing process "gtktetris" due to unaligned access" means? gtk-demo cannot even startups; worst still the kernel panic and somethings reboot on its own. I'm using the latest version of gtk+-2.10.14 downloaded from http://www.gtk.org/ sh-3.00# ./gtktetris =======================| DirectFB 1.0.0 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-09-06 07:09) (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 581)... (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 582)... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 583)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) invalid IOCTL code (0x00004700) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) bpp inside decoding stage 16 v->transp.offset 0 v->red.offset 11 v->red.length 5 v->green.offset 5 v->green.length 6 v->blue.length 5 v->blue.offset 0 v->transp.length 0 Decode_var: videomode set to STGFB_COLOR_FORMAT_RGB565 (!!!) *** WARNING [unable to adjust heap offset] *** [/home/raymond/sh4/DirectFB-1.0.0/src/core/surfacemanager.c:410 in dfb_surfacemanager_adjust_heap_offset()] (!) DirectFB/FBDev: Panning display failed! --> Invalid argument Fixing up unaligned userspace access in "gtktetris" pid=580 pc=0x2955d188 ins=0x5181 Killing process "gtktetris" due to unaligned access Fixing up unaligned userspace access in "gtktetris" pid=580 pc=0x2955d188 ins=0x5181 Killing process "gtktetris" due to unaligned access Segmentation fault sh-3.00# Fault in unaligned fixup: 0000 [#1] Pid : 3, Comm: events/0 PC is at free_block+0x3c/0x100 PC : 844400bc SP : 88807f24 SR : 400080f0 TEA : c016cf00 Tainted: P R0 : 848192c0 R1 : 13fd13fd R2 : 13fd13fd R3 : 86c16000 R4 : 86c1608c R5 : 84bd6610 R6 : 0000000b R7 : 88806000 R8 : 84bd7240 R9 : 0000000b R10 : 84bd6614 R11 : 84522100 R12 : 8470ece4 R13 : 84bd715c R14 : 84bd714c MACH: 00000063 MACL: 3333334c GBR : 00000000 PR : 844401dc Call trace: [<844401dc>] drain_array_locked+0x5c/0xc0 [<84441364>] cache_reap+0x84/0x300 [<84427f32>] worker_thread+0x1d2/0x360 [<844412e0>] cache_reap+0x0/0x300 [<84411480>] default_wake_function+0x0/0x20 [<84411480>] default_wake_function+0x0/0x20 [<8442d0c4>] kthread+0xe4/0x140 [<84427d60>] worker_thread+0x0/0x360 [<84411640>] complete+0x0/0xa0 [<8442cfc0>] kthread_should_stop+0x0/0x20 [<84403004>] kernel_thread_helper+0x4/0x20 note: events/0[3] exited with preempt_count 1 # gtk-demo =======================| DirectFB 1.0.0 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-09-06 07:09) (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 576)... (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 577)... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 578)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) invalid IOCTL code (0x00004700) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) bpp inside decoding stage 16 v->transp.offset 0 v->red.offset 11 v->red.length 5 v->green.offset 5 v->green.length 6 v->blue.length 5 v->blue.offset 0 v->transp.length 0 Decode_var: videomode set to STGFB_COLOR_FORMAT_RGB565 (!!!) *** WARNING [unable to adjust heap offset] *** [/home/raymond/sh4/DirectFB-1.0.0/src/core/surfacemanager.c:410 in dfb_surfacemanager_adjust_heap_offset()] (!) DirectFB/FBDev: Panning display failed! --> Invalid argument (*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 579)... (gtk-demo:575): Gdk-DirectFB-WARNING **: gdk_display_request_selection_notification Unimplemented function Fixing up unaligned userspace access in "gtk-demo" pid=575 pc=0x2a12cd92 ins=0x8d15 Killing process "gtk-demo" due to unaligned access (!) [ 575: 0.000] --> Caught signal 11 (sent by the kernel) <--
_______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
