Summary: | KMix crashed when trying to change the volume using the mousewheel | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Elias Probst <mail> |
Component: | general | Assignee: | Christian Esken <esken> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | adresatt, dos.santos |
Priority: | NOR | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Elias Probst
2011-12-31 11:56:39 UTC
Analysis: Affected line is MDWSlider::increaseOrDecreaseVolume (this=0xa99c00, decrease=false) at /var/tmp/portage/kde-base/kmix-9999/work/kmix-9999/kmix/gui/mdwslider.cpp:949 long inc = volP.volumeSpan() / Mixer::VOLUME_STEP_DIVISOR; It could crash if the reference points to 0. It should not be possible, but the stacktrace looks like it: #6 0x0000000000000000 in ?? () This might be an issue with a specific control, e.g. a capture-only control. I know that capture-only controls are somewhat buggy in the Tray (The "unusual behavior" description allows this assumption). I'd like to verify this: For further insight into this, please post the following information: - Which sound backend is used. Please copy the output from KMix menu => Help => Hardware information - The ouput of "amixer" (or "amixer -c 1" or any other number that corresponds to the affected soundcard). - Please try to change the master channel (via context-menu of dock icon) to something else, try again, and report back I wasn't able yet to reproduce the crash again, but what's odd: The volume isn't locked to 5% when scrolling over the tray icon, but is able to switch between 0% and 5%, but nothing more. Changing the master channel doesn't change much in this behaviour, it is always the same after switching the master channel/restarting kmix: → The used icon indicates 0%-5% volume → Hovering the icon shows the actual volume in the tooltip → Scrolling on the icon locks the volume to 0%-5% Requested information: Hardware Information: Sound drivers supported: PulseAudio + ALSA + OSS + MPRIS2 Sound drivers used: PulseAudio Output of 'amixer' (only 1 soundcard available): Simple mixer control 'Master',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 74 Mono: Front Left: Playback 56 [76%] [-18.00dB] [on] Front Right: Playback 56 [76%] [-18.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Mic',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture 0 - 80 Front Left: Capture 1 [1%] [-73.00dB] [on] Front Right: Capture 1 [1%] [-73.00dB] [on] Simple mixer control 'Mic 1',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture 0 - 80 Front Left: Capture 0 [0%] [-74.00dB] [off] Front Right: Capture 0 [0%] [-74.00dB] [off] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Hmm, Pulseaudio backend. Not sure what to make out of this, but I will check. *** Bug 294142 has been marked as a duplicate of this bug. *** I have this problem too, and I'm almost shure that this problem occurs after pulseaudio restart. Every time I restart pulseaudio server, kmix crashes on attempt to change volume. Merging all bug reports that have a backtrace that indicates access to a dead/destroyed MixDevice to Bug 290742 *** This bug has been marked as a duplicate of bug 290742 *** |