Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521958

Summary: skype segfaults with glib >= 2.36
Product: Gentoo Linux Reporter: Dmitry Petrov <dmitry.petroff>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED OBSOLETE    
Severity: major CC: amynka
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: revert glib's buggy commit 518e3104bf6cdb5d8e6b43d3b721805db5951139

Description Dmitry Petrov 2014-09-02 10:23:40 UTC
Created attachment 384092 [details, diff]
revert glib's buggy commit 518e3104bf6cdb5d8e6b43d3b721805db5951139

Hi.
Today after upgrading glib on 32-bit system skype started to segfault:
#1  0xb45b8593 in g_malloc () from /usr/lib/libglib-2.0.so.0
#2  0xb45b8883 in g_malloc_n () from /usr/lib/libglib-2.0.so.0
#3  0xb45c0fcc in g_quark_from_static_string () from /usr/lib/libglib-2.0.so.0
...

Package versions:
net-im/skype-4.1.0.20
dev-libs/glib-2.40.0-r1

After searching other bugzillas two solutions were found:
1. downgrade to <glib-2.36
2. revert commit 518e3104bf6cdb5d8e6b43d3b721805db5951139 on glib

I've made patch that reverts bad commit and attached it to report.

It seems that emul-linux-x86-baselibs-20140508 is also affected as it contains glib-2.38 (will try to check it on x86_64 host later)
Comment 1 Pacho Ramos gentoo-dev 2014-09-02 13:43:36 UTC
Please post links to the other bugzillas to get more information
Comment 2 Dmitry Petrov 2014-09-02 14:12:56 UTC
Reverting glib commit suggested in https://bugs.archlinux.org/task/34630
Comment 3 Pacho Ramos gentoo-dev 2014-09-02 15:04:46 UTC
Per https://bugzilla.gnome.org/show_bug.cgi?id=698716

You should update your skype version (current in tree is 4.3.0.37)