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

zxing dead loop while detecting qrcode #277

Closed
shlwang opened this issue Dec 31, 2014 · 1 comment
Closed

zxing dead loop while detecting qrcode #277

shlwang opened this issue Dec 31, 2014 · 1 comment

Comments

@shlwang
Copy link

shlwang commented Dec 31, 2014

There is a server for image transferring. when an image comes to system, it is detected by zxing for qrcode. The server works well most of the time. Sometime, there happens a dead loop. The call stack is as follows.
Thread 1 (process 47568):
#0 0x000000000053c222 in __gnu_cxx::_normal_iteratorzxing::Ref<zxing::qrcode::FinderPattern, std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > > >::_normal_iterator(zxing::Refzxing::qrcode::FinderPattern const&) ()
#1 0x000000000053c27b in std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > >::begin() ()
#2 0x000000000053f5d0 in std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > >::_M_insert_aux(__gnu_cxx::__normal_iteratorzxing::Ref<zxing::qrcode::FinderPattern*, std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > > >, zxing::Refzxing::qrcode::FinderPattern const&) ()
#3 0x000000000053f7fa in std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > >::push_back(zxing::Refzxing::qrcode::FinderPattern const&) ()
#4 0x000000000053b08e in zxing::multi::MultiFinderPatternFinder::selectBestPatterns() ()
#5 0x000000000053bcd2 in zxing::multi::MultiFinderPatternFinder::findMulti(zxing::DecodeHints const&) ()
#6 0x00000000005396b3 in zxing::multi::MultiDetector::detectMulti(zxing::DecodeHints) ()
#7 0x0000000000536da0 in zxing::multi::QRCodeMultiReader::decodeMultiple(zxing::Refzxing::BinaryBitmap, zxing::DecodeHints) ()
#8 0x0000000000501770 in BarcodeDecoder::decode(std::basic_string<char, std::char_traits, std::allocator > const&, unsigned char*, unsigned long, std::basic_string<char, std::char_traits, std::allocator >&) ()
#9 0x000000000047dc1a in WWS::FtsHandler::onSendAck(unsigned long) ()
#10 0x000000000047fd80 in WWS::FtsHandler::onPackData(char const*, unsigned long) ()
#11 0x0000000000480090 in WWS::FtsHandler::onPackHead(char const*, unsigned long) ()
#12 0x00000000004800eb in WWS::FtsHandler::onData(char const*, unsigned long) ()
#13 0x0000000000480334 in WWS::FtsHandler::onRecv(char const*, unsigned long) ()
#14 0x00000000004bce92 in WWS::Asynchat::onCanRead() ()
#15 0x00000000004c6c79 in WWS::Poller::poll(int) ()
#16 0x00000000004c9e93 in WWS::PollerThread::thread() ()
#17 0x00000000004b20b4 in WWS::threadFunction(void*) ()
#18 0x00007f0a758a873d in start_thread () from /lib64/libpthread.so.0
#19 0x0000003faa2d44bd in clone () from /lib64/libc.so.6

@srowen
Copy link
Contributor

srowen commented Dec 31, 2014

This code was removed from this project a while ago.

@srowen srowen closed this as completed Dec 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants