FS#68446 - [samba] Printing to shared printer causes segfault since 4.13.0-1

Attached to Project: Arch Linux
Opened by eomanis (eomanis) - Tuesday, 27 October 2020, 21:35 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 10 February 2021, 06:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jelle van der Waa (jelly)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The server shares a local CUPS printer over SMB using samba.
Printing to the shared SMB printer causes the server's SMB daemon to segfault since package version 4.13.0-1.

Reverting back to samba-4.12.6-1 and smbclient-4.12.6-1 works around the issue.

Additional info:
* package version(s): samba-4.13.0-1, smbclient-4.13.0-1
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 10 February 2021, 06:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.13.3-2
Comment by eomanis (eomanis) - Wednesday, 28 October 2020, 20:55 GMT
I messed up, this task should be in instance "Arch Linux", category "Packages: Extra".
Someone who has The Power, please move it there.

I created a copy[1] in "Packages: Extra" and requested this task be closed explaining the circumstances, but this did not pan out as hoped - instead, the copy in "Packages: Extra" got closed as a duplicate of this one.

[1] https://bugs.archlinux.org/task/68447
Comment by eomanis (eomanis) - Sunday, 08 November 2020, 23:11 GMT
Version 4.13.2-1 is still affected, I will try to get this bug report upstream.
Comment by eomanis (eomanis) - Sunday, 08 November 2020, 23:48 GMT Comment by loqs (loqs) - Monday, 16 November 2020, 20:30 GMT
Have you tried applying the fix from [1]? Attached PKGBUILD.diff applies the patch to the current PKGBUILD.

[1] https://bugzilla.samba.org/show_bug.cgi?id=14568
Comment by eomanis (eomanis) - Monday, 16 November 2020, 21:26 GMT
I was intending to sit this one out until 4.13.3, but since you handed me that PKGBUILD.diff on a silver platter I had a go and built a patched 4.13.2-1 package with that.

Can confirm, the patch for the related bug report fixes the problem for me.

Thanks for doing the heavy lifting, much appreciated.

Loading...