[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#429509: wmmixer: Segfault on AMD64



Package: wmmixer
Version: 1.5-7
Severity: serious
Tags: patch

Hi,

The version of wmmixer currently in unstable segfaults on AMD64.
Here is the backtrace :
Program received signal SIGSEGV, Segmentation fault.
#0  0x00002aab1500fddb in free () from /lib/libc.so.6
#1  0x00000000004029b9 in XHandler::initIcons (this=0x60c010, num=25) at xhandler.cc:365
#2  0x00000000004034ec in XHandler::init (this=0x60c010, argc=1, argv=0x7fff969e6c98, num_channels=25) at xhandler.cc:75
#3  0x0000000000405670 in WMMixer::init (this=0x7fff969e6a60, argc=1, argv=0x7fff969e6c98) at wmmixer.cc:119
#4  0x00000000004056f2 in main (argc=1, argv=0x7fff969e6c98) at wmmixer.cc:579

I've attached a patch to fix this problem to this mail.

-- 
Florent
--- wmmixer-1.5.old/xhandler.cc
+++ wmmixer-1.5/xhandler.cc
@@ -24,6 +24,7 @@
   strcpy(backcolor_name_, BACKCOLOR);
 
   button_state_ = 0;
+  icon_list_ = NULL;
 }
 
 //--------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: