|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper signal handler causes deadlock | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Fabian Vogt <fabian> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | arozyev, bzeller, fvogt |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Fabian Vogt
2023-08-15 13:11:42 UTC
Seems you managed to hit Ctrl+C when malloc had a lock aquired, unfortunately the signal handlers are doing too much things that are not signal safe and call into malloc as well , which deadlocks. (In reply to Benjamin Zeller from comment #1) > Seems you managed to hit Ctrl+C when malloc had a lock aquired, > unfortunately the signal handlers are doing too much things that are not > signal safe and call into malloc as well , which deadlocks. Yes. The signal handlers can't really do much of their own, but instead influence the program to handle the signal after returning or terminate the program: https://www.gnu.org/software/libc/manual/html_node/Defining-Handlers.html#Defining-Handlers I reworked the SIGINT handler to only set a flag, and updated some of the code to check regularly for the flag. SIGPIPE handlers still are problematic, but we need them to write to the log for now... But they are invoked only rarely. This PR should fix the SIGINT problems though: https://github.com/openSUSE/zypper/pull/499 fixed in zypper-1.14.64 SUSE-RU-2023:3937-1: An update that has four fixes can now be installed. Category: recommended (moderate) Bug References: 1213854, 1214292, 1214395, 1215007 Sources used: SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): zypper-1.14.64-150100.3.87.1 SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): zypper-1.14.64-150100.3.87.1 SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): zypper-1.14.64-150100.3.87.1 SUSE CaaS Platform 4.0 (src): zypper-1.14.64-150100.3.87.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. SUSE-RU-2023:3973-1: An update that has four fixes can now be installed. Category: recommended (moderate) Bug References: 1213854, 1214292, 1214395, 1215007 Sources used: openSUSE Leap 15.4 (src): zypper-1.14.64-150400.3.32.1 openSUSE Leap 15.5 (src): zypper-1.14.64-150400.3.32.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): zypper-1.14.64-150400.3.32.1 SUSE Linux Enterprise Micro 5.3 (src): zypper-1.14.64-150400.3.32.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): zypper-1.14.64-150400.3.32.1 SUSE Linux Enterprise Micro 5.4 (src): zypper-1.14.64-150400.3.32.1 Basesystem Module 15-SP4 (src): zypper-1.14.64-150400.3.32.1 Basesystem Module 15-SP5 (src): zypper-1.14.64-150400.3.32.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. SUSE-RU-2023:4006-1: An update that has four fixes can now be installed. Category: recommended (moderate) Bug References: 1213854, 1214292, 1214395, 1215007 Sources used: SUSE Manager Retail Branch Server 4.2 (src): zypper-1.14.64-150200.62.1 SUSE Manager Server 4.2 (src): zypper-1.14.64-150200.62.1 SUSE Enterprise Storage 7.1 (src): zypper-1.14.64-150200.62.1 SUSE Enterprise Storage 7 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Micro 5.1 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Micro 5.2 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): zypper-1.14.64-150200.62.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): zypper-1.14.64-150200.62.1 SUSE Manager Proxy 4.2 (src): zypper-1.14.64-150200.62.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. |