[Issue 12395] Program segfaults despite being entirely within SafeD
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 17 18:59:01 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12395
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |thecybershadow at gmail.com
Resolution| |INVALID
--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-18 03:58:59 EET ---
@safe programs can still segfault, e.g. due to dereferencing a null pointer or
causing a stack overflow. Your program does the latter: the functions
disjunction.check_match and memo_expression.matches call each other
recursively.
> but my program is still segfaulting and I can't figure out why or where.
To diagnose segfaults, compile your program with symbols (DMD -g switch) and
run it under a debugger (such as gdb).
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list