Bug 326601 - Systemsettings crash accesing multimedia phonon settings
Summary: Systemsettings crash accesing multimedia phonon settings
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_phonon (show other bugs)
Version: 1.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords: drkonqi
: 328344 328384 328519 328526 328639 329646 332854 337283 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-25 07:04 UTC by Hendrik
Modified: 2015-09-27 15:18 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.32 KB, text/plain)
2013-12-23 03:59 UTC, Jim Ohlmacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik 2013-10-25 07:04:02 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop i686
Distribution: "openSUSE 12.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: accesing Phonon settings in mulimedia tab in systemsettings

- Unusual behavior I noticed: Pulse folume settings starting up but crashing and vanashing from screen

- Custom settings of the application: not that i know of just installt pulse and phonon and al backends (Gstreamer) from opensuse repositories (12.3)

The crash can be reproduced every time.

-- Backtrace:
Application: Systeeminstellingen (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#6  0xb5f4e262 in QString::fromLatin1_helper (str=0x1 <Address 0x1 out of bounds>, size=-1) at tools/qstring.cpp:3821
#7  0xb5f52b3c in QString::fromAscii_helper (str=0x1 <Address 0x1 out of bounds>, size=-1) at tools/qstring.cpp:3887
#8  0xaeda129d in QString (ch=<optimized out>, this=<optimized out>) at /usr/include/QtCore/qstring.h:419
#9  AudioSetup::updateCard (this=this@entry=0x86d94f0, pInfo=pInfo@entry=0xbfe328d8) at /usr/src/debug/kde-runtime-4.10.5/phonon/kcm/audiosetup.cpp:383
#10 0xaeda205c in card_cb (c=0x86d0708, i=0xbfe328d8, eol=0, userdata=0x86d94f0) at /usr/src/debug/kde-runtime-4.10.5/phonon/kcm/audiosetup.cpp:71
#11 0xb238dd05 in context_get_card_info_callback (pd=pd@entry=0x8736ca8, command=command@entry=2, tag=3, t=t@entry=0x86c4bc0, userdata=0x850eb98) at pulse/introspect.c:943
#12 0xb1e5bf9f in run_action (pd=0x8736ca8, r=0x8746c08, command=2, ts=0x86c4bc0) at pulsecore/pdispatch.c:279
#13 0xb1e5c3a8 in pa_pdispatch_run (pd=0x8736ca8, packet=packet@entry=0x86ff810, creds=creds@entry=0x86d3220, userdata=userdata@entry=0x86d0708) at pulsecore/pdispatch.c:331
#14 0xb23818cd in pstream_packet_callback (p=p@entry=0x86d3078, packet=0x86ff810, creds=creds@entry=0x86d3220, userdata=0x86d0708) at pulse/context.c:335
#15 0xb1e61024 in do_read (p=0x86d3078) at pulsecore/pstream.c:830
#16 do_pstream_read_write (p=0x86d3078) at pulsecore/pstream.c:185
#17 0xb1e4b6b8 in callback (m=0x8744b3c, e=0x86d9480, fd=12, f=PA_IO_EVENT_INPUT, userdata=0x85bec38) at pulsecore/iochannel.c:160
#18 0xb236ec07 in dispatch_func (source=0x8744b08, callback=0x0, userdata=0x0) at pulse/glib-mainloop.c:584
#19 0xb30d98b3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb30d9c50 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb30d9d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb6044891 in QEventDispatcherGlib::processEvents (this=0x80959a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0xb66d94aa in QGuiEventDispatcherGlib::processEvents (this=0x80959a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0xb601139c in QEventLoop::processEvents (this=this@entry=0xbfe32d48, flags=...) at kernel/qeventloop.cpp:149
#25 0xb6011691 in QEventLoop::exec (this=0xbfe32d48, flags=...) at kernel/qeventloop.cpp:204
#26 0xb601694a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#27 0xb6625a24 in QApplication::exec () at kernel/qapplication.cpp:3823
#28 0x08050ef2 in ?? ()
#29 0xb5c0a825 in __libc_start_main () from /lib/libc.so.6
#30 0x08050f39 in _start ()

Possible duplicates by query: bug 262234, bug 195176.

Reported using DrKonqi
Comment 1 Harald Sitter 2013-10-25 09:49:18 UTC
Git commit 9c2d6b45651cd27ea64c2feecac1bdcd2ca2609b by Harald Sitter.
Committed on 25/10/2013 at 09:48.
Pushed by sitter into branch 'KDE/4.11'.

Prevent crash when PulseAudio provides empty name or description

Also construct name from utf8.
FIXED-IN: 4.11.3

M  +2    -1    phonon/kcm/audiosetup.cpp

http://commits.kde.org/kde-runtime/9c2d6b45651cd27ea64c2feecac1bdcd2ca2609b
Comment 2 Christoph Feck 2013-12-02 22:51:08 UTC
*** Bug 328344 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2013-12-03 20:21:54 UTC
*** Bug 328384 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2013-12-08 01:55:47 UTC
*** Bug 328519 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2013-12-08 02:40:34 UTC
*** Bug 328526 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2013-12-10 19:54:13 UTC
Bug 328639 is from KDE 4.11.3, reopen.
Comment 7 Christoph Feck 2013-12-10 19:54:28 UTC
*** Bug 328639 has been marked as a duplicate of this bug. ***
Comment 8 Harald Sitter 2013-12-10 20:49:40 UTC
oh yeah, it's 0x1, wait, why is it 0x1 :O
Comment 9 Hrvoje Senjan 2013-12-10 21:11:03 UTC
Anything with >= 4.11.3 is downstream afaics, for details see https://bugzilla.novell.com/show_bug.cgi?id=853383#c9
(we had PA with broken ABI on 32bit arch, however dependent packages haven't rebuild against fixed package)
Indication for this is that all crashes seem to happen on 32bit 13.1 openSUSE.
The broken update has been removed from update channel, and shall be delivered in the same run as rebuilt packages.
For those that suffer from crashes, try downgrading pulseaudio, libpulse, etc to release version.
FWIW, relevant fdo report: https://bugs.freedesktop.org/show_bug.cgi?id=71047
Comment 10 Harald Sitter 2013-12-11 08:38:02 UTC
Would be cool if someone could confirm this. It seems the opensuse 32bit pattern seems to apply though.
Comment 11 Jim Ohlmacher 2013-12-23 03:59:04 UTC
Created attachment 84237 [details]
New crash information added by DrKonqi

systemsettings (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.5

- What I was doing when the application crashed: I'm at 13.1 up to date on all patches and every time I go into System Settings Multimedia and select Audio and Video Settings it blows up.  Also I had my audio working well, and put on some patches and it went intermittent on me and my Camera microphone channel went out.  If there is a crappy patch out there, I've probably got it. I'll try the backout and see if that works.

-- Backtrace (Reduced):
#8  0xb60170b8 in qstrlen (str=0x1 <Address 0x1 out of bounds>) at ../../src/corelib/tools/qbytearray.h:80
#9  QString::fromUtf8 (str=0x1 <Address 0x1 out of bounds>, size=size@entry=-1) at tools/qstring.cpp:4018
#10 0xabe9994a in AudioSetup::updateCard (this=this@entry=0x9fa1d00, pInfo=pInfo@entry=0xbfffd2d0) at /usr/src/debug/kde-runtime-4.11.3/phonon/kcm/audiosetup.cpp:368
#11 0xabe9a562 in card_cb (c=0xa026180, i=0xbfffd2d0, eol=0, userdata=0x9fa1d00) at /usr/src/debug/kde-runtime-4.11.3/phonon/kcm/audiosetup.cpp:71
[...]
#13 0xb1052de3 in run_action (pd=0xa01bce0, r=0xa00b1b0, command=2, ts=0x9e5e368) at pulsecore/pdispatch.c:279
Comment 12 Jekyll Wu 2014-01-07 01:39:49 UTC
*** Bug 329646 has been marked as a duplicate of this bug. ***
Comment 13 Jekyll Wu 2014-04-01 14:32:44 UTC
*** Bug 332854 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2014-07-09 21:37:09 UTC
One more report from 4.12.5 / 4.11.10: bug 337283
Comment 15 Christoph Feck 2014-07-09 21:37:37 UTC
*** Bug 337283 has been marked as a duplicate of this bug. ***
Comment 16 Albert Astals Cid 2015-09-26 13:38:38 UTC
systemsettings 4 is no longer supported, we do only support version 5

I can not reproduce this crash with the following combinations
  systemsettings 5.4.1 + Qt 5.5.0
  systemsettings 5.3.2 + Qt 5.4.1
Can you still reproduce this hang on version 5?

If you can still reproduce the crash could you please install valgrind and then run
   valgrind systemsettings5
in a terminal, try to reproduce the crash and add here the valgrind output?
Comment 17 ian a peden 2015-09-27 15:10:38 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Many Thanks

Yes. The crash does not appear on the latest Versions of
systemsettings and Qt.

The sound system now works.

I will now upgrade my old Opensuse KDE QT versions.

ian a peden






On 26/09/15 14:38, Albert Astals Cid wrote:
> https://bugs.kde.org/show_bug.cgi?id=326601
> 
> Albert Astals Cid <aacid@kde.org> changed:
> 
> What    |Removed                     |Added 
> ----------------------------------------------------------------------------
>
> 
Status|REOPENED                    |NEEDSINFO
> Resolution|---                         |WAITINGFORINFO CC|
> |aacid@kde.org
> 
> --- Comment #16 from Albert Astals Cid <aacid@kde.org> --- 
> systemsettings 4 is no longer supported, we do only support version
> 5
> 
> I can not reproduce this crash with the following combinations 
> systemsettings 5.4.1 + Qt 5.5.0 systemsettings 5.3.2 + Qt 5.4.1 Can
> you still reproduce this hang on version 5?
> 
> If you can still reproduce the crash could you please install
> valgrind and then run valgrind systemsettings5 in a terminal, try
> to reproduce the crash and add here the valgrind output?
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWCAbnAAoJEC5yst9UA9d/t0gH/jyvkpd+5ipZPm99Ke4S3zI0
bx2KKnzDyXnbLQrXzT70aaCA+QoGzaDP4f6QIOwL+anjibwIVS0StXYmpcn3I1sx
XrB/7O6fgv/CmKursR7OsoiQXzVZ9tT0yFQbJsYaV/K9yrxAoWmxkeXxp5sAEIT8
CwCc9mW0fIyAocOfzo8yMNnpAmTPLYmPoO1LNRjO1pwis+9iR37+3Yhz5Jya/ydb
nYyAYImXehIxqvdAuC3EUdJGLcJSeeDWDHQJAa4/+35mfZ3riN8HcnbOoaJENcnF
0/aoPV2Nmzq9/w79E4RYVBncI26mOY+Bp1vNam2WeadMXRWoP2F5yLCYDFPK1Bk=
=SlKG
-----END PGP SIGNATURE-----