From: sebastien rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr>
To: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Segfault on notmuch compiled using commit 73cebe6e7233f59ba26d9f7c05265b7776795818
Date: Tue, 28 May 2019 14:45:29 +0200 (CEST) [thread overview]
Message-ID: <162669069.139796.1559047529277@ichabod.co-bxl> (raw)
In-Reply-To: <1f419873dad2f3034ba709dc58cd958d99b01f44.camel@univ-rouen.fr>
[-- Attachment #1: Type: text/plain, Size: 4025 bytes --]
Hi,
I use 18.4.2 LTS.
I install the dependencies, compile and run the test which are all successfulls (expect the three expected failures).
I have the same error when run notmuch new, the backtrace is :
(gdb) backtrace
#0 0x00007ffff6969410 in g_mime_stream_construct () at /usr/lib/x86_64-linux-gnu/libgmime-3.0.so.0
#1 0x00007ffff696d124 in g_mime_stream_fs_new_with_bounds () at /usr/lib/x86_64-linux-gnu/libgmime-3.0.so.0
#2 0x00007ffff7bc6f3f in g_mime_stream_gzfile_open (filename=<optimized out>) at util/gmime-extra.c:54
#3 0x00007ffff7bb0b51 in _notmuch_message_file_open_ctx (notmuch=notmuch@entry=0x5555557b67d0, ctx=ctx@entry=0x0, filename=filename@entry=0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate") at lib/message-file.c:73
#4 0x00007ffff7bb0baa in _notmuch_message_file_open (notmuch=notmuch@entry=0x5555557b67d0, filename=filename@entry=0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate")
at lib/message-file.c:91
#5 0x00007ffff7bbf01b in notmuch_database_index_file(notmuch_database_t*, char const*, notmuch_indexopts_t*, notmuch_message_t**) (notmuch=notmuch@entry=0x5555557b67d0, filename=filename@entry=0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate", indexopts=0x5555557b6760, message_ret=message_ret@entry=0x7fffffffcce8) at lib/add-message.cc:494
#6 0x0000555555563dad in add_file (state=0x7fffffffd0d0, filename=0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate", notmuch=0x5555557b67d0) at notmuch-new.c:382
#7 0x0000555555563dad in add_files (notmuch=notmuch@entry=0x5555557b67d0, path=path@entry=0x5555557ed2e0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos", state=state@entry=0x7fffffffd0d0) at notmuch-new.c:720
#8 0x00005555555636b2 in add_files (notmuch=notmuch@entry=0x5555557b67d0, path=path@entry=0x5555557b5260 "/home/reyman/Mail/unthinkingdepths", state=state@entry=0x7fffffffd0d0) at notmuch-new.c:604
#9 0x00005555555636b2 in add_files (notmuch=0x5555557b67d0, path=path@entry=0x55555577c520 "/home/reyman/Mail", state=state@entry=0x7fffffffd0d0) at notmuch-new.c:604
#10 0x000055555556497d in notmuch_new_command (config=0x555555787170, argc=<optimized out>, argv=<optimized out>) at notmuch-new.c:1232
#11 0x000055555555d154 in main (argc=2, argv=0x7fffffffd8d8) at notmuch.c:510
Best regards,
SR
May 28, 2019 10:50:01 AM CEST rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr> wrote:
Hi,
Using Ubuntu 18, i have a segfault after update and recompilation of notmuch at commit
73cebe6e7233f59ba26d9f7c05265b7776795818 (HEAD -> master, origin/master, origin/HEAD)
Running : notmuch new
(process:29765): GLib-GObject-WARNING **: 10:33:54.858: cannot register existing type 'GMimeStream'
(process:29765): GLib-GObject-CRITICAL **: 10:33:54.859: g_type_register_static: assertion 'parent_type > 0' failed
(process:29765): GLib-GObject-CRITICAL **: 10:33:54.859: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1] 29765 segmentation fault (core dumped) notmuch new
Using GDB :
(gdb) run
Starting program: /home/reyman/Binaire/notmuch new
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(process:32147): GLib-GObject-WARNING **: 10:42:03.024: cannot register existing type 'GMimeStream'
(process:32147): GLib-GObject-CRITICAL **: 10:42:03.024: g_type_register_static: assertion 'parent_type > 0' failed
(process:32147): GLib-GObject-CRITICAL **: 10:42:03.024: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6969410 in g_mime_stream_construct () from /usr/lib/x86_64-linux-gnu/libgmime-3.0.so.0
Sébastien Rey-Coyrehourcq
Research Engineer UMR IDEES
02.35.14.69.30
{Stronger security for your email, follow EFF tutorial : https://ssd.eff.org/}
[-- Attachment #2: Type: text/html, Size: 5251 bytes --]
next prev parent reply other threads:[~2019-05-28 12:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 8:50 Segfault on notmuch compiled using commit 73cebe6e7233f59ba26d9f7c05265b7776795818 rey-coyrehourcq
2019-05-28 10:48 ` David Bremner
2019-05-28 12:45 ` sebastien rey-coyrehourcq [this message]
2019-05-28 12:59 ` David Bremner
2019-05-28 14:02 ` rey-coyrehourcq
2019-05-29 11:45 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162669069.139796.1559047529277@ichabod.co-bxl \
--to=sebastien.rey-coyrehourcq@univ-rouen.fr \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).