Opened 13 years ago

Closed 13 years ago

#3655 closed bug (fixed)

Crash after resizing attribute table in dock window

Reported by: imincik1 Owned by: timlinux
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: GUI Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

Qgis is crashing after trying to resize attribute table placed in dock window

How to replicate:

  1. Configure Your QGIS to "Open attribute table in dock window"
  1. Open shapefile containing some attribute data (sample data attached in this ticket)
  1. Press "Layer -> Open Attribute Table" to open table
  1. Try to resize attribute table by dragging table up.

Software details: OS Debian Lenny KDE 3 QGIS: Latest Trunk

GDB output and 'bt' attached

Attachments (3)

sample_data.tar.gz (20.1 KB ) - added by imincik1 13 years ago.
log.txt (6.1 KB ) - added by imincik1 13 years ago.
backtrace.txt (2.1 KB ) - added by imincik1 13 years ago.

Download all attachments as: .zip

Change History (15)

by imincik1, 13 years ago

Attachment: sample_data.tar.gz added

by imincik1, 13 years ago

Attachment: log.txt added

by imincik1, 13 years ago

Attachment: backtrace.txt added

comment:1 by imincik1, 13 years ago

This problem is not present on Debian Squeeze, which is using Qt 4.6.3.

comment:2 by imincik1, 13 years ago

When testing on Debian Lenny, it seems that moving with any docked panel will lead to segfault.

comment:3 by pcav, 13 years ago

See also #3670

comment:4 by imincik1, 13 years ago

Owner: changed from nobody to timlinux

comment:5 by billywill, 13 years ago

Resolution: worksforme
Status: newclosed

Could not reproduce. Latest trunk on Win7.

comment:6 by imincik1, 13 years ago

Resolution: worksforme
Status: closedreopened

The problem is still there. Please do not cancel GUI bugs reported on Linux (with specific Qt version) after testing on Windows (with latest Qt I guess).

comment:7 by timlinux, 13 years ago

Ivan I tested on Ubuntu Natty (Qt 4.7.2) and was not able to replicate this issue. I will test with Ubuntu 10.10 / Maverick later.

Looking at the backtrace, the issue happens deep inside Qt and I suspect it is only fixable by upgrading to a newer Qt version at some point. Will look further at this ticket on my 10.10 machine. Unfortunately I dont have a lenny machine to test with.

Regards

Tim

comment:8 by imincik1, 13 years ago

Thanks for testing, it is crashing mostly on older Qt, but it is confirmed by Paolo also on Debian unstable (#3670) which is using new Qt.

comment:9 by imincik1, 13 years ago

I wonder what was changed some one month ago, since until that time, there was no crashing. This is the reason I think, that this problem can be fixed without Qt upgrade.

On the other side, if this bug will be leaved unfixed for older Qt, we need definitely increase supported Qt versions, because in current state, it makes QGIS completely unusable with my Qt (which is first time since 1.0 when I am really not able to work with trunk version).

Ivan

comment:10 by sabb, 13 years ago

Works for me on Ubuntu 10.10 Qt 4.7.0

Regards, Pete

comment:11 by imincik1, 13 years ago

Testing again on Debian Lenny: something helped (maybe it was #2714), can not reproduce bug now.

Please wait for more tests.

comment:12 by imincik1, 13 years ago

Resolution: fixed
Status: reopenedclosed

Testing on Debian Squeeze: I can not replicate the problem. We can close ticket now. Thanks.

Note: See TracTickets for help on using tickets.