Bug 118718

Summary: upgraded from 9.3 to 10.0, powersave won't stay running
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jon Nelson <jnelson-suse>
Component: Mobile DevicesAssignee: Holger Macht <hmacht>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: behlert
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jon Nelson 2005-09-24 19:23:32 UTC
Also, it does not appear to properly depend on acpid (it claims at startup that
it does).

powersave segfaults here:

Program received signal SIGSEGV, Segmentation fault.
0x40204d83 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40204d83 in strlen () from /lib/tls/libc.so.6
#1  0x40204a95 in strdup () from /lib/tls/libc.so.6
#2  0x40037204 in getACAdapterStatus () from /usr/lib/libpowersave.so.10
#3  0x0806e07a in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string<char*> ()
#4  0x0806eb43 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string<char*> ()
#5  0x0804c329 in ?? ()
#6  0x08086e38 in ?? ()
#7  0x0807e1e8 in ?? ()
#8  0x00000011 in ?? ()
#9  0xbf872598 in ?? ()
#10 0x08068df0 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string<char*> ()
#11 0x0806cea3 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string<char*> ()
#12 0x401afe60 in __libc_start_main () from /lib/tls/libc.so.6
#13 0x0804bba1 in ?? ()


open("/proc/acpi/ac_adapter", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 3 entries */, 1024)      = 48
close(4)                                = 0
writev(3, [{"l\1\0\1\17\0\0\0\5\0\0\0\227\0\0\0\1\1o\0\34\0\0\0/org"..., 168},
{"\n\0\0\0ac_adapter\0", 15}], 2) = 183
gettimeofday({1127589551, 27326}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(3, "l\2\1\1\4\0\0\0\250\1\0\0-\0\0\0\6\1s\0\5\0\0\0:1.43\0"..., 2048) = 68
read(3, 0x8088480, 2048)                = -1 EAGAIN (Resource temporarily
unavailable)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


open("/proc/acpi/asus/brn", 0, 027756443450)     = -1
open("/proc/acpi/ibm/brightness", 0, 027756443450) = -1
open("/proc/acpi/sony/brightness", 0, 027756443450) = -1
open("/proc/acpi/toshiba/lcd", 0, 027756443450)  = -1
close(-1)                                        = -1
_Znwj(12, 0, 0xbfba4728, 0x806eb30, 0x8080f30)   = 0x8080fc0
getACAdapterStatus(12, 0x807e1e8, 0xbfba46f8, 0x4013d3c7, 12 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Comment 1 Holger Macht 2005-09-26 08:21:30 UTC
I think this is a duplicate of bug 115813 and therefore should be fixed in final
version.

If you like you can take the package from
http://sourceforge.net/project/showfiles.php?group_id=124576
which should have the fix.

*** This bug has been marked as a duplicate of 115813 ***