Opened 13 years ago

Last modified 13 years ago

#3380 new bug

Crash when repeatedly switching symbology renderer

Reported by: adbosco Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Gentoo
Platform Version: linux-2.6.32-gentoo-r7 Awaiting user input: no

Description

For this test, I loaded a shapefile with 1393 categories and repeatedly changed the symbology renderer and the column to be classified. After doing it for about 15 to 20 times, qgis crashed.

This behavior seems to be associated with a failure to synchronize the change in symbology with rendering to the canvas. It is certain to happen if one tries many different symbology settings repeatedly, but it sometimes happens unexpectedly when normally setting/resetting symbology in a normal pace (a production work situation).

This bug report relates to a build with the following characteristics:

SVN revision: 14989
compiler: g++ (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4
build type: RELEASE
CXX_FLAGS: -g -O3 -DNDEBUG (it also crashes without the -g flag)

Similar behavior was also reported for 1.6 ubuntu binary and 1.5 gentoo source, built with -O2 -DNDEBUG flags.

Cannot reproduce in a DEBUG build.

If the information above does not help, please respond to this ticket and I will perform extra tests as needed.

Attachments (2)

gdb-qgis-g.txt (16.2 KB ) - added by adbosco 13 years ago.
gdb-qgis-g-qt-g.txt (34.5 KB ) - added by adbosco 13 years ago.

Download all attachments as: .zip

Change History (5)

by adbosco, 13 years ago

Attachment: gdb-qgis-g.txt added

comment:1 by adbosco, 13 years ago

Platform: DebianGentoo

by adbosco, 13 years ago

Attachment: gdb-qgis-g-qt-g.txt added

comment:2 by adbosco, 13 years ago

Attached another backtrace file, now with Qt compiled with the -g flag, too. Hopefully this one has more usefull information.

comment:3 by jef, 13 years ago

see also #3391

Note: See TracTickets for help on using tickets.