Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 97A91431FD0 for ; Tue, 6 Sep 2011 09:49:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VU-LdsQPXWs1 for ; Tue, 6 Sep 2011 09:49:43 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 00B66431FB6 for ; Tue, 6 Sep 2011 09:49:42 -0700 (PDT) Received: by wwg9 with SMTP id 9so5239714wwg.2 for ; Tue, 06 Sep 2011 09:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=neciIo3pYHAF9cJgwc09l46ymRSIaI81bg5mI8+6ms0=; b=Pd9YERMDlv82coyZHBgMQPLKOEaOkb8UXHgEjaZNZqgTCYCWAcVZHuzCw4vt0Fc2DD 8edCKox844cTLI2di8U73XgkDkjLWEOLqIKi7VgFcA1Sojt7YE7tkVLPu1tKjZ0Gozxe 0N5s9aBu4KBUEtsEdFZ7NYwYcxfBCMySexaHY= Received: by 10.227.156.76 with SMTP id v12mr780233wbw.101.1315327781367; Tue, 06 Sep 2011 09:49:41 -0700 (PDT) Received: from localhost (ppp-94-66-133-202.home.otenet.gr [94.66.133.202]) by mx.google.com with ESMTPS id ev5sm640824wbb.11.2011.09.06.09.49.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Sep 2011 09:49:39 -0700 (PDT) From: Dmitry Kurochkin To: Jameson Graef Rollins , Notmuch Mail Subject: Re: [PATCH] Do not attept to output part raw if part is not GMimePart. In-Reply-To: <874o0pk4ff.fsf@servo.factory.finestructure.net> References: <1307032735-27427-1-git-send-email-jrollins@finestructure.net> <1307120466-4980-1-git-send-email-jrollins@finestructure.net> <874o0pk4ff.fsf@servo.factory.finestructure.net> User-Agent: Notmuch/0.7-48-g3fe340f (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 06 Sep 2011 19:49:47 +0300 Message-ID: <87mxehehuc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 06 Sep 2011 16:49:43 -0000 Hi Jamie. On Tue, 06 Sep 2011 09:43:00 -0700, Jameson Graef Rollins wrote: > On Fri, 3 Jun 2011 10:01:06 -0700, Jameson Graef Rollins wrote: > > This was a minor oversite in checking of part type when outputing > > content raw. This was causing gmime was to throw an exception to > > stderr. > > I'm finding it perplexing that this patch still hasn't been applied, > considering how small it is and that it fixes a real bug. Isn't anyone > else experiencing this same issue? I would really like to hear either > way, if people either are or are *not* experiencing this issue. > > To reiterate, this bug can be triggered very simply with the following > command: > > $ notmuch show --part=1 --format=raw id:"87wrgccedd.fsf@yoom.home.cworth.org" >/dev/null > > Please do let me know want you find. > For me this results in: (process:15727): GLib-GObject-WARNING **: invalid cast from `GMimeMultipart' to `GMimePart' (process:15727): gmime-CRITICAL **: g_mime_part_get_content_object: assertion `GMIME_IS_PART (mime_part)' failed (process:15727): GLib-GObject-WARNING **: invalid cast from `GMimeMultipartSigned' to `GMimePart' (process:15727): gmime-CRITICAL **: g_mime_part_get_content_object: assertion `GMIME_IS_PART (mime_part)' failed HTH, Dmitry > jamie. > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch