online
online copied to clipboard
Assertion failure in the iOS app when opening a PDF document
The assertion failure is in appendBlob() in wsd/TileCache.hpp.
Backtrace below. Will try to get the JavaScript console output, too.
#4 0x00000001043d8d78 in TileData::appendBlob(unsigned int, char const*, unsigned long) at /Users/tml/lo/online-ios-master/wsd/TileCache.hpp:83
#5 0x00000001043eae54 in TileData::TileData(unsigned int, char const*, unsigned long) at /Users/tml/lo/online-ios-master/wsd/TileCache.hpp:64
#6 0x00000001043eac4c in TileData::TileData(unsigned int, char const*, unsigned long) at /Users/tml/lo/online-ios-master/wsd/TileCache.hpp:63
#7 0x00000001043eab90 in std::__1::__shared_ptr_emplace<TileData, std::__1::allocator<TileData> >::__shared_ptr_emplace<unsigned int, char const*&, unsigned long const&>(std::__1::allocator<TileData>, unsigned int&&, char const*&, unsigned long const&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/usr/include/c++/v1/__memory/shared_ptr.h:298
#8 0x00000001043ea7f8 in std::__1::__shared_ptr_emplace<TileData, std::__1::allocator<TileData> >::__shared_ptr_emplace<unsigned int, char const*&, unsigned long const&>(std::__1::allocator<TileData>, unsigned int&&, char const*&, unsigned long const&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/usr/include/c++/v1/__memory/shared_ptr.h:292
#9 0x00000001043ea6a4 in std::__1::shared_ptr<TileData> std::__1::allocate_shared<TileData, std::__1::allocator<TileData>, unsigned int, char const*&, unsigned long const&, void>(std::__1::allocator<TileData> const&, unsigned int&&, char const*&, unsigned long const&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1106
#10 0x00000001043d7320 in std::__1::shared_ptr<TileData> std::__1::make_shared<TileData, unsigned int, char const*&, unsigned long const&, void>(unsigned int&&, char const*&, unsigned long const&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1115
#11 0x00000001043d207c in TileCache::saveDataToCache(TileDesc const&, char const*, unsigned long) at /Users/tml/lo/online-ios-master/wsd/TileCache.cpp:513
#12 0x00000001043d11f4 in TileCache::saveTileAndNotify(TileDesc const&, char const*, unsigned long) at /Users/tml/lo/online-ios-master/wsd/TileCache.cpp:204
#13 0x0000000104326cec in DocumentBroker::handleTileResponse(std::__1::shared_ptr<Message> const&) at /Users/tml/lo/online-ios-master/wsd/DocumentBroker.cpp:3059
#14 0x0000000104324254 in DocumentBroker::handleInput(std::__1::shared_ptr<Message> const&) at /Users/tml/lo/online-ios-master/wsd/DocumentBroker.cpp:2637
#15 0x00000001042d9ba4 in PrisonerRequestDispatcher::handleMessage(std::__1::vector<char, std::__1::allocator
No, for some reason the JavaScript console is blank when I attach to the Online Editor from Safari on a Mac. Changing the assert() to code that does a sleep(200) instead of causing an assertion failure does not help.
I think that this was fixed by commit 6a77255e0348b7aa3b8b6bbff0326fdaac912b73 by removing the assert so I'll close this bug. Please reopen if you think there is still work to do.