Bug 1133339

Summary: [abrt] pavucontrol: g_type_check_instance_is_a(): pavucontrol killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jeremy Rimpo <jrimpo>
Component: pavucontrolAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: belegdol, hdegoede, ignatenko, jones.peter.busi, lpoetter, oded, pbrobinson, rharwood, usdanskys, zboszor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/83da537431e0629b82cc5c84d3585cff3eca9ee5
Whiteboard: abrt_hash:647adb9efd95db763e0d92c4d8f01c0bb25236c2
Fixed In Version: pavucontrol-2.0-8.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-23 05:11:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
[PATCH] Reference the widget before returning it from ::create methods none

Description Jeremy Rimpo 2014-08-24 19:27:24 UTC
Description of problem:
On a fully upgraded F21, pavucontrol immediately crashes with a segfault.

I believe this is a duplicate of #1133272.

In the console, there are several GLib-GObject-WARNINGs about deprecated functions prior to the segfault.

Version-Release number of selected component:
pavucontrol-2.0-7.fc21

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        /usr/bin/pavucontrol
crash_function: g_type_check_instance_is_a
executable:     /usr/bin/pavucontrol
kernel:         3.16.1-300.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 g_type_check_instance_is_a at gtype.c:3969
 #1 gtk_box_pack at gtkbox.c:1479
 #2 MainWindow::createEventRoleWidget at mainwindow.cc:832
 #3 context_state_callback at pavucontrol.cc:456
 #4 pa_context_set_state at pulse/context.c:291
 #5 setup_complete_callback at pulse/context.c:497
 #6 run_action at pulsecore/pdispatch.c:279
 #7 pa_pdispatch_run at pulsecore/pdispatch.c:331
 #8 pstream_packet_callback at pulse/context.c:335
 #9 do_read at pulsecore/pstream.c:830

Comment 1 Jeremy Rimpo 2014-08-24 19:27:27 UTC
Created attachment 930230 [details]
File: backtrace

Comment 2 Jeremy Rimpo 2014-08-24 19:27:28 UTC
Created attachment 930231 [details]
File: cgroup

Comment 3 Jeremy Rimpo 2014-08-24 19:27:28 UTC
Created attachment 930232 [details]
File: core_backtrace

Comment 4 Jeremy Rimpo 2014-08-24 19:27:29 UTC
Created attachment 930233 [details]
File: dso_list

Comment 5 Jeremy Rimpo 2014-08-24 19:27:31 UTC
Created attachment 930234 [details]
File: environ

Comment 6 Jeremy Rimpo 2014-08-24 19:27:31 UTC
Created attachment 930235 [details]
File: exploitable

Comment 7 Jeremy Rimpo 2014-08-24 19:27:33 UTC
Created attachment 930236 [details]
File: limits

Comment 8 Jeremy Rimpo 2014-08-24 19:27:34 UTC
Created attachment 930237 [details]
File: maps

Comment 9 Jeremy Rimpo 2014-08-24 19:27:35 UTC
Created attachment 930238 [details]
File: open_fds

Comment 10 Jeremy Rimpo 2014-08-24 19:27:36 UTC
Created attachment 930239 [details]
File: proc_pid_status

Comment 11 Jeremy Rimpo 2014-08-24 19:27:37 UTC
Created attachment 930240 [details]
File: var_log_messages

Comment 12 Igor Gnatenko 2014-08-27 12:58:19 UTC
reported upstream

https://bugs.freedesktop.org/show_bug.cgi?id=83144

Comment 13 Hans de Goede 2014-08-28 08:32:11 UTC
*** Bug 1133272 has been marked as a duplicate of this bug. ***

Comment 14 Hans de Goede 2014-08-28 08:32:16 UTC
*** Bug 1134357 has been marked as a duplicate of this bug. ***

Comment 15 Hans de Goede 2014-08-28 11:10:49 UTC
Created attachment 931878 [details]
[PATCH] Reference the widget before returning it from ::create methods

Nasty bug, just spend a couple of hours debugging this. This patch fixes it. For details see the commit message inside the patch.

I'm somewhat amazed that this works for F-19 and F-20 as is, but since it does I'm starting builds for F-21+ with this fix in.

Comment 16 Igor Gnatenko 2014-08-28 11:33:38 UTC
Yes, this fixes problem.

Comment 17 Fedora Update System 2014-08-28 11:44:28 UTC
pavucontrol-2.0-8.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pavucontrol-2.0-8.fc21

Comment 18 Zoltan Boszormenyi 2014-08-28 12:06:43 UTC
(In reply to Hans de Goede from comment #15)
> Created attachment 931878 [details]
> [PATCH] Reference the widget before returning it from ::create methods
> 
> Nasty bug, just spend a couple of hours debugging this. This patch fixes it.
> For details see the commit message inside the patch.
> 
> I'm somewhat amazed that this works for F-19 and F-20 as is, but since it
> does I'm starting builds for F-21+ with this fix in.

It works.

Comment 19 Fedora Update System 2014-08-28 16:43:55 UTC
Package pavucontrol-2.0-8.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pavucontrol-2.0-8.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9891/pavucontrol-2.0-8.fc21
then log in and leave karma (feedback).

Comment 20 Peter H. Jones 2014-08-31 15:57:17 UTC
Works fine in a custom live spin. I had to get the new version from koji because today's (Aug 31, 2014) spins appear to be a 2.0.7.

Comment 21 Steven Usdansky 2014-08-31 23:05:45 UTC
Installed pavucontrol-2.0-8.fc21.x86_64 on 28-Aug about half an hour after it was built. Been working properly ever since.

Comment 22 Jeremy Rimpo 2014-09-08 15:11:21 UTC
Update is working fine here, as well.

Comment 23 Fedora Update System 2014-09-23 05:11:24 UTC
pavucontrol-2.0-8.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.