|
Bugzilla – Full Text Bug Listing |
| Summary: | kpowersave crashes instantly on login | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Dirk Mueller <dmueller> |
| Component: | Mobile Devices | Assignee: | Danny Kukawka <dkukawka> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | cs, stefan.bruens |
| Version: | Beta 4 Plus | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
crash log
Logfile from KDE crashhandler |
||
|
Description
Dirk Mueller
2005-09-05 15:12:12 UTC
Created attachment 48818 [details]
crash log
Maybe that was aj's last minute fix? No idea -> Danny? I installed beta4plus, whatever it is.. last changelog entry: * Mon Aug 29 2005 - dkukawka@suse.de - fixed bug #106177: use now scaling_cur_freq - fixed activaton of widgets in configure dialog - added and changed english helpfile (from srhoades@novell.com) - fixes to prevent crash of kpowersave if connection to D-BUS lost - fixed bug #113559 for autosuspend after a resume - fixed store changes of time for autosuspend in the configure dialog - changed configure: detection of distributions and changed to pkg-config to find the includes and libs for dbus - translation updates its oldboy.suse.de if you want to look.. please try a newer package! This is IMO fixed. Created attachment 49507 [details]
Logfile from KDE crashhandler
I installed RC1 and had the same problem. HW: HP Omnibook 6100, 1 GHz,
After the first login as root kpowersave crashed (see logfile).
But crash it also after the first reboot after full installed or crashed it only after the installation finished? Same here: 10.0-RC1, Inspriron 8200 Unfortunately, the code in hal_battery.c is wrong. Have a look at libhal_get_string_array_from_iter(...) in libhal/libhal.c (package hal), which is called by libhal_find_device_by_capability(...): ---- buffer = (char **)malloc (sizeof (char *) * 8); ... return buffer; ---- So under normal circumstances, ac_adapter in hal_battery.c is always != 0. Imho the correct code is: --- if ( num > 0 ) ac_device = strdup(ac_adapter[0]); libhal_free_string_array(ac_adapter); --- Again my question from #7: Crash this always? ... IMO this is already fixed for the next version of powersave *** This bug has been marked as a duplicate of 115813 *** comment #8: You are right. your code is the better one. It is the same used some lines above getACAdapterStatus(...) ;-) I will change this. But please answer the question if it crashes on every login and not only directly after installation. Reopening until we'we got have an answer... It crashes after login and after manual start kpowersave crashes, and powersave (-a|-b|-B) crashes, too As hal-find-by-capability --capability ac_adapter returns nothing, kpowersave _has_ to crash ... I dont know why, but hal thinks I have neither an ac_adapter nor a battery, until i run hald-addon-acpi manually - I think this is another bug? after hald-addon-acpi: $> hal-find-by-capability --capability ac_adapter /org/freedesktop/Hal/devices/acpi_AC What is so problematic to answer the question?: " ... But crash it also after the first reboot after full installed or crashed it only after the installation finished? ..." ? We know that this crash directly after finish the installation because of a bug in the boot order during installation. Crash is still if you do this?: rcacpid restart rcpowersave restart rchal restart At my box (Inspiron 8600) it crashes only after the first login at installation. The first reboot resolves the problem.. to #14: Thanks, for the information. This is fixed. I close the bug now *** Bug 117430 has been marked as a duplicate of this bug. *** |