Bug 14569 - Printing to shared printer causes segfault since 4.13.0
Summary: Printing to shared printer causes segfault since 4.13.0
Status: RESOLVED DUPLICATE of bug 14568
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Printing (show other bugs)
Version: 4.13.2
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: printing-maintainers
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-08 23:44 UTC by eomanis
Modified: 2020-11-16 21:33 UTC (History)
0 users

See Also:


Attachments
Log of segmentation fault with stack trace (6.65 KB, text/plain)
2020-11-08 23:44 UTC, eomanis
no flags Details
smb.conf (1.18 KB, text/plain)
2020-11-08 23:46 UTC, eomanis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description eomanis 2020-11-08 23:44:51 UTC
Created attachment 16329 [details]
Log of segmentation fault with stack trace

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 somewhere below here:

libsmbd-base-samba4.so(token_contains_name_in_list+0xfb)

Last known good version:
4.12.6

Known bad versions:
4.13.0
4.13.2
Comment 1 eomanis 2020-11-08 23:46:20 UTC
Created attachment 16330 [details]
smb.conf
Comment 2 Jeremy Allison 2020-11-09 16:57:10 UTC
I'm pretty sure this is a duplicate of:

https://bugzilla.samba.org/show_bug.cgi?id=14568

*** This bug has been marked as a duplicate of bug 14568 ***
Comment 3 eomanis 2020-11-16 21:33:08 UTC
Built 4.13.2 [1] with the patch from bug 14568 [2] and it resolves this issue for me. It is a duplicate all right.

[1] https://bugs.archlinux.org/task/68446#comment194222
[2] https://bugzilla.samba.org/attachment.cgi?id=16331