[
https://issues.apache.org/jira/browse/ARROW-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530303#comment-16530303
]
Antoine Pitrou commented on ARROW-2785:
---------------------------------------
gdb backtrace:
{code:java}
#0 0x00007ffff6baf428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff6bb102a in __GI_abort () at abort.c:89
#2 0x00007ffff6bf17ea in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7ffff6d0aed8 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff6bfe698 in malloc_printerr (ar_ptr=0x0, ptr=<optimized out>,
str=0x7ffff6d0af00 "munmap_chunk(): invalid pointer",
action=<optimized out>) at malloc.c:5006
#4 munmap_chunk (p=<optimized out>) at malloc.c:2842
#5 __GI___libc_free (mem=<optimized out>) at malloc.c:2963
#6 0x00007ffff7518ca5 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string (
this=<optimized out>, __in_chrg=<optimized out>)
at
/opt/conda/conda-bld/compilers_linux-64_1520532893746/work/.build/x86_64-conda_cos6-linux-gnu/build/build-cc-gcc-final/x86_64-conda_cos6-linux-gnu/libstdc++-v3/include/bits/basic_string.h:3498
#7 0x0000000000694f4a in boost::filesystem::path::~path (this=0x7fffffffd420,
__in_chrg=<optimized out>)
at
/home/antoine/miniconda3/envs/pyarrow37/include/boost/filesystem/path.hpp:56
#8 0x000000000069205a in arrow::ipc::temp_path () at
../src/arrow/ipc/json-integration-test.cc:233
#9 0x000000000069599e in arrow::ipc::TestJSONIntegration::mkstemp
(this=0xb95340) at ../src/arrow/ipc/json-integration-test.cc:241
#10 0x000000000069210f in
arrow::ipc::TestJSONIntegration_ConvertAndValidate_Test::TestBody
(this=0xb95340)
at ../src/arrow/ipc/json-integration-test.cc:366
{code}
> [C++] Crash in json-integration-test
> ------------------------------------
>
> Key: ARROW-2785
> URL: https://issues.apache.org/jira/browse/ARROW-2785
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Major
>
> This is probably something I keep getting wrong when creating a new
> environment, but after creating a Python 3.7 conda environment and installing
> the tool chain, I get the following crash (apparently boost-related):
> {code}
> $ ./build-test/debug/json-integration-test
> [==========] Running 2 tests from 1 test case.
> [----------] Global test environment set-up.
> [----------] 2 tests from TestJSONIntegration
> [ RUN ] TestJSONIntegration.ConvertAndValidate
> *** Error in `./build-test/debug/json-integration-test': munmap_chunk():
> invalid pointer: 0x00007ffc22542578 ***
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f4762f257e5]
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7f4762f32698]
> /home/antoine/miniconda3/envs/pyarrow37/lib/libstdc++.so.6(_ZNSsD1Ev+0x15)[0x7f476384cca5]
> ./build-test/debug/json-integration-test(_ZN5boost10filesystem4pathD1Ev+0x18)[0x694f4a]
> ./build-test/debug/json-integration-test[0x69205a]
> ./build-test/debug/json-integration-test(_ZN5arrow3ipc19TestJSONIntegration7mkstempEv+0x2c)[0x69599e]
> ./build-test/debug/json-integration-test(_ZN5arrow3ipc43TestJSONIntegration_ConvertAndValidate_Test8TestBodyEv+0x3b)[0x69210f]
> ./build-test/debug/json-integration-test(_ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc+0x65)[0x8759da]
> ./build-test/debug/json-integration-test(_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc+0x5a)[0x86f65d]
> ./build-test/debug/json-integration-test(_ZN7testing4Test3RunEv+0xd5)[0x853697]
> ./build-test/debug/json-integration-test(_ZN7testing8TestInfo3RunEv+0x105)[0x853fef]
> ./build-test/debug/json-integration-test(_ZN7testing8TestCase3RunEv+0xf4)[0x8546f8]
> ./build-test/debug/json-integration-test(_ZN7testing8internal12UnitTestImpl11RunAllTestsEv+0x2ac)[0x85b666]
> ./build-test/debug/json-integration-test(_ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc+0x65)[0x876eb7]
> ./build-test/debug/json-integration-test(_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc+0x5a)[0x870327]
> ./build-test/debug/json-integration-test(_ZN7testing8UnitTest3RunEv+0xc6)[0x85a128]
> ./build-test/debug/json-integration-test(_Z13RUN_ALL_TESTSv+0x11)[0x6945e6]
> ./build-test/debug/json-integration-test(main+0xfb)[0x693a2b]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4762ece830]
> ./build-test/debug/json-integration-test(_start+0x29)[0x68b4a9]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)