Dear all,
I'm struggling to build and run Caffe in Cygwin.
I love Cygwin. With it I can do my daily work in Windows and use GNU Make my favorite terminal bash.
Acturally, I've made to build caffe on Cygwin. However, when I import caffe in python, segmentation fault occurred. There's no useful information in the core dump as shown below.
I also used ldd to verify all the dependencies of _caffe.dll are met.
I have no idea where the problems locate. So I just post to see if anyone has some idea or successful experience.
Feel free to request if you need any information of my environment and build process.
Any help is welcome.
p.s.
My environment: Win7 64bit, Cygwin 6.1 x86_64, Python 2.7.10(in Cygwin)
Content of "python2.7.exe.stackdump" dumped after import caffe:
Exception: STATUS_ACCESS_VIOLATION at rip=00180198BAD
rax=000006FF00000000 rbx=000000000022A790 rcx=000006FF00000000
rdx=000000000022A838 rsi=000000000022A798 rdi=000006FF00000000
r8 =00000003FC91D864 r9 =0000000000000004 r10=00000003F55584A0
r11=000006FFFF537AB8 r12=000006FFFF537AA0 r13=00000003F550B4D0
r14=000006FFFF537AC8 r15=0000000000000000
rbp=0000000000000000 rsp=000000000022A618
program=D:\cygwin64\bin\python2.7.exe, pid 2164, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
00000000000 00180198BAD (00000000001, 6FFFFFC13F0, 6FFFF4EF6E0, 006005B3018)
00000000000 003F54BAF2A (6FFFFFC13F0, 6FFFFA7E2D8, 0000022AA20, 0000022AA60)
6FFFF537AD8 003F54BB33A (00000000000, 00000000000, 6FFFFFC13F0, 00000000000)
0000022AA20 003F54BB8D8 (001800CDD52, 0000022AB40, 00000000001, 00000000018)
0000022AA20 003F53D30AF (003FC90384B, 00600618D60, 00000000000, 6FF00000000)
0000022AA20 003FC9000D3 (00587522338, 0058746BF40, 6A0F4036DD7D1A2A, 00000000000)
0000022AA20 005872F216B (006005D3BE0, 006005D4BF0, 003F550B4D0, 003F557FDA0)
00000000000 003FC90B5E5 (006005D3BE0, 003F550B4D0, 006005D3BE0, 006000003F5)
00000000000 003FC90B988 (006005D3BE0, 003F54AB2E6, 00600010420, 6FFFFFEFB40)
00000000000 003F54B0A37 (222928973FEEB611, 6FFFFFD28C0, 006005D4BF0, 00000000000)
003F550B4D0 003F54AE11A (003F557FDB8, 6FFFF599418, 6FFFF4A8A40, 6FFFF4A8A48)
6FFFF3E2084 003F54AF15E (6FFFF4A8A48, 6FFFF4A8A48, 003F550B4D0, 000FFFFFFFF)
6FFFF599418 003F548F35E (003F54436B6, 6FFFF891330, 006005981D8, 00000000001)
6FFFF599418 003F53D2EF3 (6FFFF3E2060, 6FFFF4F27F8, 6FFFF4F27F8, 003F550B4D0)
6FFFF599418 003F54935EC (003F555331E, 6FFFF4F27F8, 0000000001F, 6FFFF4F27F8)
00000000000 003F54984E8 (6FFFF8925A8, 006001CCBD0, 6FFFF4C6758, 6FF00000000)
End of stack trace (more stack frames may be present)