kekekeks / skypetab-ng

A program that adds tabs to Skype™ for Linux
skypetab-ng
GNU Lesser General Public License v3.0
76 stars 4 forks source link

Crash upon opening a conversation #13

Closed karllindmark closed 12 years ago

karllindmark commented 12 years ago

Hello world!

Seeing that Skype is crashing when I'm running it with skype-ng and opening a conversation window, I might as see if I can help you guys this error. :-)

What kind of debug should I pull, and how do I get it?


Running Arch Linux (i686) and pekwm

moschlar commented 12 years ago

I can confirm this bug running Gentoo Linux on x86!

When I run skype with gdb I get the following:

moschlar@mopad ~/src/skypetab-ng $  echo $LD_LIBRARY_PATH
:/opt/skype
moschlar@mopad ~/src/skypetab-ng $ echo $LD_PRELOAD
/home/moschlar/src/skypetab-ng/libskypetab-ng.so
moschlar@mopad ~/src/skypetab-ng $ cd /opt/skype/
moschlar@mopad /opt/skype $ gdb ./skype 
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /opt/skype/skype...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/skype/skype 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6980b70 (LWP 6115)]
...
[New Thread 0xb1680b70 (LWP 6153)]
[New Thread 0xace7eb70 (LWP 6154)]
[Thread 0xb5a07b70 (LWP 6152) exited]
[Thread 0xb2682b70 (LWP 6151) exited]
[Thread 0xb1680b70 (LWP 6153) exited]
[New Thread 0xb1680b70 (LWP 6155)]
[New Thread 0xb2682b70 (LWP 6156)]
[New Thread 0xb5a07b70 (LWP 6157)]
[New Thread 0xac67db70 (LWP 6158)]
[Thread 0xac67db70 (LWP 6158) exited]
[Thread 0xb2682b70 (LWP 6156) exited]
[Thread 0xb1680b70 (LWP 6155) exited]
[Thread 0xb5a07b70 (LWP 6157) exited]

Program received signal SIGSEGV, Segmentation fault.
0xb7fd46f1 in QWidget::show() () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
(gdb) bt
#0  0xb7fd46f1 in QWidget::show() () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
#1  0xb7fd5701 in skypetab::SkypeTab::onNewWindow() () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
#2  0xb7fd3e52 in XCreateSimpleWindow () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
#3  0xb75ee0a9 in ?? () from /usr/lib/qt4/libQtGui.so.4
#4  0xb75eaf03 in QWidgetPrivate::create_sys(unsigned long, bool, bool) () from /usr/lib/qt4/libQtGui.so.4
#5  0xb759a00f in QWidget::create(unsigned long, bool, bool) () from /usr/lib/qt4/libQtGui.so.4
#6  0xb75966f9 in QWidgetPrivate::createWinId(unsigned long) () from /usr/lib/qt4/libQtGui.so.4
#7  0xb759a812 in QWidget::winId() const () from /usr/lib/qt4/libQtGui.so.4
#8  0xb7fd77ae in QWidget::winId() const () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
#9  0xb7fd74e8 in QWidget::setVisible(bool) () from /home/moschlar/src/skypetab-ng/libskypetab-ng.so
#10 0xb758f237 in QWidget::showNormal() () from /usr/lib/qt4/libQtGui.so.4
#11 0x0819f8c8 in ?? ()
#12 0x0809a214 in ?? ()
#13 0x081058d7 in ?? ()
#14 0x08105c7b in ?? ()
#15 0xb7540df9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#16 0xb7546634 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#17 0xb71a20a1 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#18 0xb7544fcd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/qt4/libQtGui.so.4
#19 0xb75cd6e9 in ?? () from /usr/lib/qt4/libQtGui.so.4
#20 0xb75cc84d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
#21 0xb75f7954 in ?? () from /usr/lib/qt4/libQtGui.so.4
#22 0xb6bc520d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
(gdb) quit
A debugging session is active.

    Inferior 1 [process 6112] will be killed.

Quit anyway? (y or n) y

´´´
kekekeks commented 12 years ago

Thank you for this report. Please, check that the issue still present after this commit

moschlar commented 12 years ago

Hey kekekeks, I've tested and now skype doesn't crash anymore (running with gdb) but the chat window doesn't open! When I click on a contact or on the chat bubble, just nothing happens!

kekekeks commented 12 years ago

Which window manager and Qt version are you using?

moschlar commented 12 years ago

This is Qt 4.7.2 under Gnome 2.32.1 with Metacity 2.30.3!

kekekeks commented 12 years ago

Try to update, it seems that after a fix proposed by restorer it works on Gentoo.

moschlar commented 12 years ago

Yep, thanks, it works now! Great job!