#92 ✓resolved
Peter Johnson

Segmentation fault

Reported by Peter Johnson | June 25th, 2011 @ 07:49 PM

Originally posted on Trac by shalin.patel@gmail.com
Original Trac Ticket

  Description

I get segmentation fault during compilation. I am attaching the core dump file for reference. Segmentation fault is occuring in function yasm_bc_insn_add_prefix in file libyasm/bytecode.c

Trac Attachments

h3. Trac Comments
comment:1

              Changed 4 years ago by shalin.patel@gmail.com


I am not able to attach the core as the size exceeds the limit.

comment:2

              Changed 4 years ago by mu@tortall.net


Could you try with a nightly snapshot or head SVN, or provide the (minimal) source to reproduce the crash?

comment:3

              Changed 4 years ago by peter@tortall.net


The error that could cause the crash is a combination of a prefix with an instruction containing a syntax error.  E.g.:

   es mov %[

The crash was due to a missing NULL check in the Bison parser code.  The parser was recently rewritten to be recursive descent; this bug was fixed as part of that rewrite, so a recent nightly snapshot or SVN no longer has this bug.

      comment:3

                  Changed 4 years ago by peter@tortall.net

      Status
        changed from new to closed
    
      Resolution
        set to fixed

The error that could cause the crash is a combination of a prefix with an instruction containing a syntax error.  E.g.:

   es mov %[

The crash was due to a missing NULL check in the Bison parser code.  The parser was recently rewritten to be recursive descent; this bug was fixed as part of that rewrite, so a recent nightly snapshot or SVN no longer has this bug.

      Status
        changed from new to closed
    
      Resolution
        set to fixed

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Tags

Pages