{"action":"opened","issue":{"url":"https://api.github.com/repos/glassechidna/zxing-cpp/issues/1","labels_url":"https://api.github.com/repos/glassechidna/zxing-cpp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/glassechidna/zxing-cpp/issues/1/comments","events_url":"https://api.github.com/repos/glassechidna/zxing-cpp/issues/1/events","html_url":"https://github.com/glassechidna/zxing-cpp/issues/1","id":53384966,"number":1,"title":"zxing dead loop while detecting qrcode","user":{"login":"shlwang","id":4746703,"avatar_url":"https://avatars.githubusercontent.com/u/4746703?v=3","gravatar_id":"","url":"https://api.github.com/users/shlwang","html_url":"https://github.com/shlwang","followers_url":"https://api.github.com/users/shlwang/followers","following_url":"https://api.github.com/users/shlwang/following{/other_user}","gists_url":"https://api.github.com/users/shlwang/gists{/gist_id}","starred_url":"https://api.github.com/users/shlwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlwang/subscriptions","organizations_url":"https://api.github.com/users/shlwang/orgs","repos_url":"https://api.github.com/users/shlwang/repos","events_url":"https://api.github.com/users/shlwang/events{/privacy}","received_events_url":"https://api.github.com/users/shlwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T10:59:30Z","updated_at":"2015-01-05T10:59:30Z","closed_at":null,"body":"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.\r\nThread 1 (process 47568):\r\n#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&) ()\r\n#1 0x000000000053c27b in std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > >::begin() ()\r\n#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&) ()\r\n#3 0x000000000053f7fa in std::vectorzxing::Ref<zxing::qrcode::FinderPattern, std::allocatorzxing::Ref<zxing::qrcode::FinderPattern > >::push_back(zxing::Refzxing::qrcode::FinderPattern const&) ()\r\n#4 0x000000000053b08e in zxing::multi::MultiFinderPatternFinder::selectBestPatterns() ()\r\n#5 0x000000000053bcd2 in zxing::multi::MultiFinderPatternFinder::findMulti(zxing::DecodeHints const&) ()\r\n#6 0x00000000005396b3 in zxing::multi::MultiDetector::detectMulti(zxing::DecodeHints) ()\r\n#7 0x0000000000536da0 in zxing::multi::QRCodeMultiReader::decodeMultiple(zxing::Refzxing::BinaryBitmap, zxing::DecodeHints) ()\r\n#8 0x0000000000501770 in BarcodeDecoder::decode(std::basic_string, std::allocator > const&, unsigned char, unsigned long, std::basic_string, std::allocator >&) ()\r\n#9 0x000000000047dc1a in WWS::FtsHandler::onSendAck(unsigned long) ()\r\n#10 0x000000000047fd80 in WWS::FtsHandler::onPackData(char const, unsigned long) ()\r\n#11 0x0000000000480090 in WWS::FtsHandler::onPackHead(char const, unsigned long) ()\r\n#12 0x00000000004800eb in WWS::FtsHandler::onData(char const, unsigned long) ()\r\n#13 0x0000000000480334 in WWS::FtsHandler::onRecv(char const, unsigned long) ()\r\n#14 0x00000000004bce92 in WWS::Asynchat::onCanRead() ()\r\n#15 0x00000000004c6c79 in WWS::Poller::poll(int) ()\r\n#16 0x00000000004c9e93 in WWS::PollerThread::thread() ()\r\n#17 0x00000000004b20b4 in WWS::threadFunction(void*) ()\r\n#18 0x00007f0a758a873d in start_thread () from /lib64/libpthread.so.0\r\n#19 0x0000003faa2d44bd in clone () from /lib64/libc.so.6"}}