Koen Deforche wrote:
Hey Stefano,
2009/9/25 Stefano De Toni <[email protected]>:
Hi!
I have some fastcgi problems with the application of WDialog on a ubuntu
server 8.10 (virtual machine) and ubuntu server 9.04 (real machine).
I've tried to isolate the problem by using a simple example kept from the
WDialog example in wt-2.99.5 libraries.
I attach the source files.
It seems to be a server configuration error, because the application works
correctly on my notebook with debian installed, but I cannot find it.
I attach the file errorLog.txt with the firebug log and the
/var/log/apache2/error.log
Any suggestions?
Can you verify that you have a multi-threaded Wt library? E.g. doing
'ldd /path/to/libwt.so' ?
You need a multi-threaded Wt library in order to be able to use WDialog::exec().
It should be multi-threaded: follows the result of wt configuring with
cmake:
** Using supplied mxml library.
** Enabling multi threading.
** Enabling FastCGI.
** Enabling built-in httpd.
Furthermore the output of 'ldd /path/to/libwt.so' is:
linux-vdso.so.1 => (0x00007fff773ff000)
libboost_thread-mt.so.1.35.0 =>
/usr/lib/libboost_thread-mt.so.1.35.0 (0x00007f1e6eba5000)
libboost_regex-mt.so.1.35.0 => /usr/lib/libboost_regex-mt.so.1.35.0
(0x00007f1e6e8f7000)
libboost_signals-mt.so.1.35.0 =>
/usr/lib/libboost_signals-mt.so.1.35.0 (0x00007f1e6e6e3000)
libboost_system-mt.so.1.35.0 =>
/usr/lib/libboost_system-mt.so.1.35.0 (0x00007f1e6e4df000)
libboost_program_options-mt.so.1.35.0 =>
/usr/lib/libboost_program_options-mt.so.1.35.0 (0x00007f1e6e2a8000)
libboost_date_time-mt.so.1.35.0 =>
/usr/lib/libboost_date_time-mt.so.1.35.0 (0x00007f1e6e097000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1e6dd8a000)
libm.so.6 => /lib/libm.so.6 (0x00007f1e6db05000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f1e6d8ec000)
libc.so.6 => /lib/libc.so.6 (0x00007f1e6d57a000)
librt.so.1 => /lib/librt.so.1 (0x00007f1e6d372000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1e6d155000)
libicudata.so.38 => /usr/lib/libicudata.so.38 (0x00007f1e6c47f000)
libicui18n.so.38 => /usr/lib/libicui18n.so.38 (0x00007f1e6c121000)
libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0x00007f1e6bdde000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1e6f345000)
It should be correct, isn't it?
Thanks,
Stefano
Normally, Wt will display an error "Cannot do recursive event loop
without threads" but probably will crash thereafter instead of exiting
cleanly (which would be alot nicer...). But it seems that the Wt
stderr does not make it to the ErrorLog.txt ?
Regards,
koen
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest