Bug report #18063

QGIS 2.18.16 crash while exporting to PDF a rotated map

Added by luca76 - about 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Unknown
Affected QGIS version:2.18.16 Regression?:No
Operating System:Windows 7 64 bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:Yes Copied to github as #:25959

Description

Hi,

On Windows 7 Professional 64 bit, QGIS 2.18.16 exporting to PDF, crashes with an composer layout with one map rotated to 270 dregrees. The problem doesn't occur if I set it to 269.99°. Maybe a division by zero bug?

qconsolidate.zip - Project that shows the bug (26 KB) luca76 -, 2018-02-08 03:48 PM

History

#1 Updated by luca76 - about 6 years ago

#2 Updated by luca76 - about 6 years ago

I've attached a project file that demonstrates the bug. Open the project, open the included composer layout, try to export to PDF ... baaam!

p.s. works in Fedora 27 Linux, but not in Windows 7 64 bit.

#3 Updated by luca76 - about 6 years ago

On QGIS 2.14.x and QGIS 3.0 nightly I can export. So I believe it's a regression.

p.s. Furthermore, this project is very slow to load. I note that QGIS is stalling at "Loading composer...". What is it doing?

#4 Updated by Michel Stuyts about 6 years ago

I opened your project in QGIS 2.18.16 on Windows 7 Professional 64bit and exported the layout to pdf and QGIS crashed.

I also tried one of my own projects, created a layout with a map rotated to 270° and I could export to pdf without a problem.

#5 Updated by Jürgen Fischer over 5 years ago

  • Status changed from Open to Feedback

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#6 Updated by salvatore fiandaca over 5 years ago

I just did a test in win 10 64b 2.18.28 (OSGeo4W) - I do not see the background, but I can print in PDF without problems.
I repeated the test in 3.4.4, everything works fine.

#7 Updated by Jürgen Fischer over 5 years ago

  • Resolution set to wontfix
  • Status changed from Feedback to Closed

Also available in: Atom PDF