Re: Segfault when dumping byte code to .h file

  • From: Jason <jpriest8ml@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 02 Oct 2012 22:40:00 -0500

On 10/02/2012 05:56 PM, Richard Hundt wrote:
> Hi Mike,
> 
> The following breaks impressively on MacOS X 10.7 (x86_64) when I do:

I am also affected by this bug on Ubuntu 12.04 x64.

The first offending commit I found was:
commit ead325b0c9deafb23f499f9739acca3bb36c3e46
Author: Mike Pall <mike>
Date: Sun Sep 16 18:46:04 2012 +0200

    From Lua 5.2: Add goto and ::label::

From gdb:
        Program received signal SIGSEGV, Segmentation fault.
        0x00007ffff7391b91 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
        (gdb) bt
        #0 0x00007ffff7391b91 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
        #1 0x0000000000406993 in ?? ()
        #2 0x0000000000405ac8 in _start ()


Also Mike, you often say something along the lines of "thanks for the
bug report and the test case" when someone posts a bug here. Do you
maintain a formal list of all these cases you've collected? Would there
be any benefit of publishing this list and having other people run such
tests on their own platforms?

Other related posts: