#57 closed defect (fixed)
segfault when opening a project with a map composed
Reported by: | Owned by: | rblazek | |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Project Loading / Saving | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | ubuntu breezy | Awaiting user input: | no |
Description
Opening any project which was saved after using Map composer there is a segfault.
- new project
- add layer
- use Map composer
- save project
- open this project
- segfault
Last QGIS words are:
Debug: key: <SelectionColorBluePart> value: 0 Debug: key: <SelectionColorGreenPart> value: 255 Debug: key: <SelectionColorRedPart> value: 255 Debug: key: <CanvasColorBluePart> value: 255 Debug: key: <CanvasColorGreenPart> value: 255 Debug: key: <CanvasColorRedPart> value: 255 Debug: key: <PositionPrecision> subkey: <PositionPrecision> Debug: name: PositionPrecision Debug: key: <DecimalPlaces> value: 2 Debug: key: <Automatic> value: true Debug: qgsproject.cpp : 678 unable to find title element
Debug: qgslabel.cpp:573 QgsLabel::readXML() got node labelattributes If there is a QPaintEngine error here, it is caused by an emit call just after l ine 215 in file qgsmaprender.cpp. layer name: Shadow_2004_region Vector layer type: ogr The selected layer is not GRASS. Debug: Unable to find canvas widget theOverviewCanvas Debug: Unable to find canvas widget theOverviewCanvas Debug: Canvas bacground color restored... key: composition_1 Segmentation fault
Maciek
Attachments (1)
Change History (6)
comment:1 by , 18 years ago
Owner: | changed from | to
---|
comment:2 by , 18 years ago
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied patch (in SVN r5502), which appears to resolve the problem.
comment:4 by , 17 years ago
Awaiting user input: | unset |
---|---|
Must Fix for Release: | → No |
This problem was occured in my debian system. It may be encoding related problem.
While writing and reading composed setting, it may break setting if layer name have non-ascii charcters.
I made patch for this problem. It works fine with my env.