You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cups-browsed 1.20.0 crashes when starting up on Gentoo Linux.
I have a CUPS print server in my LAN that advertises printers through DNS-SD.
# cups-browsed --debug
Fri Feb 2 18:20:40 2018 Reading command line option --debug, turning on debug mode (Log on standard error).
Fri Feb 2 18:20:40 2018 cups-browsed of cups-filters version 1.20.0 starting.
Fri Feb 2 18:20:40 2018 Reading config: BrowseRemoteProtocols dnssd
Fri Feb 2 18:20:40 2018 Reading config: CreateIPPPrinterQueues All
Fri Feb 2 18:20:40 2018 No "Browse..." line at all, accept all servers ("BrowseOrder Deny,Allow").
Fri Feb 2 18:20:40 2018 main() in THREAD -1225566704
Fri Feb 2 18:20:40 2018 cups-browsed: Creating http connection to local CUPS daemon: /run/cups/cups.sock:631
Fri Feb 2 18:20:40 2018 update_netifs() in THREAD -1225566704
Fri Feb 2 18:20:40 2018 network interface at 192.168.0.38
Fri Feb 2 18:20:40 2018 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Create-Subscription
Fri Feb 2 18:20:40 2018 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: subscription ID=58
Fri Feb 2 18:20:41 2018 cups-browsed (/run/cups/cups.sock): cupsEnumDests
Segmentation fault
I could debug it so far that in cups-browsed.c in get_local_printers(void) when iterating through dests, the device_uri is NULL (for some printers?).
For example:
cups-browsed 1.20.0 crashes when starting up on Gentoo Linux.
I have a CUPS print server in my LAN that advertises printers through DNS-SD.
I could debug it so far that in
cups-browsed.c
inget_local_printers(void)
when iterating throughdests
, thedevice_uri
isNULL
(for some printers?).For example:
As a result the application segfaults in
new_local_printer(device_uri, cups_browsed_controlled)
on line 765, becausedevice_uri
isNULL
The text was updated successfully, but these errors were encountered: