[LLVMbugs] [Bug 13439] x11-base/xorg-server-1.12.3 crashing at start-up
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 23 19:41:55 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13439
Nick Lewycky <nlewycky at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Nick Lewycky <nlewycky at google.com> 2012-07-23 21:41:55 CDT ---
When I encounter a bug where a program crashes with clang, I find it useful to
debug it as if the program were buggy. Point of fact, most of the time it turns
out to be. For example, "f(a(), b())" has to run a() and b() before f(), but
gcc and clang will run those two functions in opposite order, as permitted by
the standard. Often times it's as mundane as an uninitialized variable or a use
of stack variable after free, which just happens to not cause obvious trouble
when built with gcc.
Build your X server with debug info, crack open gdb, and get debugging! If you
ultimately discover that clang really is doing the wrong thing, please file a
new bug with at least the preprocessed source, and some evidence (a transcript
in gdb or an annotated disassembly) showing how the generated code doesn't
match the source.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list