Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530170 - media-sound/pavucontrol-2.0 - segmentation fault in in g_type_check_instance_is_a (type_instance=type_instance@entry=0x19bf3a0, iface_type=iface_type@entry=24007216) at gtype.c:3969
Summary: media-sound/pavucontrol-2.0 - segmentation fault in in g_type_check_instance_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
: 542074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-23 12:27 UTC by Kris Scott
Modified: 2015-03-23 08:28 UTC (History)
8 users (show)

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


Attachments
[PATCH] Reference the widget before returning it from ::create methods (pavucontrol-segfault.patch,7.26 KB, patch)
2014-11-23 12:27 UTC, Kris Scott
Details | Diff
pavucontrol-2.0-r1.ebuild (pavucontrol-2.0-r1.ebuild,1.03 KB, text/plain)
2015-01-06 05:36 UTC, Chris Torske
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Scott 2014-11-23 12:27:43 UTC
Created attachment 390090 [details, diff]
[PATCH] Reference the widget before returning it from ::create methods

Pavucontrol segfaults on my system, due to this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=83144

A patch was provided from upstream that fixes it. attached.
Comment 1 Harris Landgarten 2014-12-28 17:19:17 UTC
After the annual rebuild of my workstation I have the this issue too.

Please issue a updated ebuild
Comment 2 Chris Torske 2015-01-06 05:36:06 UTC
Created attachment 393292 [details]
pavucontrol-2.0-r1.ebuild

Here's an updated ebuild using the supplied patch.  This compiles and runs and fixes the issue for me.  *Note*  The patch file was not renamed from how it was posted.
Comment 3 tman 2015-01-17 17:47:40 UTC
http://forums.gentoo.org/viewtopic-t-1008648-highlight-pavucontrol.html?sid=ffb042d0137ecebde957078852aa4b02


please fix this in portage.

thanks i tested the ebuild and pacth and it seems to work
Comment 4 wolfwood 2015-02-08 19:41:34 UTC
I was experiencing this bug, then rebuild some deprendencies and now its crashing in a slightly different place:

(pavucontrol:27110): Gtk-CRITICAL **: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff73815d6 in gtk_label_set_markup () from /usr/lib64/libgtk-3.so.0

this seems to an upstream bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192571 also due to not referencing the widget.
Comment 5 wolfwood 2015-02-08 19:55:28 UTC
tried the patch, problem solved.
Comment 6 Anders Larsson 2015-02-12 17:21:06 UTC
Tried the patch as well. Pavucontrol no longer crashes on startup.
Comment 7 Mark 2015-02-15 15:26:50 UTC
I had pavucontrol segmentation faults for weeks - this patch works.
Comment 8 Mathew Artemenko 2015-03-05 18:10:50 UTC
The patch is successful for me as well.
Comment 9 Daniel Troeder 2015-03-05 19:32:06 UTC
Patch works for me, pavucontrol still segfaults when exiting, but I can live with that :)
Comment 10 Daniel Troeder 2015-03-05 19:33:31 UTC
*** Bug 542074 has been marked as a duplicate of this bug. ***
Comment 11 Mike Limansky 2015-03-22 12:33:56 UTC
The patch works for me as well.
Comment 12 eNca 2015-03-22 22:08:35 UTC
I can confirm that the patch is working
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-23 08:28:39 UTC
+*pavucontrol-2.0-r1 (23 Mar 2015)
+
+  23 Mar 2015; Michał Górny <mgorny@gentoo.org>
+  +files/pavucontrol-2.0-fix-startup-crashes.patch, +pavucontrol-2.0-r1.ebuild,
+  -pavucontrol-2.0.ebuild:
+  Fix segmentation fault on startup, bug #530170. https://github.com/gentoo
+  /gentoo-portage-rsync-mirror/pull/73 by jgeboski, thanks a lot.