cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Timur Tabi <timur@kernel.org>
Cc: cocci <cocci@systeme.lip6.fr>
Subject: Re: [Cocci] Fatal error: exception File "engine/ctlcocci_integration.ml", line 361, characters 4-10: Assertion failed
Date: Fri, 7 Dec 2018 18:56:24 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1812071855470.20798@hadrien> (raw)
In-Reply-To: <CAOZdJXX-_cVVTdvird2amhKRD-ywDgCxJopwof4ZovjU2zS-Yw@mail.gmail.com>



On Fri, 7 Dec 2018, Timur Tabi wrote:

> On Fri, Dec 7, 2018 at 11:42 AM Julia Lawall <julia.lawall@lip6.fr> wrote:
> > Do you know which function in your C code causes the problem?  Does that
> > function have some dead code?  You can try
> >
> > spatch --control-flow file.c
>
> That revealed the line number of the problem.  It's a goto tag in a macro:
>
> #define xxx(type, member) \
> ...
> member##_done:                                                               \
> ...
>
> I can work around this by temporarily commenting-out that line, since
> my script doesn't care about its contents.

I guess you run Coccinelle on a complete directory?  If so, does the
assert cause everything to crash, or only the treatment of the given file?

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

  parent reply	other threads:[~2018-12-07 17:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-07 17:17 [Cocci] Fatal error: exception File "engine/ctlcocci_integration.ml", line 361, characters 4-10: Assertion failed Timur Tabi
2018-12-07 17:42 ` Julia Lawall
2018-12-07 17:51   ` Timur Tabi
2018-12-07 17:55     ` Julia Lawall
2018-12-07 17:56     ` Julia Lawall [this message]
2018-12-07 18:17       ` Timur Tabi
2018-12-07 18:20         ` Julia Lawall

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1812071855470.20798@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=timur@kernel.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.
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 NNTP newsgroup(s).