On Thu, Oct 02, 2008 at 08:03:30AM +0200, Roland Alton-Scheidl wrote:
> 
> I had very stable kvats session yesterday (with many suspends and network 
> changes). 
> 
> Freeze happened this morning, maybe we have a problem with date change at 
> overnight suspend. Here is the trace: 
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x42dfa950 (LWP 12799)]
> 0x0000000000b4309e in PrivateThread::stop (this=0x0)
>     at /home/ras/Desktop/kvats/kvats-2.2/libs/owutil/thread/src/Timer.cpp:96
> 96              _stop = true;
> (gdb) where
> #0  0x0000000000b4309e in PrivateThread::stop (this=0x0)
>     at /home/ras/Desktop/kvats/kvats-2.2/libs/owutil/thread/src/Timer.cpp:96
> #1  0x0000000000b4370a in Timer::stop (this=0x15fab38)
>     at /home/ras/Desktop/kvats/kvats-2.2/libs/owutil/thread/src/Timer.cpp:158
> #2  0x0000000000c31e3e in SipAccount::connectionIsDownEventHandlerThreadSafe (
>     this=0x15fa9e0)
>     at

This one is already tracked in qutecom issue 6:
http://trac.qutecom.org/ticket/6

Seems to happen only occasionally, maybe you're right with the date
change. Or did the network address change when you woke up the laptop?

I discussed this with Laurent in Wels. We came to the conclusion that
the timer object should be owned by an object higher in the class
hierarchy -- it seems that the SipAccount is destroyed while there is
still a callback pending. Then the timer is destroyed with the
SipAccount and a dangling callback happens after the Timer is freed.
You can see this in the "this" pointer of the timer object in the trace.

Concerning the Freeze: I couldn't reproduce it so far (debian lenny on a
thinkpad x61s, the network interface can track connection status) --
seems on network unplugging, qutecom immediately receives a signal and
shows "offline" in the status at the bottom (a red cross on the
network/terminal symbol). This might be different with older Linux
and/or windows libs and/or other ethernet hardware.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  Fax:   +43/2243/26465-23
Reichergasse 131                        www:   http://www.runtux.com
A-3411 Weidling                         email: [EMAIL PROTECTED]
osAlliance member                       email: [EMAIL PROTECTED]
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to