Launchpad has imported 22 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=567386.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-02-22T20:04:46+00:00 Edgar wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/0

------------------------------------------------------------------------
On 2010-02-22T20:04:48+00:00 Edgar wrote:

Created attachment 395557
File: backtrace

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/1

------------------------------------------------------------------------
On 2010-02-23T10:29:42+00:00 Jiri wrote:

Can you describe how exactly did you deleted those jobs ? Thanks.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/2

------------------------------------------------------------------------
On 2010-02-23T15:36:19+00:00 Tim wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/3

------------------------------------------------------------------------
On 2010-02-23T16:31:10+00:00 Tim wrote:

Fixed upstream.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/4

------------------------------------------------------------------------
On 2010-03-08T15:18:00+00:00 Tim wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/5

------------------------------------------------------------------------
On 2010-03-08T15:48:01+00:00 Jiri wrote:

*** Bug 571356 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/6

------------------------------------------------------------------------
On 2010-03-08T15:49:29+00:00 Jiri wrote:

*** Bug 570806 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/7

------------------------------------------------------------------------
On 2010-03-10T10:48:13+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/8

------------------------------------------------------------------------
On 2010-03-11T07:20:10+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/9

------------------------------------------------------------------------
On 2010-03-13T11:25:20+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/10

------------------------------------------------------------------------
On 2010-03-13T11:27:40+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/11

------------------------------------------------------------------------
On 2010-03-13T11:28:33+00:00 Tim wrote:

*** Bug 573157 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/12

------------------------------------------------------------------------
On 2010-03-15T08:59:01+00:00 Jiri wrote:

*** Bug 573379 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/13

------------------------------------------------------------------------
On 2010-03-16T00:38:47+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/14

------------------------------------------------------------------------
On 2010-03-16T00:52:51+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/15

------------------------------------------------------------------------
On 2010-03-16T23:21:15+00:00 Fedora wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/16

------------------------------------------------------------------------
On 2010-03-18T03:15:15+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/17

------------------------------------------------------------------------
On 2010-03-18T03:29:39+00:00 Fedora wrote:

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

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/18

------------------------------------------------------------------------
On 2010-03-20T03:39:30+00:00 Fedora wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/19

------------------------------------------------------------------------
On 2010-03-23T02:11:37+00:00 Fedora wrote:

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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/20

------------------------------------------------------------------------
On 2010-03-29T15:55:13+00:00 Tim wrote:

*** Bug 556686 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/python-
cups/+bug/545755/comments/27


** Changed in: python-cups (Fedora)
       Status: Unknown => Fix Released

** Changed in: python-cups (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/545755

Title:
  system-config-printer.py assert failure: *** glibc detected ***
  python: realloc(): invalid next size: 0x091d93e0 ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cups/+bug/545755/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to