Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514888 - net-im/skype-4.3.037 - segmentation fault in Qt::escape(QString const&) () from /usr/lib32/qt4/libQtGui.so.4 shortly after logging in
Summary: net-im/skype-4.3.037 - segmentation fault in Qt::escape(QString const&) () fr...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 10:48 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-12-16 09:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info skype (einfo,5.60 KB, text/plain)
2014-06-24 10:48 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-06-24 10:48:57 UTC
Created attachment 379566 [details]
emerge --info skype

--[ without gdb ]---
$ time skype
Aborted

real	0m5.596s
user	0m6.774s
sys	0m2.945s

--[ with gdb ]--

gdb --args skype 
...
(gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
0xf5f5d24b in Qt::escape(QString const&) () from /usr/lib32/qt4/libQtGui.so.4

(gdb) bt full
#0  0xf5f5d24b in Qt::escape(QString const&) () from /usr/lib32/qt4/libQtGui.so.4
No symbol table info available.
#1  0x568946ad in ?? ()
No symbol table info available.
#2  0x5689c187 in ?? ()
No symbol table info available.
#3  0x5684cd1e in ?? ()
No symbol table info available.
#4  0x5684e983 in ?? ()
No symbol table info available.
#5  0x56b3d275 in ?? ()
No symbol table info available.
#6  0xf58f07e5 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib32/qt4/libQtCore.so.4
No symbol table info available.
#7  0xf58ff83c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib32/qt4/libQtCore.so.4
No symbol table info available.
#8  0x56b71b93 in ?? ()
No symbol table info available.
#9  0x56b58b49 in ?? ()
No symbol table info available.
#10 0x57425506 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 1 Andriy Baranskyy 2014-06-26 07:06:28 UTC
Had a similar problem
Resolved this by renaming the ~/.Skype directory.
(In reply to Kent Fredric from comment #0)
> Created attachment 379566 [details]
> emerge --info skype
> 
> --[ without gdb ]---
> $ time skype
> Aborted
> 
> real	0m5.596s
> user	0m6.774s
> sys	0m2.945s
> 
> --[ with gdb ]--
> 
> gdb --args skype 
> ...
> (gdb) run
> ...
> Program received signal SIGSEGV, Segmentation fault.
> 0xf5f5d24b in Qt::escape(QString const&) () from /usr/lib32/qt4/libQtGui.so.4
> 
> (gdb) bt full
> #0  0xf5f5d24b in Qt::escape(QString const&) () from
> /usr/lib32/qt4/libQtGui.so.4
> No symbol table info available.
> #1  0x568946ad in ?? ()
> No symbol table info available.
> #2  0x5689c187 in ?? ()
> No symbol table info available.
> #3  0x5684cd1e in ?? ()
> No symbol table info available.
> #4  0x5684e983 in ?? ()
> No symbol table info available.
> #5  0x56b3d275 in ?? ()
> No symbol table info available.
> #6  0xf58f07e5 in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
> void**) () from /usr/lib32/qt4/libQtCore.so.4
> No symbol table info available.
> #7  0xf58ff83c in QMetaObject::activate(QObject*, QMetaObject const*, int,
> void**) ()
>    from /usr/lib32/qt4/libQtCore.so.4
> No symbol table info available.
> #8  0x56b71b93 in ?? ()
> No symbol table info available.
> #9  0x56b58b49 in ?? ()
> No symbol table info available.
> #10 0x57425506 in ?? ()
> No symbol table info available.
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-06-26 09:51:11 UTC
(In reply to Andriy Baranskyy from comment #1)
> Had a similar problem
> Resolved this by renaming the ~/.Skype directory.

Using this point as rationale, I went through and selectively renamed files until the problem went away.

Eventually, I had only removed "~/.Skype/${myname}/main.db" and "~/.Skype/${myname}/main.db-journal" and my problem went away.

Comparing the two, there's a bunch of tables that have changed definition.

https://gist.github.com/kentfredric/93731939db4be4e56002

In fact, it looks like the columns themselves have not changed, but the order has ... so I can't easily discern whether the failure is horribly bad SQL practices, or there's some junk data in one table.

I'll throw something together to see if I can normalise my existing sqlite dump as a migration step and see what happens.
Comment 3 Kęstutis 2014-08-06 11:05:15 UTC
This should be helpful to fix the problem with Skype 4.3.0.37: http://community.skype.com/t5/Linux/Ubuntu-12-10-and-Skype-4-1-fails-during-launch/m-p/3465393#M9785
http://community.skype.com/t5/Linux/Skype-4-3-crash-on-ubuntu-14-04/m-p/3465411#M9786
Because in my there was no need to remove the file, just update the main.db file with this query: http://community.skype.com/t5/Linux/Skype-4-3-crashes-with-old-chat-history/m-p/3369429#M9430
Comment 4 Amy Liffey gentoo-dev 2014-12-16 09:08:14 UTC
Report it to upstream.

Amynka