<div dir="ltr">Thanks for the details. I found the problem and posted my ideas on the other thread.<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 11:39 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 5 February 2014 14:03, Alexander Kornienko <<a href="mailto:alexfh@google.com">alexfh@google.com</a>> wrote:<br>

> Could you provide more details? I have run the tests without problems before<br>
> submitting this.<br>
<br>
</div>Sure. The crashing command was<br>
<br>
./bin/clang -cc1 -internal-isystem<br>
/home/espindola/llvm/build-dbg/bin/../lib/clang/3.5/include -load<br>
/home/espindola/llvm/build-dbg/./lib/SampleAnalyzerPlugin.so -analyze<br>
-analyzer-checker=example.MainCallChecker -verify<br>
/home/espindola/llvm/clang/test/Analysis/checker-plugins.c<br>
<br>
The backtrace is<br>
<br>
#0  0x0000003856a359e9 in raise () from /lib64/libc.so.6<br>
#1  0x0000003856a370f8 in abort () from /lib64/libc.so.6<br>
#2  0x0000003856a2e956 in __assert_fail_base () from /lib64/libc.so.6<br>
#3  0x0000003856a2ea02 in __assert_fail () from /lib64/libc.so.6<br>
#4  0x00000000015d5542 in llvm::cl::OptionCategory::registerCategory<br>
(this=0x4e317d8 <llvm::cl::GeneralCategory>)<br>
    at /home/espindola/llvm/llvm/lib/Support/CommandLine.cpp:138<br>
#5  0x00007ffff767803f in llvm::cl::OptionCategory::OptionCategory<br>
(this=0x4e317d8 <llvm::cl::GeneralCategory>, Name=0x7ffff7c67bae<br>
<.L.str4> "General options",<br>
    Description=0x0) at<br>
/home/espindola/llvm/llvm/include/llvm/Support/CommandLine.h:151<br>
#6  0x00007ffff7635721 in __cxx_global_var_init () at<br>
/home/espindola/llvm/llvm/lib/Support/CommandLine.cpp:126<br>
#7  0x00007ffff7635c29 in global constructors keyed to a () at<br>
/home/espindola/llvm/llvm/lib/Support/CommandLine.cpp:235<br>
#8  0x000000385660f4f3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2<br>
#9  0x0000003856613ad4 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2<br>
#10 0x000000385660f304 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2<br>
#11 0x00000038566131eb in _dl_open () from /lib64/ld-linux-x86-64.so.2<br>
#12 0x0000003856e0102b in dlopen_doit () from /lib64/libdl.so.2<br>
#13 0x000000385660f304 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2<br>
#14 0x0000003856e0162d in _dlerror_run () from /lib64/libdl.so.2<br>
#15 0x0000003856e010c1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2<br>
#16 0x000000000386d0a9 in<br>
llvm::sys::DynamicLibrary::getPermanentLibrary (filename=0x4e43c88<br>
"/home/espindola/llvm/build-dbg/./lib/SampleAnalyzerPlugin.so",<br>
    errMsg=0x7fffffffc5f8) at<br>
/home/espindola/llvm/llvm/lib/Support/DynamicLibrary.cpp:60<br>
#17 0x000000000192e51d in<br>
llvm::sys::DynamicLibrary::LoadLibraryPermanently (Filename=0x4e43c88<br>
"/home/espindola/llvm/build-dbg/./lib/SampleAnalyzerPlugin.so",<br>
    ErrMsg=0x7fffffffc5f8) at<br>
/home/espindola/llvm/llvm/include/llvm/Support/DynamicLibrary.h:77<br>
#18 0x000000000192d41a in clang::ExecuteCompilerInvocation<br>
(Clang=0x4e42ac0) at<br>
/home/espindola/llvm/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:203<br>
#19 0x00000000008a0c0a in cc1_main (ArgBegin=0x7fffffffd4f0,<br>
ArgEnd=0x7fffffffd530, Argv0=0x7fffffffe166<br>
"/home/espindola/llvm/build-dbg/./bin/clang",<br>
    MainAddr=0x898980 <GetExecutablePath(char const*, bool)>) at<br>
/home/espindola/llvm/llvm/tools/clang/tools/driver/cc1_main.cpp:101<br>
#20 0x0000000000898d04 in main (argc_=10, argv_=0x7fffffffddf8) at<br>
/home/espindola/llvm/llvm/tools/clang/tools/driver/driver.cpp:314<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><div><br></div>
</div></div>