Comment 3 for bug 465243

Revision history for this message
Muhammad Akl (muhammad-akl) wrote : Re: [Bug 465243] Re: qutecom segfault when trying to start up

hi ludovio,

firstly sorry for that, i was thinking that after adding the ppa
repositories i'm installing from them , but did not notice that i was
downloading from ubuntu universe repositories

anyway i've disabled the universe repositories , and now i've downloaded the
qutecom packages from ppa ,but i can confirm that i'm still having the same
issue

the outputs you wanted after setting OWLOGGER_DEFAULT=debug qutecom :

(debug) 11:31:33 [Common] int main(int, char**): Started
(debug) 11:31:33 [File] virtual bool FileReader::open(): loading
/usr/share/qutecom//config/config.xml
(debug) 11:31:33 [File] virtual bool FileReader::open(): loading
/home/muhammad/.qutecom/config.xml
(debug) 11:31:33 [Purple] void* PurpleMainEventLoop(void*): Starting
gMainLoop
(debug) 11:31:35 [Purple] virtual PurpleIMFactory::~PurpleIMFactory():
Stopping gMainLoop
Segmentation fault

this line also appears in syslog file when it segfault :

kernel: [ 4911.734270] qutecom[6622]: segfault at 0 ip 00007fe2f6b43632 sp
00007fff70099410 error 4 in libQtCore.so.4.5.2[7fe2f6a10000+22d000]

from gnu debugger output was as follows :

gdb qutecom
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qutecom...Reading symbols from
/usr/lib/debug/usr/bin/qutecom...done.
(no debugging symbols found)...done.
(gdb) set args -style plastique
(gdb) run
Starting program: /usr/bin/qutecom -style plastique
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeae87910 (LWP 6687)]
[New Thread 0x7fffea686910 (LWP 6688)]
[New Thread 0x7fffe925b910 (LWP 6689)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3a82632 in ?? () from /usr/lib/libQtCore.so.4
(gdb) thread apply all bt

Thread 4 (Thread 0x7fffe925b910 (LWP 6689)):
#0 0x00007ffff06f4373 in poll () from /lib/libc.so.6
#1 0x00007ffff7b5736c in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff7b579e5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3 0x0000000000712b4a in PurpleMainEventLoop (data=<value optimized out>)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/libs/imwrapper/src/purple/PurpleIMFactory.cpp:163
#4 0x00007ffff7b7cb34 in ?? () from /lib/libglib-2.0.so.0
#5 0x00007ffff1cf4a04 in start_thread () from /lib/libpthread.so.0
#6 0x00007ffff07007bd in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffea686910 (LWP 6688)):
#0 0x00007ffff06f93c2 in select () from /lib/libc.so.6
#1 0x00007ffff3d8d827 in owsl_monitor_loop (dummy=<value optimized out>)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wifo/owsl/src/core/owsl_monitor.c:205
#2 0x00007ffff1cf4a04 in start_thread () from /lib/libpthread.so.0
#3 0x00007ffff07007bd in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffeae87910 (LWP 6687)):
---Type <return> to continue, or q <return> to quit---
#0 0x00007ffff1cf95a9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00007ffff3f998b6 in owqueue_check_wait_condition (queue=0xc5e820,
    blocking_mode=<value optimized out>, mutex=<value optimized out>,
    needed_condition=<value optimized out>,
    test_negative_condition=0x7ffff3f99770 <owqueue_is_empty>, force_wait=0)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wifo/owbase/src/owqueue.c:366
#2 0x00007ffff3f9a3c3 in owqueue_transaction_read (queue=0xc5e820,
    buffer=0x7fffeae87070, size=16, info=<value optimized out>, mode=0)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wifo/owbase/src/owqueue.c:696
#3 owqueue_read (queue=0xc5e820, buffer=0x7fffeae87070, size=16,
    info=<value optimized out>, mode=0)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wifo/owbase/src/owqueue.c:1022
#4 0x00007ffff3d8cfdb in owsl_asynchronous_loop (dummy=<value optimized
out>)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wifo/owsl/src/core/owsl_asynchronous.c:126
#5 0x00007ffff1cf4a04 in start_thread () from /lib/libpthread.so.0
#6 0x00007ffff07007bd in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fbe770 (LWP 6684)):
#0 0x00007ffff3a82632 in ?? () from /usr/lib/libQtCore.so.4
#1 0x00007ffff3a860c9 in QLibrary::setFileName(QString const&) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQtCore.so.4
#2 0x00007ffff23c9704 in ?? () from /usr/lib/libQtDBus.so.4
#3 0x00007ffff238248b in
QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) ()
from /usr/lib/libQtDBus.so.4
#4 0x00007ffff2383eef in ?? () from /usr/lib/libQtDBus.so.4
#5 0x00007ffff2384029 in QDBusConnection::systemBus() ()
   from /usr/lib/libQtDBus.so.4
#6 0x00000000007a2914 in NetworkObserver (this=0x7fffe40008b0)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wengophone/src/model/network/NetworkObserver.cpp:59
#7 0x00000000007a2d08 in NetworkObserver::getInstance ()
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wengophone/src/model/network/NetworkObserver.cpp:81
#8 0x00000000007aa7eb in ~SipAccount (this=0xc55980,
    __in_chrg=<value optimized out>)
    at
/build/buildd/qutecom-2.2~rc3.hg396~dfsg1/wengophone/src/model/account/SipAccount.cpp:109
#9 0x00007ffff0659c12 in exit () from /lib/libc.so.6
#10 0x00007ffff063fac4 in __libc_start_main () from /lib/libc.so.6
#11 0x00000000005a8be9 in _start () at ../sysdeps/x86_64/elf/start.S:113

On Fri, Oct 30, 2009 at 11:01 PM, Ludovico Cavedon <
<email address hidden>> wrote:

> Hi.
> thanks for reporting the bug.
>
> You said you are using the package from the ppa, but qutecom
> 2.2~rc3.hg396~dfsg1-2build1 is not in the ppa.
>
> Can you also please attach the output when running
> OWLOGGER_DEFAULT=debug qutecom
>
> and also, please install qutecom-dbg, run
> gdb qutecom
> and when it segfault run
> thread apply all bt
> and paste the output here, please
>
> Thanks,
> Ludovico
>
> --
> qutecom segfault when trying to start up
> https://bugs.launchpad.net/bugs/465243
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “qutecom” package in Ubuntu: New
>
> Bug description:
> Binary package hint: qutecom
>
> after installing qutecom from ppa repositories , and trying to start it up
> , it quit with segfault , attached strace file.
>
> 1- ubuntu 9.10
>
> 2- qutecom 2.2~rc3.hg396~dfsg1-2build1
>