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::rabs_desc_read(draco::AnsDecoder*, unsigned char) #33

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

crash in draco::rabs_desc_read(draco::AnsDecoder*, unsigned char) #33

geeknik opened this issue Jan 18, 2017 · 0 comments

Comments

@geeknik
Copy link

geeknik commented Jan 18, 2017

./draco_encoder -i test015

==23696==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005950cf bp 0x7ffedc199b70 sp 0x7ffedc199a30 T0)
    #0 0x5950ce in draco::rabs_desc_read(draco::AnsDecoder*, unsigned char) /root/draco/core/ans.h:177:41
    #1 0x5950ce in draco::RAnsBitDecoder::DecodeNextBit() /root/draco/core/rans_coding.cc:140
    #2 0x710b59 in draco::MeshEdgeBreakerTraversalDecoder::DecodeAttributeSeam(int) /root/draco/compression/mesh/mesh_edgebreaker_traversal_decoder.h:109:12
    #3 0x710b59 in draco::MeshEdgeBreakerDecoderImpl<draco::MeshEdgeBreakerTraversalDecoder>::DecodeAttributeConnectivitiesOnFace(draco::IndexType<int, draco::CornerIndex_tag_type_>) /root/draco/compression/mesh/mesh_edgebreaker_decoder_impl.cc:657
    #4 0x704bc6 in draco::MeshEdgeBreakerDecoderImpl<draco::MeshEdgeBreakerTraversalDecoder>::DecodeConnectivity() /root/draco/compression/mesh/mesh_edgebreaker_decoder_impl.cc:271:12
    #5 0x738539 in draco::PointCloudDecoder::Decode(draco::DecoderBuffer*, draco::PointCloud*) /root/draco/compression/point_cloud/point_cloud_decoder.cc:28:8
    #6 0x6fc463 in draco::DecodeMeshFromBuffer(draco::DecoderBuffer*) /root/draco/compression/decode.cc:117:8
    #7 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
    #8 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
    #9 0x52de2f in main /root/draco/tools/draco_encoder.cc:189:9
    #10 0x7ff9191eb2b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #11 0x459d19 in _start (/root/draco/build/draco_encoder+0x459d19)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /root/draco/core/ans.h:177:41 in draco::rabs_desc_read(draco::AnsDecoder*, unsigned char)
==23696==ABORTING
@geeknik geeknik changed the title crash in draco::rabs_desc_read crash in draco::rabs_desc_read(draco::AnsDecoder*, unsigned char) Jan 18, 2017
@ondys ondys closed this as completed Jan 19, 2017
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