I had a question about the use of the configuration parameter 'no-vt'
in the directfbrc file.  I have a beagle board with an attached LCD
and my main application appears to hang occasionally when it is
started.  My application spawns as a daemon, so it is not receive
input from a terminal.

I was able to fire up GDB and attach to my program when it was hung
and I got the following backtrace:

0x406a1aac in ioctl () from /lib/libc.so.6
(gdb) bt
#0  0x406a1aac in ioctl () from /lib/libc.so.6
#1  0x40f19684 in dfb_vt_initialize () from
/usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so
#2  0x40f15eb8 in ?? () from
/usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so
#3  0x40f15eb8 in ?? () from
/usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so

I saw in the DirectFB source that specifying 'no-vt' would skip this
initialation, but I wanted to understand what exactly I was skipping.
Since my application does not rely on terminal IO I figured specifying
'no-vt' was safe, but I just wanted to check with the experts.

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

Reply via email to