Discussion:
[directfb-users] Using QT with DirectFB in multi-app mode!
Lata Agrawal
2012-04-14 13:18:54 UTC
Permalink
Hi all,

I am trying to execute QT application (QT-4.6.2) on an embedded linux/MIPS
device using directfb as framebuffer driver. I have compiled DirectFB-1.4.3
with linux-fusion-8.1.1 in multi-app mode. But when I execute the
application with command "*./<appname> -qws --dfb:mode=800*480
--dfb=no-cursor &*". This app runs fine when executed with directfb
compiled in single app mode. But with directfb in multi-app mode It gives
following error, as shown in bold below:

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

(*) DirectFB/Core: Multi Application Core. (2012-04-14 11:21) [ DEBUG ]

(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (155) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (160) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (161) [DEFAULT OTHER/OTHER 0/0]
<2093056>...

(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at 0x08000000,
1500k (MMIO 0x00000000, 0k)
*(!) [ 153: 0.165] --> Caught signal 10 (sent by the kernel) <--
(!) [Main Thread 0.238] ( 153) *** Assertion [(shared) != NULL]
failed *** [fusion.c:96 in _fusion_fd()]
(!) [ 153: 0.238] --> Caught signal 5 (sent by pid 153, uid 0) <--*

Can someone please suggest whats going on wrong here?

Regards,
Lata
Pravinkumar Chavan
2012-04-14 14:53:57 UTC
Permalink
Post by Lata Agrawal
Hi all,
I am trying to execute QT application (QT-4.6.2) on an embedded linux/MIPS
device using directfb as framebuffer driver. I have compiled DirectFB-1.4.3
with linux-fusion-8.1.1 in multi-app mode. But when I execute the
application with command "*./<appname> -qws --dfb:mode=800*480
--dfb=no-cursor &*". This app runs fine when executed with directfb
compiled in single app mode. But with directfb in multi-app mode It gives
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------
----------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 11:21) [ DEBUG ]
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (155) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (160) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (161) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at 0x08000000,
1500k (MMIO 0x00000000, 0k)
*(!) [ 153: 0.165] --> Caught signal 10 (sent by the kernel) <--
(!) [Main Thread 0.238] ( 153) *** Assertion [(shared) != NULL]
failed *** [fusion.c:96 in _fusion_fd()]
(!) [ 153: 0.238] --> Caught signal 5 (sent by pid 153, uid 0) <--*
Can someone please suggest whats going on wrong here?
I am getting as below if compiled without --enable-debug


# /launchapp

Launching carnav...
# FT_New_Face failed with index 0 : 3

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

(*) DirectFB/Core: Multi Application Core. (2012-04-14 14:04)

(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (241) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (246) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (247) [DEFAULT OTHER/OTHER 0/0]
<2093056>...

(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at 0x08000000,
1500k (MMIO 0x00000000, 0k)
(!) [ 239: 0.105] --> Caught signal 10 (sent by the kernel) <--
(!) [ 239: 0.172] --> Caught signal 11 (at 0x8, invalid address) <--
Post by Lata Agrawal
Regards,
Lata
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
**
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
Pravinkumar Chavan
2012-04-16 05:45:31 UTC
Permalink
On 14 April 2012 20:23, Pravinkumar Chavan <
Post by Pravinkumar Chavan
Post by Lata Agrawal
Hi all,
I am trying to execute QT application (QT-4.6.2) on an embedded
linux/MIPS device using directfb as framebuffer driver. I have compiled
DirectFB-1.4.3 with linux-fusion-8.1.1 in multi-app mode. But when I
execute the application with command "*./<appname> -qws
--dfb:mode=800*480 --dfb=no-cursor &*". This app runs fine when executed
with directfb compiled in single app mode. But with directfb in multi-app
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------
----------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 11:21) [ DEBUG ]
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (155) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (160) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (161) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at
0x08000000, 1500k (MMIO 0x00000000, 0k)
*(!) [ 153: 0.165] --> Caught signal 10 (sent by the kernel) <--
(!) [Main Thread 0.238] ( 153) *** Assertion [(shared) != NULL]
failed *** [fusion.c:96 in _fusion_fd()]
(!) [ 153: 0.238] --> Caught signal 5 (sent by pid 153, uid 0) <--*
Can someone please suggest whats going on wrong here?
I am getting as below if compiled without --enable-debug
# /launchapp
Launching carnav...
# FT_New_Face failed with index 0 : 3
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 14:04)
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (241) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (246) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (247) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at 0x08000000,
1500k (MMIO 0x00000000, 0k)
(!) [ 239: 0.105] --> Caught signal 10 (sent by the kernel) <--
(!) [ 239: 0.172] --> Caught signal 11 (at 0x8, invalid address) <--
Post by Lata Agrawal
Regards,
Lata
GDB output on debug:
# ./gdb


dlopen failed on 'libthread_db.so.1' - /lib/libthread_db.so.1: undefined
symbol: ps_lsetfpregs
GDB will not be able to debug pthreads.

GNU gdb 6.7
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-linux".
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-directfb-c
mipsel-linux-directfb-config mipsel-linux-directfb-csource
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-
mipsel-linux-coretest_blit2
mipsel-linux-dfbdump
mipsel-linux-dfbfx
mipsel-linux-dfbg
mipsel-linux-dfbinfo
mipsel-linux-dfbinput
mipsel-linux-dfbinspector
mipsel-linux-dfblayer
mipsel-linux-dfbmaster
mipsel-linux-dfbpenmount
mipsel-linux-dfbscreen
mipsel-linux-dfbtest_blit
mipsel-linux-dfbtest_blit2
mipsel-linux-dfbtest_mirror
mipsel-linux-dfbtest_reinit
mipsel-linux-dfbtest_scale
mipsel-linux-dfbtest_sync
mipsel-linux-dfbtest_window
mipsel-linux-dfbtest_window_flip_once
mipsel-linux-direct_stream
mipsel-linux-direct_test
mipsel-linux-directfb-config
mipsel-linux-directfb-csource
mipsel-linux-fusion_fork
mipsel-linux-fusion_reactor
mipsel-linux-fusion_skirmish
mipsel-linux-fusion_stream
mipsel-linux-mkdfiff
mipsel-linux-mkdgiff
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-dfbdump
Reading symbols from /opt/libs/directfblib/bin/mipsel-linux-dfbdump...done.
(gdb) bt
No stack.
(gdb) run
Starting program: /opt/libs/directfblib/bin/mipsel-linux-dfbdump
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
warning: Can not parse XML target description; XML support was disabled at
compile time
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]

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

(*) DirectFB/Core: Multi Application Core. (2012-04-14 14:04)
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)

Program received signal SIG32, Real-time event 32.
0x2acd46ac in pthread_create () from /usr/lib/libpthread.so.0
(gdb) c
Continuing.
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
(*) Direct/Thread: Started 'Fusion Dispatch' (178) [MESSAGING OTHER/OTHER
0/0] <2093056>...
[New LWP 178]
Post by Pravinkumar Chavan
Post by Lata Agrawal
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
--
**
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
Pravinkumar Chavan
2012-04-16 06:07:02 UTC
Permalink
PFA GDB log...

On 16 April 2012 11:15, Pravinkumar Chavan <
Post by Pravinkumar Chavan
On 14 April 2012 20:23, Pravinkumar Chavan <
Post by Pravinkumar Chavan
Post by Lata Agrawal
Hi all,
I am trying to execute QT application (QT-4.6.2) on an embedded
linux/MIPS device using directfb as framebuffer driver. I have compiled
DirectFB-1.4.3 with linux-fusion-8.1.1 in multi-app mode. But when I
execute the application with command "*./<appname> -qws
--dfb:mode=800*480 --dfb=no-cursor &*". This app runs fine when
executed with directfb compiled in single app mode. But with directfb in
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------
----------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 11:21) [ DEBUG ]
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (155) [MESSAGING
OTHER/OTHER 0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (160) [CRITICAL OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Flusher' (161) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at
0x08000000, 1500k (MMIO 0x00000000, 0k)
*(!) [ 153: 0.165] --> Caught signal 10 (sent by the kernel) <--
(!) [Main Thread 0.238] ( 153) *** Assertion [(shared) != NULL]
failed *** [fusion.c:96 in _fusion_fd()]
(!) [ 153: 0.238] --> Caught signal 5 (sent by pid 153, uid 0) <--*
Can someone please suggest whats going on wrong here?
I am getting as below if compiled without --enable-debug
# /launchapp
Launching carnav...
# FT_New_Face failed with index 0 : 3
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 14:04)
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (241) [MESSAGING OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Switcher' (246) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'VT Flusher' (247) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'AU1200' (ID 0) with frame buffer at
0x08000000, 1500k (MMIO 0x00000000, 0k)
(!) [ 239: 0.105] --> Caught signal 10 (sent by the kernel) <--
(!) [ 239: 0.172] --> Caught signal 11 (at 0x8, invalid address) <--
Post by Lata Agrawal
Regards,
Lata
# ./gdb
dlopen failed on 'libthread_db.so.1' - /lib/libthread_db.so.1: undefined
symbol: ps_lsetfpregs
GDB will not be able to debug pthreads.
GNU gdb 6.7
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-linux".
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-directfb-c
mipsel-linux-directfb-config mipsel-linux-directfb-csource
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-
mipsel-linux-coretest_blit2
mipsel-linux-dfbdump
mipsel-linux-dfbfx
mipsel-linux-dfbg
mipsel-linux-dfbinfo
mipsel-linux-dfbinput
mipsel-linux-dfbinspector
mipsel-linux-dfblayer
mipsel-linux-dfbmaster
mipsel-linux-dfbpenmount
mipsel-linux-dfbscreen
mipsel-linux-dfbtest_blit
mipsel-linux-dfbtest_blit2
mipsel-linux-dfbtest_mirror
mipsel-linux-dfbtest_reinit
mipsel-linux-dfbtest_scale
mipsel-linux-dfbtest_sync
mipsel-linux-dfbtest_window
mipsel-linux-dfbtest_window_flip_once
mipsel-linux-direct_stream
mipsel-linux-direct_test
mipsel-linux-directfb-config
mipsel-linux-directfb-csource
mipsel-linux-fusion_fork
mipsel-linux-fusion_reactor
mipsel-linux-fusion_skirmish
mipsel-linux-fusion_stream
mipsel-linux-mkdfiff
mipsel-linux-mkdgiff
(gdb) file /opt/libs/directfblib/bin/mipsel-linux-dfbdump
Reading symbols from /opt/libs/directfblib/bin/mipsel-linux-dfbdump...done.
(gdb) bt
No stack.
(gdb) run
Starting program: /opt/libs/directfblib/bin/mipsel-linux-dfbdump
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
warning: Can not parse XML target description; XML support was disabled at
compile time
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2012-04-14 14:04)
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
(*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2)
Program received signal SIG32, Real-time event 32.
0x2acd46ac in pthread_create () from /usr/lib/libpthread.so.0
(gdb) c
Continuing.
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
(*) Direct/Thread: Started 'Fusion Dispatch' (178) [MESSAGING OTHER/OTHER
0/0] <2093056>...
[New LWP 178]
Post by Pravinkumar Chavan
Post by Lata Agrawal
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
--
**
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
Loading...