unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stuart <stuart.dilts@gmail.com>
Cc: 31229@debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: bug#31229: 27.0.50; Semantic mode for Python causes segmentation fault
Date: Mon, 23 Apr 2018 13:13:08 -0400	[thread overview]
Message-ID: <qhlgddx2vv.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <176c1513-6dc3-a274-293a-1dc85034beb9@gmail.com> (Stuart's message of "Fri, 20 Apr 2018 18:20:07 -0600")

Stuart wrote:

> Emacs segfaults when semantic-mode is enabled in a python buffer. To
> reproduce this, place the python code below into a file. I called it
> the_file.py'.
> Then run 'emacs -Q the_file.py', then 'M-x semantic-mode'.
>
> Here's the contents of a file that emacs crashes on:
>
> import sys
> import re
>
> def foo(x):
>     print(x)
>     print("Hello world!")
>
> def bar(x):
>     print("I'm a teapot")
>
> class emacs_bug:
>
>     def __init__():
>         pass
>

Confirmed on RHEL 7.4 (clicking around the menu bar triggers it for me).
Crashes at lread.c:1777.
Reverting f939cd0 fixes it.





  reply	other threads:[~2018-04-23 17:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-21  0:20 bug#31229: 27.0.50; Semantic mode for Python causes segmentation fault Stuart
2018-04-23 17:13 ` Glenn Morris [this message]
2018-04-23 17:38   ` Glenn Morris
2018-04-23 17:49   ` Eli Zaretskii

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=qhlgddx2vv.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=31229@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=stuart.dilts@gmail.com \
    /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://git.savannah.gnu.org/cgit/emacs.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).