abrt 1.0.6 detected a crash. architecture: x86_64 Attached file: backtrace cmdline: python /usr/share/system-config-printer/applet.py component: system-config-printer executable: /usr/bin/python kernel: 2.6.31.12-174.2.3.fc12.x86_64 package: system-config-printer-1.1.16-13.fc12 rating: 4 reason: Process was terminated by signal 6 (Aborted) release: Fedora release 12 (Constantine) How to reproduce ----- I don't know how to reproduce. I just printed something and deleted some jobs from the print server queue, and then the printer applet crashes.
Created attachment 395557 [details] File: backtrace
Can you describe how exactly did you deleted those jobs ? Thanks.
So the crash was from freeing the list of Connection objects, and it was most likely caused by some kind of memory scribble. The only thing I can see wrong in that code is that it assumes the to-be-dealloc'd Connection object appears in the list. However, it ought to. Anyway, I can harden that (to protect against e.g. bit-errors) by only removing the object from the list if it appears there in the first place. Hopefully that will prevent this kind of problem.
Fixed upstream.
I've discovered the reason for this, and have confirmed that the upstream fix is correct. First, a reproducer: ==> import signal import cups def alarmclock (signum, frame): raise KeyboardInterrupt signal.signal (signal.SIGALRM, alarmclock) connections = [] while True: # Create signal.alarm (10) connections.append (cups.Connection ()) signal.alarm (0) <== This just keeps creating more and more connections until cupsd stops accepting them (when it hits its maximum file descriptor count). At that point, the program raises an exception and exits. What happens is that Connection_init() fails *before* the newly-allocated Connection object is added into the list. As the initialization failed, the object is deallocated with Connection_dealloc(), and of course that assumes the object is in the list. So the correct behaviour is to verify that the connection is in the list before trying to remove it.
*** Bug 571356 has been marked as a duplicate of this bug. ***
*** Bug 570806 has been marked as a duplicate of this bug. ***
system-config-printer-1.1.93-6.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/system-config-printer-1.1.93-6.fc13
system-config-printer-1.1.93-6.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.93-6.fc13
system-config-printer-1.1.18-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc12
system-config-printer-1.1.18-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc11
*** Bug 573157 has been marked as a duplicate of this bug. ***
*** Bug 573379 has been marked as a duplicate of this bug. ***
system-config-printer-1.1.18-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc11
system-config-printer-1.1.18-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc12
system-config-printer-1.1.93-6.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.1.18-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-2.fc12
system-config-printer-1.1.18-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-2.fc11
system-config-printer-1.1.18-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.1.18-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 556686 has been marked as a duplicate of this bug. ***