https://bugzilla.novell.com/show_bug.cgi?id=724487 https://bugzilla.novell.com/show_bug.cgi?id=724487#c0 Summary: apcupsd segfault when terminated Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: sbrabec@suse.com ReportedBy: mkubecek@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- I had a segfault when terminating apcupsd. Analysis of the core dump showed that it happened in pusb_ups_check_state() in src/drivers/usb/linux/linux-usb.c because main thread has freed ups->driver_internal_data while the other was still using copy of the pointer (local variable my_data). Version 3.14.10 fixes this in apcupsd_terminate() by moving call to clean_threads() before other cleanup (clear_files() and device_close(ups)). I'll attach the patch in a moment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.