Almost Beta 2 Cloud Storage fails

Rick Walsh rickmwalsh at gmail.com
Fri Sep 18 16:09:48 PDT 2015


Hi,

On 19 September 2015 at 06:52, Dirk Hohndel <dirk at hohndel.org> wrote:

> Just a quick update. I'm waiting for patches from Tomaz. I just kicked of
> daily builds so people who want to test have something to test.
> The weekend will be rather busy with family activities, so if I don't get
> Beta 2 today I'm not sure when it will go out, but as far as I'm concerned
> we have now entered the final stage.
>
> We need to test, translate, document, and fix bugs and issues that pop up.
>
> It would be really nice if more of the 200+ people on this list would
> participate in this effort. Beta 1 binaries have been tested on a total of
> 90 systema / VMss. And that includes all the folks who aren't on this list
> who saw the various announcements. Cloud storage has been tested by fewer
> than 50 people.
>

Cloud storage used to work for me when you first introduced it, but haven't
been able to save to the cloud for quite a while now, including the latest
master.  When I save to cloud, Subsurface does nothing for a little while,
then a progress window pops up with 'contacting cloud service'.  The
progress bar never fills.

I'm running Fedora 22, but it also failed for me last time I tested on
Windows 8 and 10.

I'm not sure how to debug this.  Here is a backtrace of cloud storage
failing.
(gdb) bt 50
#0  0x00007fffefaee063 in select () from /lib64/libc.so.6
#1  0x00007ffff67a938c in wait_for.constprop () from
/home/rick/src/install-root/lib/libgit2.so.23
#2  0x00007ffff67a93f4 in curls_write () from
/home/rick/src/install-root/lib/libgit2.so.23
#3  0x00007ffff67c6a73 in bio_write () from
/home/rick/src/install-root/lib/libgit2.so.23
#4  0x00007ffff61b09dc in BIO_write () from /lib64/libcrypto.so.10
#5  0x00007ffff64ec152 in ssl3_write_pending () from /lib64/libssl.so.10
#6  0x00007ffff64ec814 in ssl3_write_bytes () from /lib64/libssl.so.10
#7  0x00007ffff67c6c5d in openssl_write () from
/home/rick/src/install-root/lib/libgit2.so.23
#8  0x00007ffff67e11ce in write_chunk () from
/home/rick/src/install-root/lib/libgit2.so.23
#9  0x00007ffff67e248f in http_stream_write_chunked () from
/home/rick/src/install-root/lib/libgit2.so.23
#10 0x00007ffff67e5c5d in stream_thunk () from
/home/rick/src/install-root/lib/libgit2.so.23
#11 0x00007ffff6767995 in write_object () from
/home/rick/src/install-root/lib/libgit2.so.23
#12 0x00007ffff676b927 in git_packbuilder_foreach () from
/home/rick/src/install-root/lib/libgit2.so.23
#13 0x00007ffff67e73ce in git_smart.push () from
/home/rick/src/install-root/lib/libgit2.so.23
#14 0x00007ffff677e72a in git_push_finish () from
/home/rick/src/install-root/lib/libgit2.so.23
#15 0x00007ffff67d15d0 in git_remote_upload () from
/home/rick/src/install-root/lib/libgit2.so.23
#16 0x00007ffff67d1656 in git_remote_push () from
/home/rick/src/install-root/lib/libgit2.so.23
#17 0x00000000006aa610 in update_remote (repo=0x25e28d0, origin=0x23a02c0,
local=0x23573e0, remote=0x25ccd80, rt=RT_HTTPS)
    at /home/rick/src/subsurface/git-access.c:233
#18 0x00000000006aaf77 in try_to_update (repo=0x25e28d0, origin=0x23a02c0,
local=0x23573e0, remote=0x25ccd80, rt=RT_HTTPS)
    at /home/rick/src/subsurface/git-access.c:400
#19 0x00000000006ab1b0 in check_remote_status (repo=0x25e28d0,
origin=0x23a02c0, branch=0x25bfd20 "rickmwalsh at gmail.com", rt=RT_HTTPS)
    at /home/rick/src/subsurface/git-access.c:454
#20 0x00000000006ab423 in sync_with_remote (repo=0x25e28d0,
remote=0x250cd40 "
https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com",
    branch=0x25bfd20 "rickmwalsh at gmail.com", rt=RT_HTTPS) at
/home/rick/src/subsurface/git-access.c:512
#21 0x00000000006cf0c7 in do_git_save (repo=0x25e28d0, branch=0x25bfd20 "
rickmwalsh at gmail.com",
    remote=0x250cd40 "
https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com",
select_only=false, create_empty=false)
    at /home/rick/src/subsurface/save-git.c:1202
#22 0x00000000006cf128 in git_save_dives (repo=0x25e28d0, branch=0x25bfd20 "
rickmwalsh at gmail.com",
    remote=0x250cd40 "
https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com",
select_only=false) at /home/rick/src/subsurface/save-git.c:1214
#23 0x00000000006d15fc in save_dives_logic (filename=0x25e2858 "
https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]",

    select_only=false) at /home/rick/src/subsurface/save-xml.c:656
#24 0x00000000006d0e15 in save_dives (filename=0x25e2858 "
https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]
")
    at /home/rick/src/subsurface/save-xml.c:494
#25 0x000000000050cf19 in MainWindow::on_actionCloudstoragesave_triggered
(this=0xc9d400) at /home/rick/src/subsurface/qt-ui/mainwindow.cpp:439
#26 0x00000000005c85a3 in MainWindow::qt_static_metacall (_o=0xc9d400,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffceb0)
    at /home/rick/src/subsurface/build/moc_mainwindow.cpp:369
#27 0x00000000005c8cf2 in MainWindow::qt_metacall (this=0xc9d400,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffceb0)
    at /home/rick/src/subsurface/build/moc_mainwindow.cpp:477
#28 0x00007ffff0600310 in QMetaObject::activate(QObject*, int, int, void**)
() from /lib64/libQt5Core.so.5
#29 0x00007ffff155c842 in QAction::triggered(bool) () from
/lib64/libQt5Widgets.so.5
#30 0x00007ffff155ece8 in QAction::activate(QAction::ActionEvent) () from
/lib64/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffff16e1412 in
QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&,
QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#32 0x00007ffff16e76dc in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#33 0x00007ffff16eb5e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#34 0x00007ffff15a95d8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#35 0x00007ffff16ec023 in QMenu::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#36 0x00007ffff15664ac in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /lib64/libQt5Widgets.so.5
#37 0x00007ffff156c079 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#38 0x00007ffff05d161b in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /lib64/libQt5Core.so.5
#39 0x00007ffff156af82 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /lib64/libQt5Widgets.so.5
#40 0x00007ffff15c40e8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#41 0x00007ffff15c633b in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#42 0x00007ffff15664ac in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /lib64/libQt5Widgets.so.5
#43 0x00007ffff156b976 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#44 0x00007ffff05d161b in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /lib64/libQt5Core.so.5
#45 0x00007ffff0db9af1 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#46 0x00007ffff0dbb7c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#47 0x00007ffff0d9f5d8 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#48 0x00007fffda665b10 in userEventSourceDispatch(_GSource*, int
(*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#49 0x00007fffea6b4a8a in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
(More stack frames follow...)


Probably related, TestGitStorage_run fails:
[rick at notyourcomputer build]$ ctest -V -R TestGitStorage_run
UpdateCTestConfiguration  from
:/home/rick/src/subsurface/build/DartConfiguration.tcl
UpdateCTestConfiguration  from
:/home/rick/src/subsurface/build/DartConfiguration.tcl
Test project /home/rick/src/subsurface/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 10
    Start 10: TestGitStorage_run

10: Test command: /home/rick/src/subsurface/build/TestGitStorage
10: Test timeout computed to be: 9.99988e+06
10: ********* Start testing of TestGitStorage *********
10: Config: Using QtTest library 5.5.0, Qt 5.5.0 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 5.1.1 20150618 (Red Hat 5.1.1-4))
10: PASS   : TestGitStorage::initTestCase()
10: PASS   : TestGitStorage::testSetup()
10: PASS   : TestGitStorage::testGitStorageLocal()
10: PASS   : TestGitStorage::testGitStorageCloud()
10: PASS   : TestGitStorage::testGitStorageCloudOfflineSync()
10: PASS   : TestGitStorage::testGitStorageCloudMerge()
10: PASS   : TestGitStorage::testGitStorageCloudMerge2()
10: QFATAL : TestGitStorage::testGitStorageCloudMerge3() Received signal 11
10: FAIL!  : TestGitStorage::testGitStorageCloudMerge3() Received a fatal
error.
10:    Loc: [Unknown file(0)]
10: Totals: 7 passed, 1 failed, 0 skipped, 0 blacklisted
10: ********* Finished testing of TestGitStorage *********
1/1 Test #10: TestGitStorage_run ...............***Exception: Other165.05
sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 165.05 sec

The following tests FAILED:
         10 - TestGitStorage_run (OTHER_FAULT)
Errors while running CTest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150919/3ece490d/attachment-0001.html>


More information about the subsurface mailing list