Segfault when trying to add a Windows printer via SAMBA

Bug #367473 reported by Matthew Cutts
6
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

In Ubuntu 9.04, I'm trying to add a Windows printer via SAMBA. I click Browse..., find the domain/workgroup, click the triangle to expand it, then I click the triangle beside the Windows PC I want. The entire "Printer configuration" and all related windows close completely, and dmesg reports

[44291.812374] ppdev0: registered pardevice
[44291.860041] ppdev0: unregistered pardevice
[44293.282644] ppdev0: registered pardevice
[44293.328523] ppdev0: unregistered pardevice
[44293.744350] ppdev0: registered pardevice
[44293.792336] ppdev0: unregistered pardevice
[44343.815645] python[22224]: segfault at b4b24290 ip b4b24290 sp bf86a7c8 error 4 in lowcase.dat.samba3[b4b34000+20000]

I added a network printer just fine, but adding a Windows printer via Samba fails. On other Ubuntu computers, rebooting would let me add the Windows printer, but this computer consistently fails.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/yelp
NonfreeKernelModules: nvidia
Package: yelp 2.25.1-0ubuntu5
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Matthew Cutts (cutts) wrote :
Revision history for this message
l2sho (adam-twardowski) wrote :

I'm seeing the exact same issue, although the exact error changes, but it's always a segfault in python. Here's 2 different errors that I got.

Apr 27 09:36:28 adam-ubuntu kernel: [231394.611225] python[8712]: segfault at b5416290 ip b5416290 sp bff22758 error 4
Apr 27 09:39:41 adam-ubuntu kernel: [231588.249167] python[8793]: segfault at 1ff ip b60e1292 sp bff264d0 error 6 in libsmbclient.so.0[b60c5000+3ec000]

Revision history for this message
l2sho (adam-twardowski) wrote :

UPDATE:

I was able to successfully add a SAMBA printer by running system-config-printer from a command line and then using the gui. I'm not sure if this is a viable workaround or just dumb luck.

Revision history for this message
Matthew Cutts (cutts) wrote :

I tried running system-config-printer from the command-line but still got a segfault:
[129952.572077] python[26708]: segfault at b4ad5290 ip b4ad5290 sp bfb1bdc8 error 4 in lowcase.dat.samba3[b4ae5000+20000]

Revision history for this message
Matti Laakso (matti-laakso) wrote :

I got
[ 530.818002] python[6293]: segfault at b49bb480 ip b49bb480 sp bf803d20 error 4 in lowcase.dat.samba3[b49bf000+20000]

and
[ 614.407455] python[6668]: segfault at b541d480 ip b541d480 sp bfeda400 error 4 in UTF-16.so[b5421000+2000]

Using system-config-printer from the command line I was able to add the printer successfully.

Revision history for this message
Peter Shaw (tr-spam) wrote :

I can confirm this bug for Ubuntu 9.04, Kernel 2.6.28-15 #48

[ 5239.767184] python[9968]: segfault at b5429290 ip b5429290 sp bfccfbb8 error 4 in lowcase.dat.samba3[b542b000+20000]
# Don't know if the next 3 lines are related to the bug
python: io/hpmud/jd.c 84: unable to read device-id
python: io/hpmud/jd.c 639: invalid ip 192.168.2.104
python: hp-makeuri[10045]: error: Device not found
[ 5304.910786] python[10006]: segfault at b4b33480 ip b4b33480 sp bffeebf8 error 4 in UTF-16.so[b4b37000+2000]
[ 5488.390289] python[10110]: segfault at b4a6f480 ip b4a6f480 sp bfe2ad18 error 4 in UTF-16.so[b4a73000+2000]

Kind regards

affects: ubuntu → samba (Ubuntu)
Scott Moser (smoser)
affects: samba (Ubuntu) → system-config-printer (Ubuntu)
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Matthew,
Thank you for submitting this bug and reporting a problem with the system-config-printer package. You made this bug report in 2009 and Ubuntu and the system-config-printer package have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 367473
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]

Changed in system-config-printer (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for system-config-printer (Ubuntu) because there has been no activity for 60 days.]

Changed in system-config-printer (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.