[LLVMbugs] [Bug 11587] New: clang-trunk segfaults when building make_aisleriot_freecell_board.c
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 15 11:33:52 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11587
Bug #: 11587
Summary: clang-trunk segfaults when building
make_aisleriot_freecell_board.c
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: shlomif at shlomifish.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi all. Thanks for your work on LLVM and clang.
When I try to build Freecell Solver ( http://fc-solve.shlomifish.org/ ) using
it, I'm getting a segfault on one of its board generation programs:
shlomif[fcs]:$trunk/fc-solve/source/board_gen$
/home/shlomif/apps/llvm/bin/clang-3.1 -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -disable-free -disable-llvm-verifier -main-file-name
make_aisleriot_freecell_board.c -mrelocation-model static -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-momit-leaf-frame-pointer -coverage-file
CMakeFiles/make-aisleriot-freecell-board.dir/make_aisleriot_freecell_board.c.o
-resource-dir /home/shlomif/apps/llvm/bin/../lib/clang/3.1 -D NDEBUG
-fmodule-cache-path /home/shlomif/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/home/shlomif/apps/llvm/bin/../lib/clang/3.1/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include -O3 -fdebug-compilation-dir
/home/shlomif/progs/freecell/trunk/fc-solve/source/board_gen -ferror-limit 19
-fmessage-length 80 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -x c make_aisleriot_freecell_board.c
Stack dump:
0. Program arguments: /home/shlomif/apps/llvm/bin/clang-3.1 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name make_aisleriot_freecell_board.c -mrelocation-model static
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64
-momit-leaf-frame-pointer -coverage-file
CMakeFiles/make-aisleriot-freecell-board.dir/make_aisleriot_freecell_board.c.o
-resource-dir /home/shlomif/apps/llvm/bin/../lib/clang/3.1 -D NDEBUG
-fmodule-cache-path /home/shlomif/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/home/shlomif/apps/llvm/bin/../lib/clang/3.1/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include -O3 -fdebug-compilation-dir
/home/shlomif/progs/freecell/trunk/fc-solve/source/board_gen -ferror-limit 19
-fmessage-length 80 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -x c make_aisleriot_freecell_board.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'make_aisleriot_freecell_board.c'.
4. Running pass 'Machine Instruction LICM' on function '@main'
Segmentation fault
shlomif[fcs]:$trunk/fc-solve/source/board_gen$
I'll attach the offending file soon, and a reproducing script, and a patch I
applied to the clang svn trunk to get it to run properly on Mageia Linux.
Regards,
-- Shlomi Fish
--
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