From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id F12B16DE0F31 for ; Tue, 28 May 2019 05:52:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.273 X-Spam-Level: X-Spam-Status: No, score=0.273 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7MX181slFGGl for ; Tue, 28 May 2019 05:52:50 -0700 (PDT) X-Greylist: delayed 434 seconds by postgrey-1.36 at arlo; Tue, 28 May 2019 05:52:50 PDT Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) by arlo.cworth.org (Postfix) with ESMTPS id 677CB6DE0EA8 for ; Tue, 28 May 2019 05:52:50 -0700 (PDT) Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 00EEE1329 for ; Tue, 28 May 2019 14:45:33 +0200 (CEST) Date: Tue, 28 May 2019 14:45:29 +0200 (CEST) From: sebastien rey-coyrehourcq Reply-To: sebastien rey-coyrehourcq To: Notmuch Mail Message-ID: <162669069.139796.1559047529277@ichabod.co-bxl> In-Reply-To: <1f419873dad2f3034ba709dc58cd958d99b01f44.camel@univ-rouen.fr> References: <1f419873dad2f3034ba709dc58cd958d99b01f44.camel@univ-rouen.fr> Subject: Re: Segfault on notmuch compiled using commit 73cebe6e7233f59ba26d9f7c05265b7776795818 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_139793_969083199.1559047529272" X-Priority: 3 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:172311170 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2019 12:52:52 -0000 ------=_Part_139793_969083199.1559047529272 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,=20 I use 18.4.2 LTS. I install the dependencies, compile and run the test which are all successf= ulls (expect the three expected failures). I have the same error when run notmuch new, the backtrace is :=20 (gdb) backtrace #0=C2=A0 0x00007ffff6969410 in g_mime_stream_construct () at /usr/lib/x86_6= 4-linux-gnu/libgmime-3.0.so.0 #1=C2=A0 0x00007ffff696d124 in g_mime_stream_fs_new_with_bounds () at /usr/= lib/x86_64-linux-gnu/libgmime-3.0.so.0 #2=C2=A0 0x00007ffff7bc6f3f in g_mime_stream_gzfile_open (filename=3D) at util/gmime-extra.c:54 #3=C2=A0 0x00007ffff7bb0b51 in _notmuch_message_file_open_ctx (notmuch=3Dno= tmuch@entry=3D0x5555557b67d0, ctx=3Dctx@entry=3D0x0, filename=3Dfilename@en= try=3D0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyn= cstate") at lib/message-file.c:73 #4=C2=A0 0x00007ffff7bb0baa in _notmuch_message_file_open (notmuch=3Dnotmuc= h@entry=3D0x5555557b67d0, filename=3Dfilename@entry=3D0x5555557eceb0 "/home= /reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate") =C2=A0=C2=A0=C2=A0 at lib/message-file.c:91 #5=C2=A0 0x00007ffff7bbf01b in notmuch_database_index_file(notmuch_database= _t*, char const*, notmuch_indexopts_t*, notmuch_message_t**) (notmuch=3Dnot= much@entry=3D0x5555557b67d0, filename=3Dfilename@entry=3D0x5555557eceb0 "/h= ome/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate", indexopts=3D0x5= 555557b6760, message_ret=3Dmessage_ret@entry=3D0x7fffffffcce8) at lib/add-m= essage.cc:494 #6=C2=A0 0x0000555555563dad in add_file (state=3D0x7fffffffd0d0, filename= =3D0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncst= ate", notmuch=3D0x5555557b67d0) at notmuch-new.c:382 #7=C2=A0 0x0000555555563dad in add_files (notmuch=3Dnotmuch@entry=3D0x55555= 57b67d0, path=3Dpath@entry=3D0x5555557ed2e0 "/home/reyman/Mail/unthinkingde= pths/0_InfoLabos", state=3Dstate@entry=3D0x7fffffffd0d0) at notmuch-new.c:7= 20 #8=C2=A0 0x00005555555636b2 in add_files (notmuch=3Dnotmuch@entry=3D0x55555= 57b67d0, path=3Dpath@entry=3D0x5555557b5260 "/home/reyman/Mail/unthinkingde= pths", state=3Dstate@entry=3D0x7fffffffd0d0) at notmuch-new.c:604 #9=C2=A0 0x00005555555636b2 in add_files (notmuch=3D0x5555557b67d0, path=3D= path@entry=3D0x55555577c520 "/home/reyman/Mail", state=3Dstate@entry=3D0x7f= ffffffd0d0) at notmuch-new.c:604 #10 0x000055555556497d in notmuch_new_command (config=3D0x555555787170, arg= c=3D, argv=3D) at notmuch-new.c:1232 #11 0x000055555555d154 in main (argc=3D2, argv=3D0x7fffffffd8d8) at notmuch= .c:510 Best regards, SR May 28, 2019 10:50:01 AM CEST rey-coyrehourcq wrote: Hi,=C2=A0 Using Ubuntu 18, i have a segfault after update and recompilation of notmuc= h at commit =C2=A0 73cebe6e7233f59ba26d9f7c05265b7776795818 (HEAD -> master, origin/master, or= igin/HEAD) Running : notmuch new (process:29765): GLib-GObject-WARNING **: 10:33:54.858: cannot register exi= sting type 'GMimeStream' (process:29765): GLib-GObject-CRITICAL **: 10:33:54.859: g_type_register_st= atic: 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]=C2=A0=C2=A0=C2=A0=C2=A029765 segmentation fault (core dumped)=C2=A0=C2= =A0notmuch new Using GDB :=20 (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 exi= sting type 'GMimeStream' (process:32147): GLib-GObject-CRITICAL **: 10:42:03.024: g_type_register_st= atic: 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=C3=A9bastien Rey-Coyrehourcq Research Engineer UMR IDEES 02.35.14.69.30 {Stronger security for your email, follow EFF tutorial : https://ssd.eff.or= g/} ------=_Part_139793_969083199.1559047529272 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,
<= br>
I use 18.4.2 LTS.
I install the dependencies, compi= le and run the test which are all successfulls (expect the three expected f= ailures).

I have the same error when run notmuc= h new, the backtrace is :

(gdb) backtrace=
#0  0x00007ffff6969410 in g_mime_stream_construct () at /usr/lib/x= 86_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=3D&l= t;optimized out>) at util/gmime-extra.c:54
#3  0x00007ffff7bb0b5= 1 in _notmuch_message_file_open_ctx (notmuch=3Dnotmuch@entry=3D0x5555557b67= d0, ctx=3Dctx@entry=3D0x0, filename=3Dfilename@entry=3D0x5555557eceb0 "/hom= e/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate") at lib/message-fi= le.c:73
#4  0x00007ffff7bb0baa in _notmuch_message_file_open (notmu= ch=3Dnotmuch@entry=3D0x5555557b67d0, filename=3Dfilename@entry=3D0x5555557e= ceb0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate")
&nbs= p;   at lib/message-file.c:91
#5  0x00007ffff7bbf01b in n= otmuch_database_index_file(notmuch_database_t*, char const*, notmuch_indexo= pts_t*, notmuch_message_t**) (notmuch=3Dnotmuch@entry=3D0x5555557b67d0, fil= ename=3Dfilename@entry=3D0x5555557eceb0 "/home/reyman/Mail/unthinkingdepths= /0_InfoLabos/.mbsyncstate", indexopts=3D0x5555557b6760, message_ret=3Dmessa= ge_ret@entry=3D0x7fffffffcce8) at lib/add-message.cc:494
#6  0x0000= 555555563dad in add_file (state=3D0x7fffffffd0d0, filename=3D0x5555557eceb0= "/home/reyman/Mail/unthinkingdepths/0_InfoLabos/.mbsyncstate", notmuch=3D0= x5555557b67d0) at notmuch-new.c:382
#7  0x0000555555563dad in add_f= iles (notmuch=3Dnotmuch@entry=3D0x5555557b67d0, path=3Dpath@entry=3D0x55555= 57ed2e0 "/home/reyman/Mail/unthinkingdepths/0_InfoLabos", state=3Dstate@ent= ry=3D0x7fffffffd0d0) at notmuch-new.c:720
#8  0x00005555555636b2 in= add_files (notmuch=3Dnotmuch@entry=3D0x5555557b67d0, path=3Dpath@entry=3D0= x5555557b5260 "/home/reyman/Mail/unthinkingdepths", state=3Dstate@entry=3D0= x7fffffffd0d0) at notmuch-new.c:604
#9  0x00005555555636b2 in add_f= iles (notmuch=3D0x5555557b67d0, path=3Dpath@entry=3D0x55555577c520 "/home/r= eyman/Mail", state=3Dstate@entry=3D0x7fffffffd0d0) at notmuch-new.c:604
= #10 0x000055555556497d in notmuch_new_command (config=3D0x555555787170, arg= c=3D<optimized out>, argv=3D<optimized out>) at notmuch-new.c:1= 232
#11 0x000055555555d154 in main (argc=3D2, argv=3D0x7fffffffd8d8) at = notmuch.c:510

Best regards,
SR

May 28, 2019 10:50:0= 1 AM CEST rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr> w= rote:
">
Hi, 

Using U= buntu 18, i have a segfault after update and recompilation of notmuch at co= mmit  
73cebe6e7233f59ba26d9f7c05265b7776795818 (HEAD -> = master, origin/master, origin/HEAD)

= Running : notmuch new

(process:29765): GLib-GO= bject-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
[Threa= d debugging using libthread_db enabled]
Using host libthread_db l= ibrary "/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: as= sertion 'parent_type > 0' failed

(process:32147= ): GLib-GObject-CRITICAL **: 10:42:03.024: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (ob= ject_type)' failed

Program received signal SIGSEGV= , Segmentation fault.
0x00007ffff6969410 in g_mime_stream_constru= ct () from /usr/lib/x86_64-linux-gnu/libgmime-3.0.so.0


S= =C3=A9bastien Rey-Coyrehourcq
Research Engineer UMR IDEES
02.35.14.69.30

{Stronger security for your email, follow EFF tutori= al : https://ssd.eff.org/}
<= br>
------=_Part_139793_969083199.1559047529272--