Bug 158474
Summary: | hald services quits, audit msgs in log | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Doug Henderson <djhender> | ||||||
Component: | hal | Assignee: | David Zeuthen <davidz> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | CC: | mclasen | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 0.5.2-2 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-05-23 15:54:23 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Doug Henderson
2005-05-22 17:49:35 UTC
Can you reproduce this with selinux disabled? (boot with selinux=0 on the kernel commandline) Booted with selinux=0 (BTW, how do you query the selinux status to confirm this?) Did telinit 5 to start gnome desktop. Waited for desktop startup to finish. Clicked on red Redhat network icon to check which packages need updating. The list includes the gcc 4.0.0-8 group of packages only. Started server configuration tool to check status of haldaemon. It was running. Started add/remove applications tool and selected applications. At insert disk 2 prompt, inserted disk 2, waited for cd light to go out, pressed ok on that dialog. Received "Unable to access disk" error dialog. Checked haldaemon in server configuration tool. It was stopped. Use selinuxenabled to query wheter selinux is running (there's a man page as well). Ensure that haldaemon isn't running and then please attach the output of '/usr/sbin/hald --daemon=no --verbose=yes --retain-privileges' to this bug. I think hald may be crashing or something. Also, if you can get a stack trace (see http://fedora.linux.duke.edu/wiki/StackTraces ) if hald crashes, that would be great. see attachment named bug-158474-c.txt It took several tries to get this info. I decided that the first couple of tries were not sufficiently reproducable due to previous failures. So I rebooted, but with disk 2 still in the cd drive. I opened the tray, before I ran the add/remove apps tool. When it asked for the disk, it sucked in the tray and installed the packages. I tried again with other packages. Now it asked for disk 3, and loaded the packages. So, I stopped and started hald with services tool. I opened tray and removed disk (leaving tray open). Started add/remove tray tool, and pushed in empty tray. At that point I observed that hald had failed. Attached is the partial output (last 1200 or so lines) from hald execution, and gdb session doing backtrace on core file. I twice repeated with tray empty and closed. I made sure that all hald processes were killed - manually killed the hald-addon-acpi and hald-addon-storage left around when hald crashed. I believe hald is crashing very soon after I start the add/remove tool, possibly before it displays scanning system progress bar. Created attachment 114691 [details]
output from hald, and gdb of core file
partial output from executing hald with this command line:
/usr/sbin/hald --daemon=no --verbose=yes --retain-privileges
This is the last 1200 or so lines from the terminal window.
Output from gdb looks a bit sparse - no symbols?
Have you installed the hal-debuginfo packages? This package contain the symbols. It looks like there's a double-free somewhere, if I can get traces with symbols it would probably be much easier to fix. Thanks. Created attachment 114692 [details]
execution log and gdb output
installed hal-debuginfo
repeated test.
I was able to reproduce this and fix the bug. Should be fixed in tomorrows Rawhide. |