[Eric] segfault using Plugin_Assistant_Eric-snapshot

Dan Bullok dan.eric at bullok.com
Mon Jul 28 18:56:22 BST 2008


Hi Detlev,

I'm using Python 2.5.2 (gentoo linux package dev-lang/python-2.5.2-r5).  I 
wasn't aware that sqlite was now built-in to python.  It looks like it's 
using the sqlite module included with Python, instead of pysqlite.  I'll 
remove pysqlite this evening, and check again, just to make sure.  

-Dan


On Monday 28 July 2008 12:37:51 Detlev Offenbach wrote:
> 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




More information about the Eric mailing list