Bug 104382 - SIGSEGV in KPowersave
Summary: SIGSEGV in KPowersave
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: KDE (show other bugs)
Version: Beta 1
Hardware: i386 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 12:57 UTC by Alexander Schaefer
Modified: 2007-06-05 11:04 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Backtrace of SEGV (8.41 KB, text/plain)
2005-08-12 12:58 UTC, Alexander Schaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Schaefer 2005-08-12 12:57:10 UTC
When "YaST2 Power-Management-Modul starten" from the context menu of
KPowersave's tray icon is selected, the application exits with a SEGV. Selecting
YaST2 Power management from the YaST menu works as expected.

The backtrace will be attached.

Test System: FSC AMILO Pro8010, Intel Centrino 915 chipset (Pentium M 1.73GHz)
Comment 1 Alexander Schaefer 2005-08-12 12:58:24 UTC
Created attachment 45898 [details]
Backtrace of SEGV
Comment 2 Dirk Mueller 2005-08-12 18:12:18 UTC
hmm, introduced by seife. fix is:  
 
--- src/kpowersave.cpp 
+++ src/kpowersave.cpp 
@@ -60,6 +60,7 @@ 
 kpowersave::kpowersave() : KSystemTray(0, "kpowersave"), 
DCOPObject("KPowersaveIface") { 
        myDebug ("kpowersave::kpowersave"); 
  
+       yast2 = 0L; 
        new_screen = new screen(); 
        pdaemon = new pDaemon(); 
        current_settings = new settings(); 
 
Comment 3 Forgotten User ZhJd0F0L3x 2005-08-12 20:06:18 UTC
i'm on vacation, Danny will fix this.

Thanks for spotting the bug.
Comment 4 Danny Al-Gaaf 2005-08-15 10:06:06 UTC
fixed usage off KProcess within kpowersave and closed some related memoryleaks. 
Please test again in beta2.
Comment 5 Alexander Schaefer 2005-08-19 14:26:23 UTC
Works perfectly with beta2. Thanks for fixing...