Crash after scan or rotating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Scan |
Fix Released
|
High
|
Unassigned | ||
simple-scan (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Impact: simple-scan crashes when completing a single page being scanned or rotated
Resolution: Change in upstream project to fix rendering loop accessing pixels outside of image (patch in package branch and in comments below)
To reproduce:
1. Run simple-scan, e.g.
$ simple-scan test
2. Scan one page
Expected result: Page is scanned and shows correct data
Observed result: simple-scan crashes when page complete or if page is rotated while scanning (note that since this bug is due to memory corruption it is not guaranteed to crash. A reliable method is to run simple-scan through valgrind as this will show invalid reads when rendering the page).
Patch has been tested and crash does not occur anymore, no errors reported by valgrind. Bug is well-defined (off by one error), no regression problems expected.
Changed in simple-scan: | |
importance: | Undecided → High |
Changed in simple-scan (Ubuntu): | |
importance: | Undecided → High |
Changed in simple-scan: | |
status: | Confirmed → Fix Committed |
Changed in simple-scan (Ubuntu): | |
status: | Confirmed → Fix Committed |
summary: |
- Segmentation fault on rotating + Crash after scan or rotating |
description: | updated |
Changed in simple-scan (Ubuntu Maverick): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: |
added: verification-done removed: verification-needed |
while valgrind debugging with valgrind i was able to do a 360 degrees rotation to the right.