Top Crash in [@ cupsCopyDest] due to bug in CUPS v2.4.3
Categories
(Core :: Printing: Setup, defect)
Tracking
()
People
(Reporter: mccr8, Assigned: emilio)
References
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/cdb8f717-b626-427c-bee2-fc84f0230605
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 libc.so.6 __strcasecmp_l_avx2 /usr/src/debug/glibc/glibc/sysdeps/x86_64/multiarch/strcmp-avx2.S:283
1 libcups.so.2 cupsCopyDest
2 libcups.so.2 _cupsSNMPWalk
3 libcups.so.2 cupsGetNamedDest
4 libxul.so nsPrinterListCUPS::SystemDefaultPrinterName const widget/nsPrinterListCUPS.cpp:220
5 libxul.so NS_InvokeByIndex
6 libxul.so CallMethodHelper::Invoke js/xpconnect/src/XPCWrappedNative.cpp:1627
6 libxul.so CallMethodHelper::Call js/xpconnect/src/XPCWrappedNative.cpp:1180
6 libxul.so XPCWrappedNative::CallMethod js/xpconnect/src/XPCWrappedNative.cpp:1126
7 libxul.so XPCWrappedNative::GetAttribute js/xpconnect/src/xpcprivate.h:1450
Null deref in a call to strcasecmp. The Gecko code is here:
// Passing in nullptr for the name will return the default, if any.
cups_dest_t* dest =
CupsShim().cupsGetNamedDest(CUPS_HTTP_DEFAULT, /* name */ nullptr,
/* instance */ nullptr);
Maybe passing in null for a string isn't working the way the comment expects in some circumstances?
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
First crash report at 2023-06-01 17:22:16. Related to a package update.
Reported distributions:
Antergos Linux
Arch Linux
Arch Linux (Timestamp: 2023-06-02 08:22 | Kernel: 6.3.5)
Archcraft
ArcoLinux
Crystal Linux
EndeavourOS Linux
Garuda Linux
Linux
Manjaro Linux
Julien, do you have a pointer how to check for package updates?
Comment 2•1 year ago
|
||
https://github.com/OpenPrinting/cups/releases/tag/v2.4.3 was released on June 1st, so that seems like a plausible cause.
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 6•1 year ago
|
||
Fixed upstream.
Comment 7•1 year ago
|
||
Let's close this as RESOLVED|MOVED (to https://github.com/OpenPrinting/cups/pull/720 ), since the bug and the patch was in external software, not shipping in mozilla-central or particular Firefox versions.
(Clearing status-*
and tracking flags for the same reason.)
Updated•1 year ago
|
Description
•