llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.35k stars 11.7k forks source link

analyzer runs out of memory during HTML generation #4620

Open llvmbot opened 15 years ago

llvmbot commented 15 years ago
Bugzilla Link 4248
Version unspecified
OS Linux
Attachments info/stderr/preprocessed file
Reporter LLVM Bugzilla Contributor
CC @lattner,@tkremenek

Extended Description

Invoking clang on packet-parlay.c (http://anonsvn.wireshark.org/viewvc/trunk/plugins/giop/packet-parlay.c?view=markup) from Wireshark causes clang to crash.

The info/stderr/preprocessed files can be found in the attachment.

tkremenek commented 2 years ago

mentioned in issue llvm/llvm-bugzilla-archive#4394

tkremenek commented 15 years ago

Note that the file (packet-parlay.c) is 3164558 bytes which probably has an impact on the crash.

The crash occurs during HTML generation, which rewrites the original .c files as HTML. The size of the .c file certainly may have an impact on this. If one omits HTML generation, the analysis terminates normally.

llvmbot commented 15 years ago

Note that the file (packet-parlay.c) is 3164558 bytes which probably has an impact on the crash.

tkremenek commented 15 years ago

Bug llvm/llvm-bugzilla-archive#4394 has been marked as a duplicate of this bug.

llvmbot commented 15 years ago

assigned to @tkremenek