-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
Building julia with clang segfaults when building sys0.ji. Using OS X 10.7.3, with the clang that ships with XCode 4.3.1 (Apple clang version 3.1 (tags/Apple/clang-318.0.54) (based on LLVM 3.1svn))
(gdb) set args -b stage0.jl
(gdb) r
Starting program: /Users/viral/julia/julia -b stage0.jl
Reading symbols for shared libraries ++++++................................................................................................ done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
0x000000010064c7f5 in fl_raise (e=4331668007) at flisp.c:175
175 while (readstate != (fl_readstate_t*)fl_ctx->rdst) {
(gdb) bt
#0 0x000000010064c7f5 in fl_raise (e=4331668007) at flisp.c:175
#1 0x000000010064cd6d in type_error (fname=0x10067d72e "apply", expected=0x1006ab117 "function", got=1) at flisp.c:217
#2 0x0000000100654e3b in _applyn (n=0) at flisp.c:637
#3 0x00000001006550c7 in fl_applyn (n=0, f=1) at flisp.c:674
#4 0x000000010001423f in jl_init_frontend () at ast.c:95
#5 0x0000000100060c6a in julia_init (imageFile=0x0) at init.c:112
#6 0x0000000100002122 in main ()
Current language: auto; currently minimal
(gdb)
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior