Bug report #5243

Shapefile - merging cause crashes in 1.7.4

Added by Gerald Fringeli almost 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:1.7.4 Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:Yes Copied to github as #:14978

Description

Crash when merging polygons. No warnings, no error message. The first mergers do not cause crashes. This only happens after some time of work.

From the terminal :

gerald@GE:~$ qgis
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Aucun fichier ou dossier de ce type
Warning: QFileSystemWatcher: failed to add paths: /home/gerald/.config/ibus/bus
Python support ENABLED :-)
Loaded : MMQGIS (package: mmqgis)
Loaded : Table Manager (package: tablemanager)
Loaded : Measuring Vegetal Index (package: mv_plugin)
Loaded : fTools (package: fTools)
Loaded : Plugin Installer (package: plugin_installer)
Loaded : GdalTools (package: GdalTools)
Warning: QgsRasterLayer::setDataProvider: Data provider is invalid.
Warning: QgsRasterLayer::setDataProvider: Data provider is invalid.
Fatal: ASSERT: "mRowIdMap.size() == mIdRowMap.size()" in file /build/buildd/qgis-1.7.4/src/app/attributetable/qgsattributetablemodel.cpp, line 103
Abandon

shapefiles_merge_crashes.zip - shapefiles involved in crashes during merging. (1.27 MB) Gerald Fringeli, 2012-03-27 08:59 AM

crash_after_merging_of_2_features.ogv - Crash afer merging of 2 features. (4.88 MB) Gerald Fringeli, 2012-03-28 02:23 AM

History

#1 Updated by Giovanni Manghi almost 12 years ago

  • Status changed from Open to Feedback
  • Target version changed from Version 1.7.4 to 35
  • Affected QGIS version changed from master to 1.7.4

Hi, in the zip file there is only ONE shape.

#2 Updated by Gerald Fringeli almost 12 years ago

This video shows a crash after a merging of 2 features.
NB: In the video, qgis seems to remain open, in reality it closes completely.

#3 Updated by Giovanni Manghi almost 12 years ago

Gerald Fringeli wrote:

This video shows a crash after a merging of 2 features.
NB: In the video, qgis seems to remain open, in reality it closes completely.

can you add sample data? I need to try replicate the issue here. Thanks.

#4 Updated by Gerald Fringeli almost 12 years ago

The sample data are in the ticket (https://issues.qgis.org/attachments/4348/shapefiles_merge_crashes.zip). That's my working file. To replicate, split somes big features, change some attributes... (also work) and then try to merge some splited feature (fusion)...
Just an infomation that I forgot, I'm on a ubuntu 64bit.

#5 Updated by Giovanni Manghi almost 12 years ago

I can perform the operation you show in the video without any major issue, also selecting many features at one time. I use 1.7.4 on Ubuntu 11.10 64 bit.

Can you test on another machine?

#6 Updated by Giovanni Manghi almost 12 years ago

  • Target version changed from 35 to Version 1.8.0

#7 Updated by Giovanni Manghi almost 12 years ago

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

Closing for lack of feedback, reopen if necessary.

Also available in: Atom PDF