Seg-faults in GCC 4.9.2

5 views
Skip to first unread message

Michael Muller

unread,
Aug 20, 2015, 12:12:03 PM8/20/15
to Crack Language

After upgrading my desktop to the latest version of Debian, I've discovered
that the Crack executor reliably seg-faults when compiled under GCC 4.9.2.
This appears to happen with an optimization level of -O2 or greater,
suggesting that some new optimization is exposing some bugs.

I'm in the process of trying to track the problem(s) down, but the work-around
for users on GCC 4.9 is to compile at -O1. You can do this with:

make CXXFLAGS="-O1"

=============================================================================
michaelMuller = mmu...@enduden.com | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
Reloaded.
=============================================================================

Michael Muller

unread,
Aug 20, 2015, 6:14:57 PM8/20/15
to Crack Language

Found it! Off-by-one error leading to a buffer overflow. I just checked in a
fix.
> --
> You received this message because you are subscribed to the Google Groups "crack-lang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to crack-lang-de...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages