Re: Segmentation fault at gmime-iconv with python binding

Subject: Re: Segmentation fault at gmime-iconv with python binding

Date: Mon, 02 Jan 2012 16:43:39 +0100

To: David Bremner, Kazuo Teramoto, notmuch@notmuchmail.org

Cc:

From: Sebastian Spaeth


On Fri, 30 Dec 2011 10:58:06 -0400, David Bremner <david@tethera.net> wrote:
> On Thu, 29 Dec 2011 22:57:27 -0200, Kazuo Teramoto <kaz.rag@gmail.com> wrote:
> 
> > notmuch CLI show the message correct. I know nothing about gmime or
> > notmuch code, but can this be the case of the python bindings not
> > calling g_mime_init() correctly?

The python binding are never calling g_mime_init, as that is not exposed
to the python bindings. So either libnotmuch needs to take care of that
or there needs to be a clear guideline as to when a binding needs to
call what gmime stuff itself.

Sebastian
part-000.sig (application/pgp-signature)

Thread: