[Eric] segfault using Plugin_Assistant_Eric-snapshot

Detlev Offenbach detlev at die-offenbachs.de
Mon Jul 28 18:37:51 BST 2008


Hi,

what Python version are you using? I tested the plugin with Python 2.5, which 
has the sqlite module already included.

Regards,
Detlev

On Montag, 28. Juli 2008, Dan Bullok wrote:
> I keep getting segfaults using Plugin_Assistant_Eric-snapshot (both
> 20080712 20080726).  It has only happened when saving certain files.  Some
> files don't segfault when saving, but others do.  Once it segfault while
> saving a certain file, it will continue to do so for that file.
>
> I'm attaching a patch that stops the segfault from occurring, but it has to
> disable the API autocompletion to do so.  Since I really like the way this
> plugin does in-document word completion, that's not a huge loss to me.  If
> the standard word completion worked the same way I'd use it instead.
>
> I'm suspecting one of the binary libraries, because I'd expect anything
> written in python to throw an exception that Eric would catch.  Here's what
> I'm using:
> 	sqlite-3.5.9
> 	pysqlite-2.3.5
> 	qscintilla-2.2
> 	PyQt4-4.3.3
> 	qt-4.3.4
>
> Hopefully this is a known error, but if not I can try to track it down by
> building debug versions of the above libs.  My prime suspects are sqlite
> and pysqlite, because the segfault is happening during the autocompletion
> db update, which looks like it's handled by sqlite.  If anyone has a better
> idea, please let me know.
>
> Thanks.
> -Dan



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list