Hi,

Might this error is not related to QT_NO_GLIB.

I have been seen some on "named_slot_map::begin" for a while (on 2.1 branch), I suppose this is related to something introduced in a week or two in the past.

I'm using QT 4.1.2, build from source, on Ubuntu 6.10, and openwengo used to work until some point in the near past.

0xb7d57e09 in boost::signals::detail::named_slot_map::begin () from /usr/lib/libboost_signals-gcc-mt-1_33_1.so.1.33.1
(gdb) backtrace
#0 0xb7d57e09 in boost::signals::detail::named_slot_map::begin () from /usr/lib/libboost_signals-gcc-mt-1_33_1.so.1.33.1
#1  0x08f43e04 in ?? ()
#2  0x08f43e04 in ?? ()
#3  0x00000000 in ?? ()
(gdb)  info registers
eax            0x1c    28
ecx            0xb3496970    -1287034512
edx            0x0    0
ebx            0xb7d5fd20    -1210712800
esp            0xb3496970    0xb3496970
ebp            0xb3496988    0xb3496988
esi            0xb34969d0    -1287034416
edi            0xb3497040    -1287032768
eip 0xb7d57e09 0xb7d57e09 <boost::signals::detail::named_slot_map::begin()+73>
eflags         0x200202    [ IF ID ]
cs             0x73    115
ss             0x7b    123
ds             0x7b    123
es             0x7b    123
fs             0x0    0
gs             0x33    51
(gdb)  thread apply all backtrace

Thread 12 (Thread -1337508960 (LWP 32499)):
#0  0xb6792508 in clone () from /lib/tls/i686/cmov/libc.so.6
#1  0x007d0f00 in ?? ()
#2  0x00000000 in ?? ()

Thread 11 (Thread -1329116256 (LWP 32498)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb678b321 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb77b5b4f in eXosip_read_message (max_message_nb=1, sec_max=15, usec_max=0) at /home/claudio/svn/wengophone-2.1/wifo/eXosip/src/udp.c:2524 #3 0xb7795a60 in eXosip_execute () at /home/claudio/svn/wengophone-2.1/wifo/eXosip/src/eXosip.c:404 #4 0xb7795b09 in eXosip_thread (arg=0x0) at /home/claudio/svn/wengophone-2.1/wifo/eXosip/src/eXosip.c:437
#5  0xb6b40504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb679251e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread -1303815264 (LWP 32491)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6753e66 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb678bbac in usleep () from /lib/tls/i686/cmov/libc.so.6
#3 0x0877c797 in Thread::msleep (milliseconds=500) at /home/claudio/svn/wengophone-2.1/libs/owutil/thread/src/Thread.cpp:101

Etc...

Sebastien Tricaud wrote:
Before setting this QT_NO_GLIB environment variable it would leak and
make my computer unusable.

After setting it, trunk (yesterday's) wengophone runs...
...until segfaults


(gdb) bt
#0  0x00002b953b43ad08 in boost::signals::detail::named_slot_map::begin ()
   from /usr/lib64/libboost_signals-gcc-mt-1_33_1.so.1.33.1
#1  0x00000000007583bb in boost::signal1<void, std::string const&,
boost::last_value<void>, int, std::less<int>, boost::function<void
()(std::string const&), std::allocator<void> > >::operator() ()
#2  0x00000000007575fe in Logger::log ()
#3  0x0000000000757fb9 in Logger::debug ()
#4  0x00000000007acad1 in PhApiWrapper::init ()
#5  0x000000000081cb07 in PhoneLine::PhoneLine ()
#6  0x0000000000864bb4 in UserProfile::addPhoneLine ()
#7  0x0000000000869b9c in UserProfile::loginStateChangedEventHandler ()
#8  0x000000000082cd58 in boost::function2<void, SipAccount&,
EnumSipLoginState::SipLoginState, std::allocator<void> >::operator() ()
#9  0x000000000082d32b in boost::signal2<void, SipAccount&,
EnumSipLoginState::SipLoginState, boost::last_value<void>, int,
std::less<int>, boost::function<void ()(SipAccount&,
EnumSipLoginState::SipLoginState), std::allocator<void> > >::operator() ()
#10 0x000000000082a769 in WengoAccount::initTimeoutEventHandler ()
#11 0x0000000000764854 in boost::signal1<void, Timer&,
boost::last_value<void>, int, std::less<int>, boost::function<void
()(Timer&), std::allocator<void> > >::operator() ()
#12 0x0000000000764184 in boost::signal1<void, PrivateThread&,
boost::last_value<void>, int, std::less<int>, boost::function<void
()(PrivateThread&), std::alloc---Type <return> to continue, or q
<return> to quit---
ator<void> > >::operator() ()
#13 0x0000000000762871 in PrivateThread::run ()
#14 0x00000000007651c3 in Thread::runThread ()
#15 0x00002b953b64b8cf in boost::function0<void,
std::allocator<boost::function_base> >::operator() () from
/usr/lib64/libboost_thread-gcc-mt-1_33_1.so.1.33.1
#16 0x00002b953b64b2ef in ?? ()
   from /usr/lib64/libboost_thread-gcc-mt-1_33_1.so.1.33.1
#17 0x00002b953e2922a5 in start_thread () from /lib/libpthread.so.0
#18 0x00002b953fd1e5dd in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()
(gdb)


Tanguy Krotoff wrote:
stute mathieu wrote:
If you're under a Linux box with a Qt >= 4.2  that might interest
you: http://qtnode.net/wiki/GLib_Event_Loop
Just tried it and a simple export QT_NO_GLIB=true works!
(at least for branch coipmanager with executable wengoconnection)



_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel



_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to