{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":{"state":"open","open_issues":16,"url":"https://api.github.com/repos/geometer/FBReader/milestones/1","due_on":"2011-12-01T08:00:00Z","title":"FBReader for Symbian 1.0","description":"First FBReader for Symbian release in Nokia OVI store","number":1,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/ab383289e1b64f9036ea8c4ad8cd2ef2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ab383289e1b64f9036ea8c4ad8cd2ef2","url":"https://api.github.com/users/geometer","login":"geometer","id":344328},"closed_issues":1,"created_at":"2011-10-10T11:22:20Z"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/d2b157c0f0e6bbe03d261ae8915cd5c2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d2b157c0f0e6bbe03d261ae8915cd5c2","url":"https://api.github.com/users/snowwlex","login":"snowwlex","id":687127},"assignee":null,"updated_at":"2011-11-15T14:44:35Z","labels":[{"name":"qt-mobile","color":"02e10c","url":"https://api.github.com/repos/geometer/FBReader/labels/qt-mobile"}],"closed_at":null,"comments":1,"url":"https://api.github.com/repos/geometer/FBReader/issues/87","body":"How to reproduce situation:\r\n\r\n1. Add a new network library with url \"http://service.ebooksearch.webfactional.com/ru/libru/catalog.atom\"\r\n2. Enter it, program messages \"Host catalog.atom not found\"\r\n3. Exit from FBReader application\r\n4. Run it again, enter network libraries, and app falls with backtrace:\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x08079e4a in ATOMDateConstruct::setLongSeconds_stupid (this=0x0, t=0) at ATOMConstructs.cpp:329\r\n329\t\tmyYear = t / (12*31*24*60*60) + 2000;\r\n(gdb) backtrace \r\n#0  0x08079e4a in ATOMDateConstruct::setLongSeconds_stupid (this=0x0, t=0) at ATOMConstructs.cpp:329\r\n#1  0x08140351 in BooksDB::loadNetworkLinks (this=0x84cea08, links=...) at BooksDB.cpp:553\r\n#2  0x0807f4ad in NetworkLinkCollection::NetworkLinkCollection (this=0x85ffdd0) at NetworkLinkCollection.cpp:224\r\n#3  0x0807deb8 in NetworkLinkCollection::Instance () at NetworkLinkCollection.cpp:56\r\n#4  0x081277c7 in NetworkView::makeUpToDate (this=0xbfffc49c) at NetworkView.cpp:133\r\n#5  0x08127787 in NetworkView::showDialog (this=0xbfffc49c) at NetworkView.cpp:82\r\n#6  0x081648ae in ShowNetworkLibraryAction::run (this=0x83fd658) at SearchOnNetworkAction.cpp:46\r\n#7  0x081b5288 in ZLApplication::Action::checkAndRun (this=0x83fd658) at ZLApplication.cpp:159\r\n#8  0x081b544d in ZLApplication::doAction (this=0x83e0f50, actionId=...) at ZLApplication.cpp:181\r\n#9  0x081b97b3 in ZLApplicationWindow::onMenuItemPress (this=0x83fede4, menuItem=...) at ZLApplicationWindow.cpp:163\r\n#10 0x081ead7d in ZLQtMenuAction::run (this=0x84c8608) at ZLQtApplicationWindow.cpp:48\r\n#11 0x081b5288 in ZLApplication::Action::checkAndRun (this=0x84c8608) at ZLApplication.cpp:159\r\n#12 0x081ed61c in DrillDownMenuItem::run (this=0x8496420) at DrillDownMenu.cpp:141\r\n#13 0x081ed45d in DrillDownMenu::run (this=0x84c7ac0, item=0x8496420) at DrillDownMenu.cpp:117\r\n#14 0x0820137c in DrillDownMenu::qt_metacall (this=0x84c7ac0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffc6b8) at DrillDownMenu.moc.cpp:72\r\n#15 0x011bc6ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4\r\n#16 0x011cc4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4\r\n#17 0x0085f963 in QListWidget::itemClicked(QListWidgetItem*) () from /usr/lib/libQtGui.so.4\r\n#18 0x008601e8 in ?? () from /usr/lib/libQtGui.so.4\r\n#19 0x0086323c in QListWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4\r\n#20 0x08201348 in DrillDownMenu::qt_metacall (this=0x84c7ac0, _c=QMetaObject::InvokeMetaMethod, _id=84, _a=0xbfffc818) at DrillDownMenu.moc.cpp:67\r\n#21 0x011bc6ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4\r\n#22 0x011cc4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4\r\n#23 0x007f7d93 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4\r\n#24 0x007f81d4 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4\r\n```\r\n\r\nComments:\r\n1) Deleting home directory allow to use network libraries again.\r\n2) Program has been compiled with following target.mk:\r\n\r\n```\r\nTARGET_ARCH = desktop\r\nUI_TYPE = qtwidgets\r\nTARGET_STATUS = debug\r\n```","html_url":"https://github.com/geometer/FBReader/issues/87","title":"OPDS: fix crash after adding bad OPDS library","number":87,"id":2244720,"created_at":"2011-11-15T14:38:08Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/d2b157c0f0e6bbe03d261ae8915cd5c2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d2b157c0f0e6bbe03d261ae8915cd5c2","url":"https://api.github.com/users/snowwlex","login":"snowwlex","id":687127},"updated_at":"2011-11-15T14:44:35Z","url":"https://api.github.com/repos/geometer/FBReader/issues/comments/2745700","body":"Also, this problem happens with \"http://service.ebooksearch.webfactional.com/ru/catalog.atom\" url (without 'libru'), and with\r\n\"http://service.ebooksearch.webfactional.com/catalog.atom\" (without 'ru')","id":2745700,"created_at":"2011-11-15T14:44:35Z"}}