[LLVMbugs] [Bug 12228] New: wireshark-filters.o from wireshark 1.6.5 miscompiled by clang at -O2
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Mar 10 07:30:19 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=12228
Bug #: 12228
Summary: wireshark-filters.o from wireshark 1.6.5 miscompiled
by clang at -O2
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: howarth at nitro.med.uc.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8172
--> http://llvm.org/bugs/attachment.cgi?id=8172
assembly file for filters.c created by llvm svn clang at -O2
The wireshark-filters.o object file in wireshark 1.6.5 is miscompiled by clang
at optimizations higher than -O1 such that the resulting binaries segfault on
startup....
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff923054f0 in strlen ()
(gdb) bt
#0 0x00007fff923054f0 in strlen ()
#1 0x000000010420bef3 in g_strdup ()
warning: Could not open object file:
"/sw/src/fink.build/wireshark-1.6.5-2/wireshark-1.6.5/wireshark-filters.o":
Permission denied
warning: Couldn't open object file
'/sw/src/fink.build/wireshark-1.6.5-2/wireshark-1.6.5/wireshark-filters.o'
#2 0x0000000100014bda in copy_filter_list ()
#3 0x0000000100050e67 in read_configuration_files (gdp_path=0x7fff5fbff700,
dp_path=0x7fff5fbff6f8)
at main.c:1906
#4 0x000000010004edca in main (argc=1, argv=0x7fff5fbff7a8) at main.c:2418
This bug occurs in both Xcode 4.3.1's clang and llvm.org's clang svn.
--
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