Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to write a python plugin to create an input file for an urban climate model out of three shape files. Unfortunatelly QGIS closes when I try to load the plugin. When I start QGIS from the Terminal (Ubuntu), I get "segmentation fault" when it happens. Thats all. Is there some way to prevent QGIS from crashing or another way to track down the error?

share|improve this question
You can run it in a debugger like gdb and see where it crashes (if you have the symbols/a debug build). Also make sure your plugin has all the required basic data set. – lynxlynxlynx Sep 29 '12 at 14:29
have you checked with qgis-dev mailing list? The developers (while some of them are crawling the site) might be able to give you more assistance - or fix the issue if you stumbled into a bug? – nickves Sep 29 '12 at 22:31
up vote 0 down vote accepted

I wrote to the development mailing list, as suggested, and was told that it was very likely something with my signal definitions, that were located in a seperate dialogue classe. After moving them into the main classe no further crashes occured. Thanks!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.