Opened 7 years ago
Closed 7 years ago
#1131 closed Bug (fixed)
DephesSTDHEP Crash on MacOS Sierra 10.12
Reported by: | mac | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | DephesSTDHEP, MacOS, Sierra | Cc: |
Description
Hi
I apologize for taking your time by my nive question.
I tried to use Madgraph MG5_aMC_v2_5_5 and Delphes 3.4.1 on MacOS Sierra 10.12.4
I used cern root_v6.08.06.macosx64-10.12-clang80.
The C Compiler was as follow
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
The fortran version was:
GNU Fortran (Homebrew GCC 7.1.0) 7.1.0
Delphes is compiled without errors, but when I want to run DelphesSTDHEP on Some hep file, after some seconds it crashes.
Part of crash report is quoted at the end of this message.
I will be so thankful if one suggests any solution to solve this problem.
Best regards,
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
detected buffer overflow
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffc5425d42 pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffc55135bf pthread_kill + 90
2 libsystem_c.dylib 0x00007fffc538b420 abort + 129
3 libsystem_c.dylib 0x00007fffc538b592 abort_report_np + 181
4 libsystem_c.dylib 0x00007fffc53b1f28 chk_fail + 48
5 libsystem_c.dylib 0x00007fffc53b1ef8 chk_fail_overflow + 16
6 libsystem_c.dylib 0x00007fffc53b2145 strcpy_chk + 83
7 DelphesSTDHEP 0x000000010bbb2442 StringCreate + 226
8 DelphesSTDHEP 0x000000010bbb8921 Tcl_RegisterObjType + 193
9 DelphesSTDHEP 0x000000010bbb8894 Tcl_RegisterObjType + 52
10 DelphesSTDHEP 0x000000010bbb513a TclInitNamespaces + 26
11 DelphesSTDHEP 0x000000010bb8eb83 Tcl_CreateInterp + 19
12 DelphesSTDHEP 0x000000010ba5fda7 ExRootConfReader::ExRootConfReader() + 119
13 DelphesSTDHEP 0x000000010bbc49fc main + 1292
14 libdyld.dylib 0x00007fffc52f7235 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff541d60b8 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007fff541d60e0 rsp: 0x00007fff541d60b8
r8: 0x0000000000000000 r9: 0x0000000c7ffc7ff5 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x000000010bc27dd0 r13: 0x000000010bf37290 r14: 0x00007fffce2093c0 r15: 0x0000000000000004
rip: 0x00007fffc5425d42 rfl: 0x0000000000000206 cr2: 0x00007fffce1eb128
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x10ba29000 - 0x10bc00ffb +DelphesSTDHEP (0) <09A92767-390E-3829-8526-9B6407A4C9CF> /Users/USER/Desktop/*/DelphesSTDHEP
0x10bd03000 - 0x10bf2cffb +libCore.so (0) <D807E97F-4493-3BB2-AF17-BC2CA1C68F48> /Users/USER/Desktop/*/libCore.so
0x10c0bb000 - 0x10c2d8ff3 +libRIO.so (0) <705A07C4-C1F7-3E11-8ACF-3278B82BB247> /Users/USER/Desktop/*/libRIO.so
0x10c3d4000 - 0x10c582c87 +libNet.so (0) <65035626-0EE8-34F9-9A23-37A5989C1BC9> /Users/USER/Desktop/*/libNet.so
0x10c63c000 - 0x10c836ff7 +libHist.so (0) <BF66A995-FF34-3F0B-8EB8-19E2DA0B19F5> /Users/USER/Desktop/*/libHist.so
0x10c946000 - 0x10ca67ffb +libGraf.so (0) <9051D2AF-7FA8-38F4-9CBA-C967CF3E10F0> /Users/USER/Desktop/*/libGraf.so
0x10cae4000 - 0x10cb29ff3 +libGraf3d.so (0) <39E5CADB-853C-30FA-A615-3CA3E9628E90> /Users/USER/Desktop/*/libGraf3d.so
0x10cb6a000 - 0x10cbc2ff7 +libGpad.so (0) <DCDA576A-5640-3B45-BED9-893C3F562CB0> /Users/USER/Desktop/*/libGpad.so
0x10cbfe000 - 0x10cca2ff3 +libTree.so (0) <05855E37-FB53-309D-B2CA-E90FC28BA802> /Users/USER/Desktop/*/libTree.so
0x10cd18000 - 0x10cd30ff3 +libRint.so (0) <FB7F85CF-A56F-3E7B-9953-AE10B74CD493> /Users/USER/Desktop/*/libRint.so
0x10cd43000 - 0x10cd81ff7 +libPostscript.so (0) <882D25FC-9878-3724-95D1-3461BBA638DA> /Users/USER/Desktop/*/libPostscript.so
0x10cda2000 - 0x10ce90ff7 +libMatrix.so (0) <66F02A22-F2A5-3408-B718-3D5EDDE61C49> /Users/USER/Desktop/*/libMatrix.so
0x10cf09000 - 0x10cf34ff7 +libPhysics.so (0) <9225EBDE-9471-39DF-A093-48AF802ABD5D> /Users/USER/Desktop/*/libPhysics.so
0x10cf4d000 - 0x10d096ff3 +libMathCore.so (0) <E58ECDBD-D5A1-3788-9979-8EECD1823293> /Users/USER/Desktop/*/libMathCore.so
0x10d13e000 - 0x10d14dffb +libThread.so (0) <03ABC941-1E46-3364-8C83-CE6BAC8B05DF> /Users/USER/Desktop/*/libThread.so
0x10d169000 - 0x10d177fff +libMultiProc.so (0) <A1DEB7C1-C2C3-32C5-B67E-58981EE30888> /Users/USER/Desktop/*/libMultiProc.so
0x10d187000 - 0x10d1a8fff +libEG.so (0) <11630D68-8A26-3E49-A2F9-7914DB532B60> /Users/USER/Desktop/*/libEG.so
0x10d273000 - 0x10efbdff7 +libCling.so (0) <0DEEE73D-E251-3A99-AB02-7C09D6988A92> /Users/USER/Desktop/*/libCling.so
0x112125000 - 0x112162dc7 dyld (433.5) <8239D0D7-66F6-3C44-A77F-586F74525DA3> /usr/lib/dyld
0x7fffac66c000 - 0x7fffac66cfff com.apple.Accelerate (1.11 - Accelerate 1.11) <E559CE70-1A9A-3C5C-9FB7-C51FDF82F03C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fffac685000 - 0x7fffacb9efeb com.apple.vImage (8.1 - ???) <3992178B-0FF2-3B05-8830-6894BE8FD6D6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fffacb9f000 - 0x7fffacd10ff3 libBLAS.dylib (1185.50.4) <4087FFE0-627E-3623-96B4-F0A9A1991E09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fffacd11000 - 0x7fffacd25ffb libBNNS.dylib (15) <254698C7-7D36-3FFF-864E-ADEEEE543076> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
0x7fffacd26000 - 0x7fffad11cfef libLAPACK.dylib (1185.50.4) <C35FFB2F-A0E6-3903-8A3C-113A74BCBCA2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fffad11d000 - 0x7fffad133fff libLinearAlgebra.dylib (1185.50.4) <345CAACF-7263-36EF-B69B-793EA8B390AF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x7fffad134000 - 0x7fffad13afff libQuadrature.dylib (3) <EF56C8E6-DE22-3C69-B543-A8648F335FDD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
0x7fffad13b000 - 0x7fffad14fff7 libSparseBLAS.dylib (1185.50.4) <67BA432E-FB59-3C78-A8BE-ED4274CBC359> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
0x7fffad150000 - 0x7fffad2d7fe7 libvDSP.dylib (600) <02EC87E3-EA41-36DF-8696-B84E7551168E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fffad2d8000 - 0x7fffad38affb libvMisc.dylib (600) <1093AAB8-090A-3A6C-9E52-583B081079D2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fffad38b000 - 0x7fffad38bfff com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <2F018865-ACDE-3115-8014-5D8A6A33EDA4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fffad64a000 - 0x7fffae423ffb com.apple.AppKit (6.9 - 1504.82.104) <C295FF09-9984-34C3-953B-B263EF2107AB> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fffae435000 - 0x7fffae435fff com.apple.ApplicationServices (48 - 48) <847E54B5-DEA4-3B50-93CE-4FC67789F179> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fffae436000 - 0x7fffae4a4ff7 com.apple.ApplicationServices.ATS (377 - 422.2) <012ACEE0-9A90-3998-8495-734E105117C0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fffae53e000 - 0x7fffae66dff7 libFontParser.dylib (194.11) <635DF6EF-18DF-3D06-90AA-88C509B43068> /System/Library/Frameworks/ApplicationServices
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
The solution for this problem is to replace char string[4];
with char string[1];
on line 797 in external/tcl/tcl.h. This fix is now in the master branch and in Delphes-3.4.1.tar.gz.
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
the problem was solved by the following ticket, thanks tangyilei :)
https://cp3.irmp.ucl.ac.be/projects/delphes/ticket/1132