Summary: | net-im/skype-2.1.0.81 segfaults after upgrade to kde-4.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey Grozin <grozin> |
Component: | [OLD] Core system | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | cruzki123, gent_bz, hwoarang, kde, manschwetus, qt, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | strace output |
Description
Andrey Grozin
2011-02-07 11:42:45 UTC
grozin@eeepc /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) r Starting program: /opt/skype/skype [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6.0.14-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers Program received signal SIGSEGV, Segmentation fault. 0x00010ee2 in ?? () (gdb) most likely due to the change in memcpy behavior. if that's the case, not a bug in glibc. skype needs updating. if that isnt the case, skype maintainers need to do a bit of debugging as i'm not interested in debugging a binary-only app. there has to be more factors producing this error. I use newest in-tree kernel/gcc/glib plus this rock old skype for two years w/o problems (on a daily basis, uptimes >1week). (In reply to comment #3) > there has to be more factors producing this error. Yes, I have already found this. The reason is kde-4.6 - it was installed just after glibc-2.13. I downgraded glibc to 2.12 (this was not too difficult - after the upgrade to 2.13, about nearly packages were upgraded, mainly kde-4.6, but nothing really critical; I re-emerged all of them after the downgrade). And the segfault has not disappeared! I needed skype urgently; so, I downloaded a fully static skype from their web site. It started normally (so, this is a problem with some .so library). But my microphone did not work at all. So, I downgraded kde to 4.5.5, and masked 4.6. After this, the gentoo skype-2.1.0.81 returned to normal - no segfaults, no problems with the microphone. I cannot really understand, how the version of kde can induce a segfault in skype - it does not link to any kde lib. But the fact is: skype crashes under 4.6 and works under 4.5.5 (both with glibc-2.12). exactly, kde is unrelated, qt could be the issue, since you probably upgraded to 4.7 from 4.6 (In reply to comment #5) > exactly, kde is unrelated, qt could be the issue, since you probably upgraded > to 4.7 from 4.6 But skype works with qt-4.7 + kde-4.5.5! Yesterday qt was upgraded to 4.7.2, and skype still works. And with kde-4.6.0 it segfaults. Have not tried 4.6.1, because I need working skype. Also, in kde-4.6.0 my microphone failed to work. It works in 4.5.5. But this is, probably, an observation for a separate bug. i am running Qt 4.7.2, KDE 4.6.1 and skype 2.1.0.81 here and I can't reproduce the crash. Again, KDE is totally irrelevant here, skype is a Qt only app. Random idea: try with a fresh account (In reply to comment #7) > KDE is totally irrelevant here, skype is a Qt only app. I've performed an absolutely clean experiment. 1. Updated glibc to 2.13-r2, qt to 4.7.2, leaving kde-4.5.5. skype works fine. 2. Updated kde (and only kde) to 4.6.1. grozin@eeepc ~ $ skype Segmentation fault grozin@eeepc ~ $ 3. started a completely static skype from their site. It works. But ther sound from my microphone is not transmitted (it works fine in 4.5.5). Is this a new feature of kde-4.6? Now I'll have to spend half a day again restoring kde-4.5.5 on my slow netbook :-( (In reply to comment #8) > But ther sound from my microphone is not transmitted (it works fine in 4.5.5). > Is this a new feature of kde-4.6? Another new behaviour in kde-4.6.1: kwin segfaults every few minutes. Mainly when I switch to another virtual desktop, but sometimes when I do something else. The wizard appears which suggests to send a report to kde developers. If I close it, the desktop continues to work. Probably, kwin is automatically restarted. But this is very tiresome. I'm compiling kde-4.5.5 now. Whats your current qt-version? Can you run "gdb /opt/skype/skype" and paste the trace? There might something useful in there (In reply to comment #10) > Whats your current qt-version? 4.7.2 > Can you run "gdb /opt/skype/skype" and paste the > trace? There might something useful in there ======== grozin@eeepc ~ $ export LD_LIBRARY_PATH=/opt/skype grozin@eeepc ~ $ gdb /opt/skype/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) r Starting program: /opt/skype/skype [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6.0.14-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers Program received signal SIGSEGV, Segmentation fault. 0x00010ee2 in ?? () (gdb) bt #0 0x00010ee2 in ?? () #1 0xb6576e0b in qt_plugin_instance () from /usr/lib/kde4/plugins/styles/oxygen.so #2 0xb7174db1 in QFactoryLoader::instance(QString const&) const () from /usr/lib/qt4/libQtCore.so.4 #3 0xb7850165 in QStyleFactory::create(QString const&) () from /usr/lib/qt4/libQtGui.so.4 #4 0xb753c8a2 in QApplication::style() () from /usr/lib/qt4/libQtGui.so.4 #5 0xb75b598a in ?? () from /usr/lib/qt4/libQtGui.so.4 #6 0xb75bd63e in ?? () from /usr/lib/qt4/libQtGui.so.4 #7 0xb753f6ab in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/qt4/libQtGui.so.4 #8 0xb753ff14 in QApplication::QApplication(int&, char**, int) () from /usr/lib/qt4/libQtGui.so.4 #9 0x082a87dd in ?? () #10 0x08072894 in ?? () #11 0xb6d9ee16 in __libc_start_main () from /lib/libc.so.6 #12 0x080725e1 in ?? () ======== Aha! There is /usr/lib/kde4/plugins/styles/oxygen.so here, and this behaviour *can* depend on the kde version. Created attachment 265941 [details]
strace output
strace output
#1 0xb6576e0b in qt_plugin_instance () from /usr/lib/kde4/plugins/styles/oxygen.so #2 0xb7174db1 in QFactoryLoader::instance(QString const&) const () and "5887 stat64("/usr/lib/kde4/plugins/styles/oxygen.so", {st_mode=S_IFREG|0755, st_size=584672, ...}) = 0 5887 --- SIGSEGV (Segmentation fault) @ 0 (0) ---" The skype clearly interacts with kde. So the initial assumption that the kde upgrade might be the problem seems perfectly valid to me. I am not sure what exactly is functionality of the styles/oxygen.so but I guess is a style/theme stuff. I wonder if you switch to another DE or WM (openbox for example) would you be able to reproduce it? I am not sure where is the right place to report this bug thanks for the investigation. oxygen is a theme mostly, not entirely related to kde/kdelibs. anywayz, this is not the proper place to report it, i'd recommend an upstream bug I've downgraded kde to 4.5.5, and skype works again. It's impossible to use kde-4.6.[01] anyway, because kwin segfaults every minute or two. Maybe, kde-4.6 does not like intel video cards? I could reproduce with 4.6.1 (and nvidia) it seems to work fine now, something fixed it no idea what it is, can you try in your system? having the same problem. Workaround for me: Start skype without public api. skype --disable-api above workaround doesnt seem to work as well as i thought. Currently still getting crashes some seconds after startup again... (with both static and dynamic skype versions) Any better results with kde-4.6.2 and / or skype-2.2.0.25 ? (In reply to comment #19) > Any better results with kde-4.6.2 and / or skype-2.2.0.25 ? Not quite. I also get segfaults when using the latest version of skype against the latest version of kdelibs Deleting the shared.xml has solved it here. http://www.heise.de/newsticker/meldung/Stoerung-bei-Skype-1251051.html (In reply to comment #21) > Deleting the shared.xml has solved it here. > http://www.heise.de/newsticker/meldung/Stoerung-bei-Skype-1251051.html I can confirm that worked for me with net-im/skype 2.2.0.25 and kde 4.6. (In reply to comment #21) > Deleting the shared.xml has solved it here. > http://www.heise.de/newsticker/meldung/Stoerung-bei-Skype-1251051.html Yes, after deleting shared.xml skype-2.2.0.25 does not segfault (kde-4.6.2). Closing. |