Feature request #3320

Delimited text plugin causes crash

Added by Chris Crook over 12 years ago. Updated over 12 years ago.

Assignee:Gary Sherman
Category:Data Provider
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13380


Following from message on qgis-user list at


relating to QGis crash caused by delimited text plugin. This error appears to be due to reading files with variable number of fields, which is tested in the provider constructor function, but not in the nextFeature function.

The attached patch should fix this. It takes a slightly different approach to previously - instead of ignoring lines with the wrong number of fields, it adds blank strings to ensure that there are the expected number.

Also fixes a problem with line number counting.

delimited_text_crash_fix.patch Magnifier (3.41 KB) Chris Crook, 2010-12-11 10:41 AM


#1 Updated by Gary Sherman over 12 years ago

Patch applied at b52d0743 (SVN r14891). Thanks!

#2 Updated by Gary Sherman over 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Also available in: Atom PDF