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

crash in draco::RAnsDecoder<12>::rans_read() #35

Closed
geeknik opened this issue Jan 18, 2017 · 0 comments
Closed

crash in draco::RAnsDecoder<12>::rans_read() #35

geeknik opened this issue Jan 18, 2017 · 0 comments

Comments

@geeknik
Copy link

geeknik commented Jan 18, 2017

./draco_encoder -i test057

==30255==ERROR: AddressSanitizer: SEGV on unknown address 0x02007bda16b4 (pc 0x000000740c34 bp 0x7ffef6a53040 sp 0x7ffef6a52ea0 T0)
    #0 0x740c33 in draco::RAnsDecoder<12>::rans_read() /root/draco/core/ans.h:457:43
    #1 0x740c33 in draco::RAnsSymbolDecoder<5>::DecodeSymbol() /root/draco/core/rans_symbol_decoder.h:38
    #2 0x740c33 in bool draco::DecodeTaggedSymbols<draco::RAnsSymbolDecoder>(int, int, draco::DecoderBuffer*, unsigned int*) /root/draco/core/symbol_decoding.cc:82
    #3 0x740375 in draco::DecodeSymbols(int, int, draco::DecoderBuffer*, unsigned int*) /root/draco/core/symbol_decoding.cc:57:12
    #4 0x7ff4d2 in draco::SequentialIntegerAttributeDecoder::DecodeIntegerValues(std::vector<draco::IndexType<int, draco::PointIndex_tag_type_>, std::allocator<draco::IndexType<int, draco::PointIndex_tag_type_> > > const&, draco::DecoderBuffer*) /root/draco/compression/attributes/sequential_integer_attribute_decoder.cc:80:10
    #5 0x7fec44 in draco::SequentialIntegerAttributeDecoder::DecodeValues(std::vector<draco::IndexType<int, draco::PointIndex_tag_type_>, std::allocator<draco::IndexType<int, draco::PointIndex_tag_type_> > > const&, draco::DecoderBuffer*) /root/draco/compression/attributes/sequential_integer_attribute_decoder.cc:51:8
    #6 0x7fceeb in draco::SequentialAttributeDecodersController::DecodeAttributes(draco::DecoderBuffer*) /root/draco/compression/attributes/sequential_attribute_decoders_controller.cc:58:10
    #7 0x738d57 in draco::PointCloudDecoder::DecodeAllAttributes() /root/draco/compression/point_cloud/point_cloud_decoder.cc:70:10
    #8 0x738aac in draco::PointCloudDecoder::DecodePointAttributes() /root/draco/compression/point_cloud/point_cloud_decoder.cc:60:8
    #9 0x73857f in draco::PointCloudDecoder::Decode(draco::DecoderBuffer*, draco::PointCloud*) /root/draco/compression/point_cloud/point_cloud_decoder.cc:30:8
    #10 0x6fc463 in draco::DecodeMeshFromBuffer(draco::DecoderBuffer*) /root/draco/compression/decode.cc:117:8
    #11 0x600ca4 in std::basic_ifstream<char, std::char_traits<char> >& draco::ReadMeshFromStream<std::basic_ifstream<char, std::char_traits<char> >&>(std::unique_ptr<draco::Mesh, std::default_delete<draco::Mesh> >*, std::basic_ifstream<char, std::char_traits<char> >&) /root/draco/io/mesh_io.h:66:11
    #12 0x60009d in draco::ReadMeshFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /root/draco/io/mesh_io.cc:50:8
    #13 0x52de2f in main /root/draco/tools/draco_encoder.cc:189:9
    #14 0x7fc1da5552b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #15 0x459d19 in _start (/root/draco/build/draco_encoder+0x459d19)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /root/draco/core/ans.h:457:43 in draco::RAnsDecoder<12>::rans_read()
==30255==ABORTING
@ondys ondys closed this as completed Jan 19, 2017
This issue was closed.
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