xfce4-mixer-plugin crashes if trying to change volume level with mousewheel. This only happens if --disable-debug switch is set during configure Additional info: * version: 4.8.0 Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0000000000406f13 in xfce_mixer_plugin_volume_changed (mixer_plugin=0x21b5990, volume=0) at xfce-mixer-plugin.c:275 275 volumes = g_new (gint, mixer_plugin->track->num_channels); Tested on Arch Linux x86_64
Update: I got multiple sound cards showing up in mixer plugin configuration. Alsa is selected by default and is causing panel plugin to crash on mousewheel. Selecting pulseaudio as the main soundcard makes the bug disappear. Both alsa and pulseaudio can be adjusted via main plugin screen, though, and both affect the current volume.
I noticed this too and was looking for a bug report on it. I'm also using arch on x86_64. I think it was fine on my panel, but then i removed it for something i wanted to do and after that when added to the panel this bug shows up. I don't know, it could be related to some cache or config realted to the panel? No? i'm gonna try remove and reconfigure the panel.
I just noticed that the crash happens if I don't open up mixer properties after adding it to the panel. When I add the mixer, it doesn't show any volume levels (i.e. the icon doesn't have any blue marks on it). If I then try to adjust it using mousewheel, mixer crashes. However, if I open up mixer properties after adding it to the panel and then close the properties window without changing anything, the mixer level indicator appears (blue marks on the icon). Then the volume level can be adjusted with mousewheel and mixer doesn't crash anymore. It looks like as if it didn't load the soundcard and/or volume levels when added to the panel, only in properties window.
(In reply to comment #3) > I just noticed that the crash happens if I don't open up mixer properties after > adding it to the panel. > > When I add the mixer, it doesn't show any volume levels (i.e. the icon doesn't > have any blue marks on it). If I then try to adjust it using mousewheel, mixer > crashes. > > However, if I open up mixer properties after adding it to the panel and then > close the properties window without changing anything, the mixer level > indicator appears (blue marks on the icon). Then the volume level can be > adjusted with mousewheel and mixer doesn't crash anymore. > > It looks like as if it didn't load the soundcard and/or volume levels when > added to the panel, only in properties window. I just removed every panel related configuration and xfce-mixer configuration that i remembered and added the mixer again, tried to scroll and crash. Now that you said that i just openned the configuration dialog selected the card, added the mixers and then rigth click -> Properties and selected the mixer to control. Now i scroll and it works without crashing. It seems the problem is related to default values used or somethin like that :P
Created attachment 3863 fix-mousewheel-crash.patch The attached patch fixes this. The configure dialog will be shown if no channel was selected.
(In reply to comment #5) > Created attachment 3863 > fix-mousewheel-crash.patch > > The attached patch fixes this. The configure dialog will be shown if no channel > was selected. Works, fine. Thank you!
Should be fixed with commit df715a44cee9f5c1ff4a6bef3427f0c8ef717823 and 421d875b57d6a9e05cd58f79183a1691eb23633b.