Bug #75
Assertion failed in void Rasterizer::LineRaw
Status: | Rejected | Start date: | 07/10/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Massimo Del Fedele | % Done: | 0% | |
Category: | General | Spent time: | - | |
Target version: | - |
Description
Trying to paint an image created by painter onto a report triggers assertion failed.
Attached the qtf string with the offending image (hopefully....)
Max
History
#1 Updated by Miroslav Fidler almost 14 years ago
- Category set to General
- Assignee set to Massimo Del Fedele
The problem is caused by providing NANs as endpoints in Line.
I have added some logging to Painter and this is what is in the provided file:
MoveOp [0, 0], false LineOp [0, 480], false LineOp [6700, 2824.993933], false LineOp [13400, 480], false LineOp [13400, 0], false LineOp [NAN, NAN], false ArcOp [6700, NAN], [NAN, NAN], NAN, NAN, false LineOp [NAN, NAN], false LineOp [0, 0], false CloseOp CloseOp
#2 Updated by Konstantin Hartwich almost 14 years ago
the IsNaN defintion switch in Defs.h is buggy. it should use
#ifdef PLATFORM_WIN32
as condition, because GCC / MINGW under windows use the same _isnan()
linux and derivates use isnan()..
could anyone change that?
#3 Updated by Miroslav Fidler almost 14 years ago
Konstantin Hartwich wrote:
the IsNaN defintion switch in Defs.h is buggy. it should use
#ifdef PLATFORM_WIN32
as condition, because GCC / MINGW under windows use the same _isnan()
linux and derivates use isnan()..could anyone change that?
Resolved.
#4 Updated by Miroslav Fidler almost 14 years ago
- Status changed from New to Rejected