Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.