| Summary: | Scan larger than about 2GB generate std::bad_alloc on x64 server with >> 30GB free RAM | ||
|---|---|---|---|
| Product: | [Applications] Skanlite | Reporter: | Bob Mahar <bob> |
| Component: | general | Assignee: | Kåre Särs <kare.sars> |
| Status: | REPORTED --- | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.1.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Bob Mahar
2018-06-14 19:26:16 UTC
Does the same issue happen if you use xsane? It might be a driver limitation ( using signed 32 bit numbers for data sizes). Same issue with xsane ( latest ) but different failure mode. With xsane, I observe it building a pixmap temp file which corresponds to the size of the scan. The scan completes. Once the scan completes, the xsane UI segfaults and disappears. However the pixmap file is left behind. This file is a consistent PNM formatted file and can be opened by GIMP 2.10 - it is a bunch of static, however I think this is because of the packing of the 48-bit samples. ( You can see hints of structure and outlines and so on. ) So I am pretty sure the sane driver layer is acquiring a scan from the scanner and presenting this to the application. However, again, if the temp file > 2GB, the xsane UI explodes. The difference in behaviour is that xsane seems to acquire the whole image before crashing, whereas skanlite seems to be looking at the data as it is being scanned. But yeah, similar outcomes, different failure modes. Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This is still observable with latest version from todays openSUSE Tumbleweed. Changing status to REPORTED |