[Bug 1169387] [NEW] python3: setDefault() causes "Segmentation fault (core dumped)" error

cleary bernard.gray at gmail.com
Tue Apr 16 02:36:37 UTC 2013


Public bug reported:

Ubuntu Release: 12.10 (quantal)
Package: python3-cups 1.9.62-0ubuntu1
Python: python3 3.2.3-5ubuntu1

When I attempt to call setDefault('printername') on my cups connection object, I get a seg fault message:
"Segmentation fault (core dumped)"

I can do other operations on the object, such as getPrinters() and
getDefault().

I've attached an example program that demonstrates the functioning
object, and the segmentation fault - you;ll need to change the cups user
in __main__

** Affects: python-cups (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "example program that causes the seg fault"
   https://bugs.launchpad.net/bugs/1169387/+attachment/3645207/+files/cups-crash.py

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

Title:
  python3: setDefault() causes "Segmentation fault (core dumped)" error

Status in “python-cups” package in Ubuntu:
  New

Bug description:
  Ubuntu Release: 12.10 (quantal)
  Package: python3-cups 1.9.62-0ubuntu1
  Python: python3 3.2.3-5ubuntu1

  When I attempt to call setDefault('printername') on my cups connection object, I get a seg fault message:
  "Segmentation fault (core dumped)"

  I can do other operations on the object, such as getPrinters() and
  getDefault().

  I've attached an example program that demonstrates the functioning
  object, and the segmentation fault - you;ll need to change the cups
  user in __main__

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




More information about the foundations-bugs mailing list