Skip to content

-analyzer-check-objc-mem -analyzer-experimental-checks: Segmentation fault (core dumped) #8453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Sep 4, 2010 · 2 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang:static analyzer

Comments

@llvmbot
Copy link
Member

llvmbot commented Sep 4, 2010

Bugzilla Link 8081
Resolution FIXED
Resolved on Sep 07, 2010 15:45
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @tkremenek

Extended Description

cat tst.c

#include <stdio.h>

void new_fseek(FILE *stream, long offset, int whence)
{
fseek(stream, offset, whence);
}

clang --version

clang version 2.8 (trunk 113069)
Target: i386-pc-linux-gnu
Thread model: posix

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem -analyzer-experimental-checks tst.c

0 clang 0x09094be8
Stack dump:
0. Program arguments: /usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem -analyzer-experimental-checks tst.c

  1.  <eof> parser at end of file
    
  2.  tst.c:5:3: Error evaluating statement
    
  3.  tst.c:5:3: Error evaluating statement
    

Segmentation fault (core dumped)

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-experimental-checks tst.c

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem tst.c

@llvmbot
Copy link
Member Author

llvmbot commented Sep 4, 2010

assigned to @tkremenek

@tkremenek
Copy link
Contributor

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this issue Mar 22, 2024
…gen-cherrypick

[lldb][progress][NFC] Clarify Doxygen comments for `details` field (#…
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang:static analyzer
Projects
None yet
Development

No branches or pull requests

2 participants