Bug report #4107
Bad Allocation when Printing
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Microsoft Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14089 |
Description
Any attempt to print from the Print Composer causes an error to display stating 'Bad Allocation'. The printer simply prints off a blank sheet of paper (See screen shots of before and after). Once the error has occurred the program freezes and must be closed before doing anything else.
Related issues
History
#1 Updated by Giovanni Manghi over 13 years ago
attach/link a project with the necessary data, otherwise it would e hard to understand where is the problem
#2 Updated by peppo - about 13 years ago
- File isolate_bug_4107.zip added
I have a small project which also produces a bad allocation error in the print composer. I run QGIS 1.7 on windows 7.
The error only happens, when zoomed to a certain scale in the print composer. The print composition is included in the project.
#3 Updated by Giovanni Manghi almost 13 years ago
- Target version changed from Version 1.7.0 to Version 1.7.4
#4 Updated by Giovanni Manghi almost 13 years ago
- Affected QGIS version set to master
- Crashes QGIS or corrupts data set to No
- Status changed from Open to Feedback
The attached project layer seems having nothing to do with the attached screenshots. There is only one vector while in the screenshots there is also a raster. The vector also seems not related. The composer layout available in the attached project opens empty. Please attach another sample dataset to allow do local tests.
#5 Updated by Paolo Cavallini almost 13 years ago
- Status changed from Feedback to Closed
- Resolution set to invalid
Closing for lack of feedback. Please check and reopen if necessary.
#6 Updated by Piotr Pachol about 12 years ago
I tried to print project with several layers (each consist of about one thousand of objects).
Error occurs when I tried to print layers with standard labels created by 'Layer properties' > 'Labels'.
There were no errors during printing the same layers:
- without any labels,
- when I created labels by means of option: 'Labeling' from 'Layer' main menu.
#7 Updated by Jürgen Fischer about 12 years ago
Piotr Pachol wrote:
Error "Bad allocation" is connected with type of labeling used in layer.
I tried to print project with several layers (each consist of about one thousand of objects).
Error occurs when I tried to print layers with standard labels created by 'Layer properties' > 'Labels'.
There were no errors during printing the same layers:
- without any labels,
- when I created labels by means of option: 'Labeling' from 'Layer' main menu.
Any of the labels buffered? That's especially expensive with the old labeling. BTW in master the "Labels" in layer properties is the new labeling and the old one is "Labels (deprecated)".