Re: Segmentation fault at gmime-iconv with python binding

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

Date: Fri, 30 Dec 2011 10:58:06 -0400

To: Kazuo Teramoto, notmuch@notmuchmail.org

Cc:

From: David Bremner


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?

That seems likely. We worked around a similar problem by calling
g_type_init in notmuch_database_open. I'm not sure if it is permissible
to call g_mime_init more than once. The g_mime docs are, uhh, concise.

d



Thread: