Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux : demo crashing free(): invalid pointer: 0x0000000002281d10 #40

Open
lulu1315 opened this issue Jul 12, 2018 · 1 comment
Open

Comments

@lulu1315
Copy link

hello and thanks for the code
this is happening on KDE neon user (Ubuntu 16.04)
I tried to recompile caffe without cudnn but same problem happens

./demo deep_image_analogy/models/ deep_image_analogy/demo/content.png deep_image_analogy/demo/style.png deep_image_analogy/demo/output/ 0 0.1 2 1
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
Finding nearest neighbor field using PatchMatch Algorithm at layer:conv5_1.
Finding nearest neighbor field using PatchMatch Algorithm at layer:conv4_1.
Finding nearest neighbor field using PatchMatch Algorithm at layer:conv3_1.
Finding nearest neighbor field using PatchMatch Algorithm at layer:conv2_1.
Finding nearest neighbor field using PatchMatch Algorithm at layer:conv1_1.
Refining photo transfer.
Saving flow result.
Finished finding ann. Time : 121.885
*** Error in `./demo': free(): invalid pointer: 0x0000000002281d10 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f00373a67e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f00373af37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f00373b353c]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf8internal28DestroyDefaultRepeatedFieldsEv+0x1f)[0x7f002eb5e8af]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf23ShutdownProtobufLibraryEv+0x8b)[0x7f002eb5db3b]
/usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3(+0x233b9)[0x7f001d3ea3b9]
/lib64/ld-linux-x86-64.so.2(+0x10de7)[0x7f003cdc9de7]
/lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7f0037368ff8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7f0037369045]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7f003734f837]
./demo[0x407729]
@rozentill
Copy link
Member

rozentill commented Jul 25, 2018

Hi,

thanks a lot for your interest on our paper and codes.

I guess although it showed such error information, the results were still saved in a folder. You can try to find them just follow the documentation or the codes.

For the error, I guess it could be caused by the free function, I would check it later.

Thanks for the issue.

Ryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants