Bug 440299 - systemsettings assertion failure when trying to open sound applet.
Summary: systemsettings assertion failure when trying to open sound applet.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase-runtime
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 441046 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-02 17:55 UTC by Adrian "Adi1981" P.
Modified: 2008-04-05 17:05 UTC (History)
5 users (show)

Fixed In Version: 4.0.3-4.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-05 17:05:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
phonon crash backtrace (3.81 KB, application/octet-stream)
2008-04-02 17:55 UTC, Adrian "Adi1981" P.
no flags Details
"kcmshell4 kcm_phonon" output (21.66 KB, application/octet-stream)
2008-04-02 17:56 UTC, Adrian "Adi1981" P.
no flags Details
Proposed patch (also fixes crash when playing video) (11.06 KB, patch)
2008-04-05 15:18 UTC, Kevin Kofler
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 160414 0 None None None Never

Description Adrian "Adi1981" P. 2008-04-02 17:55:14 UTC
Description of problem:
When i'm trying to get into "sound" in systemsettings, sysemsettings just shuts
down. On kde 4.0.2 i've got once crash informations from kde -> see attached
file phonon_crash. With kde 4.0.3 i got only few informations with one ASSERT
(see attached file phonon). Now i'm installing debug info for kdebase-workspace
so hopefully i'll ge able to get some more info about it soon.

If it's not fedora but upstream issue then let me know, i will try to report
upstream.

Version-Release number of selected component (if applicable):
kdebase-workspace-4.0.3-5.fc9.i386
kdelibs-4.0.3-3.fc9.i386

How reproducible:
Always

Steps to Reproduce:
1.go to systemsettings
2.click on sound

Comment 1 Adrian "Adi1981" P. 2008-04-02 17:55:14 UTC
Created attachment 300105 [details]
phonon crash backtrace

Comment 2 Adrian "Adi1981" P. 2008-04-02 17:56:20 UTC
Created attachment 300107 [details]
"kcmshell4 kcm_phonon" output

Comment 3 Kevin Kofler 2008-04-02 18:04:38 UTC
> phonon crash backtrace
That's not a backtrace, it's debugging output from before the crash, which is 
much less useful than a stack backtrace.

Anyway, it crashes because of this assertion failure.

Comment 4 Kevin Kofler 2008-04-02 18:12:35 UTC
This is the code leading to the assertion failure:
        xine_t *xine = xine_new();
        Q_ASSERT(xine);
        xine_init(xine);
        xine_video_port_t *nullVideoPort = xine_open_video_driver(xine, "auto", 
XINE_VISUAL_TYPE_NONE, 0);
        xine_post_t *deinterlacer = xine_post_init(xine, "tvtime", 1, 0, 
&nullVideoPort);
        Q_ASSERT(deinterlacer);

This is probably not Fedora-specific, because the only changes we're making for 
Phonon are for audio and this is video code. It's a bug in either KDE or 
xine-lib.

Comment 5 Adrian "Adi1981" P. 2008-04-02 18:22:25 UTC
Ok, i will try to report it tomorrow to kde upstream, we'll see what they'll say
about it.

Comment 6 Kevin Kofler 2008-04-05 13:39:26 UTC
*** Bug 441046 has been marked as a duplicate of this bug. ***

Comment 7 Mary Ellen Foster 2008-04-05 14:28:24 UTC
It's a problem in xine -- the tvtime plugin is explicitly removed from the
source before building. See bug 441052.

Comment 8 Kevin Kofler 2008-04-05 14:43:01 UTC
So does this mean installing xine-lib-extras-nonfree from Livna fixes the 
assertion failure?

Comment 9 Kevin Kofler 2008-04-05 15:18:37 UTC
Created attachment 301371 [details]
Proposed patch (also fixes crash when playing video)

Here's a patch which should resolve this issue. (Not tested yet.)

This makes deinterlacing optional and disables the deinterlacing options if
deinterlacing is not available in xine-lib. It also handles a missing
deinterlace plugin at runtime during video playback (by just disabling the
deinterlacing if it can't be enabled).

Comment 10 Adrian "Adi1981" P. 2008-04-05 15:19:57 UTC
(In reply to comment #8)
> So does this mean installing xine-lib-extras-nonfree from Livna fixes the 
> assertion failure?

Confirm - with xine-lib-extras-nonfree-1.1.11.1-1.lvn9.i386.rpm everything works
perfect here.

Comment 11 Kevin Kofler 2008-04-05 15:21:37 UTC
My patch should make it work without it too (and not change anything for those 
who have xine-lib-extras-nonfree installed), I'm going to build it for Rawhide 
now.

Comment 12 Kevin Kofler 2008-04-05 15:35:58 UTC
Patch submitted upstream.
http://bugs.kde.org/show_bug.cgi?id=160414

Comment 13 Kevin Kofler 2008-04-05 15:58:25 UTC
Should be fixed in kdebase-runtime-4.0.3-4.fc9, can anyone please confirm?
http://koji.fedoraproject.org/koji/taskinfo?taskID=550782

Comment 14 Adrian "Adi1981" P. 2008-04-05 16:28:38 UTC
WORKSFORME :) Thanks !

Comment 15 Kevin Kofler 2008-04-05 16:31:54 UTC
Even without xine-lib-extras-nonfree?

Comment 16 Adrian "Adi1981" P. 2008-04-05 16:59:19 UTC
[adi@localhost ~]$ kto xine
xine-lib-1.1.11.1-1.fc9.i386
xine-lib-devel-1.1.11.1-1.fc9.i386
[adi@localhost ~]$

Rest of xine i've removed before updated kdebase-runtime.

Comment 17 Kevin Kofler 2008-04-05 17:05:28 UTC
So we can close this, thanks!

By the way, the patch has been committed upstream to both the 4.1 trunk and the 
4.0 branch.


Note You need to log in before you can comment on or make changes to this bug.