good day,
I've got a simple Wt application (stepping out from the hello
world) that is derived from wt homepage example that adds
collapsible panels from the chart example. The application
works fine on mac os x (Leopard) but on oracle linux (rhel5) it core
dumps when I try to connect to it. I'm using Wt 2.2.0, boost 1.36.
Both were built from source with the default options.
The compiler version is Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
The problem appears to be with the signal handling a snippet from gdb:
(gdb) r --docroot . --http-address 0.0.0.0 --http-port 8888
Starting program:
/home/mcgregor1/NetBeansProjects/wr1/dist/OracleLinux-debug/GNU-Linux-x86/wr1
--docroot . --http-address 0.0.0.0 --http-port 8888
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib64/libicudata.so.36 is .gnu.hash
at 0000000000000120
[2008-Oct-20 15:14:41.959153] 16987 - [notice] "Wt: initializing
built-in httpd"
[2008-Oct-20 15:14:41.959415] 16987 - [notice] "Reading Wt config
file: /etc/wt/wt_config.xml (location =
'/home/mcgregor1/NetBeansProjects/wr1/dist/OracleLinux-debug/GNU-Linux-x86/wr1')"
[2008-Oct-20 15:14:41.960402] 16987 - [notice] "Starting server:
http://0.0.0.0:8888"
[2008-Oct-20 15:14:41.960672] 16987 - [warn] "No boost thread
support, running in main thread."
[2008-Oct-20 15:14:50.366212] 16987 [/ pKeImoNwulRRNxJT] [notice]
"Session created (#sessions = 1)"
127.0.0.1 - - [2008-Oct-20 15:14:50.367560] "GET / HTTP/1.1" 200 1558
[New Thread 47750870581600 (LWP 16987)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47750870581600 (LWP 16987)]
0x00002b6ddb6b82f2 in
std::_Rb_tree<boost::signals::detail::stored_group,
std::pair<boost::signals::detail::stored_group const,
std::list<boost::signals::detail::connection_slot_pair,
std::allocator<boost::signals::detail::connection_slot_pair> > >,
std::_Select1st<std::pair<boost::signals::detail::stored_group const,
std::list<boost::signals::detail::connection_slot_pair,
std::allocator<boost::signals::detail::connection_slot_pair> > > >,
boost::function2<bool, boost::signals::detail::stored_group,
boost::signals::detail::stored_group>,
std::allocator<std::pair<boost::signals::detail::stored_group const,
std::list<boost::signals::detail::connection_slot_pair,
std::allocator<boost::signals::detail::connection_slot_pair> > > > >::_M_erase
() from /usr/local/lib/libboost_signals-gcc41-mt-1_36.so.1.36.0
Any suggestions on what I should try first? the application was
working fine on linux until I added in
the PanelList.[c,h]
thanks in advance
chuckles
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest