-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug
Description
| Bugzilla Link | 9684 |
| Resolution | INVALID |
| Resolved on | Jun 10, 2011 13:32 |
| Version | 2.9 |
| OS | MacOS X |
| Attachments | compressed preprocessed source for source/nedit/regularExp.c from clang 2.9, compressed assembly for source/nedit/regularExp.c from clang 2.9 |
| Reporter | LLVM Bugzilla Contributor |
| CC | @d0k,@efriedma-quic,@nico |
Extended Description
Both llvm-gcc 2.9 and clang 2.9 miscompile nedit-5.5/source/regularExp.c at -O2 on x86_64 darwin. The miscompilation causes nedit to crash as...
Process 3810 launched: '/opt/local/var/macports/build/_Users_howarth_ports_editors_nedit/work/nedit-5.5/source/nedit' (x86_64)
UTF8 locale not supported.
(lldb) Process 3810 stopped
- thread #1: tid = 0x2303, 0x00007fff8381a7aa libsystem_kernel.dylib
__kill + 10, stop reason = signal SIGABRT (lldb) bt thread #​1: tid = 0x2303, stop reason = signal SIGABRT frame #​0: 0x00007fff8381a7aa libsystem_kernel.dylib__kill + 10
frame #1: 0x00007fff826fd9ec libsystem_c.dylib__abort + 193 frame #​2: 0x00007fff826cf743 libsystem_c.dylib__chk_fail + 91
frame #3: 0x00007fff826cf6ba libsystem_c.dylib__memset_chk + 14 frame #​4: 0x0000000100048ca4 neditSetREDefaultWordDelimiters [inlined] makeDelimiterTable + 24 at regularExp.c:4089
frame #5: 0x0000000100048c8c neditSetREDefaultWordDelimiters + 12 at regularExp.c:4110 frame #​6: 0x0000000100001dc3 neditmain + 2355
frame #7: 0x0000000100001484 nedit`start + 52
Recompiling nedit-5.5/source/regularExp.c with -Os eliminates the crash.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug