Opened 15 years ago

Closed 14 years ago

#1998 closed bug (worksforme)

qgis crashes when zooming out with otfr enabled

Reported by: lutra Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.4.0
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Not really sure to what component assign this ticket.

I was having a look to ticket #1993 and I noticed the following:

I created a new project and added a couple of layers, a world borders shape defined in wgs84, and a shape file of an European country, with a projected crs.

I then enabled otfr and selected as project crs the projected one.

While zooming out obviously the world border shape started to wrap (see attached screenshot), but suddenly qgis crashes. In the terminal I can see the following

Fatal: ASSERT: "std::abs( r_d ) > SMALL_NUM && std::abs( r_n ) > SMALL_NUM" in file /build/buildd/qgis-1.3.0/src/core/qgsclipper.h, line 270
Aborted

while this exercise cannot make a lot of sense, I think that qgis should not crash.

I noticed also that this happens with others projected crs but not all. For example if you use the world borders shape and one of the Alaska shapes of the sample dataset, qgis doesn't crash.

Attachments (2)

qgis_screen.png (63.6 KB ) - added by lutra 15 years ago.
dpts.zip (172.9 KB ) - added by lutra 15 years ago.

Download all attachments as: .zip

Change History (5)

by lutra, 15 years ago

Attachment: qgis_screen.png added

by lutra, 15 years ago

Attachment: dpts.zip added

comment:2 by lutra, 15 years ago

I must say also that in the very same situation (two layers, one wgs84, one with projected crs, otfr enabled and project crs projected) the "zoom full" tool doesn't work properly as it shows nothing and the scalebar goes wild.

comment:3 by lutra, 14 years ago

Platform: DebianAll
Platform Version: Ubuntu 9.04
Resolution: worksforme
Status: newclosed
Version: 1.3.0HEAD

I cannot see anymore the crash under both linux and windows with qgis trunk.

Note: See TracTickets for help on using tickets.