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

Client crashes in OCC::SyncScheduler::enqueueFolder at syncscheduler.cpp:137 #11495

Closed
2 tasks done
saw-jan opened this issue Jan 24, 2024 · 2 comments · Fixed by #11500
Closed
2 tasks done

Client crashes in OCC::SyncScheduler::enqueueFolder at syncscheduler.cpp:137 #11495

saw-jan opened this issue Jan 24, 2024 · 2 comments · Fixed by #11500
Assignees
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Jan 24, 2024

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

Build: https://drone.owncloud.com/owncloud/client/17581/5/15

Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/drone/src/build/bin/owncloud -s --logfile - --logdebug --logflush'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f54eba0a844 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f54e832bf00 (LWP 2574))]
#0  0x00007f54eba0a844 in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007f54eb9b9abe in raise () at /lib64/libc.so.6
#2  0x00007f54eb9a290f in abort () at /lib64/libc.so.6
#3  0x00007f54ebf860eb in qgetenv(char const*) [clone .cold] () at /lib64/libQt6Core.so.6
#4  0x00007f54ebf86b7f in  () at /lib64/libQt6Core.so.6
#5  0x00007f54ebf86083 in qt_assert_x(char const*, char const*, char const*, int) () at /lib64/libQt6Core.so.6
#6  0x00000000005f9603 in OCC::SyncScheduler::enqueueFolder(OCC::Folder*, OCC::SyncScheduler::Priority) (this=0xb3d240, folder=0xababc0, priority=OCC::SyncScheduler::Priority::Low) at /drone/src/src/gui/scheduling/syncscheduler.cpp:137
#7  0x00000000004e4222 in OCC::Folder::slotSyncFinished(bool)::$_1::operator()() const (this=0x16d3db0) at /drone/src/src/gui/folder.cpp:1111
#8  0x00000000004e41b6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, OCC::Folder::slotSyncFinished(bool)::$_1>::call(OCC::Folder::slotSyncFinished(bool)::$_1&, void**) (f=..., arg=0x7fff18e81ca0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
#9  0x00000000004e4181 in QtPrivate::Functor<OCC::Folder::slotSyncFinished(bool)::$_1, 0>::call<QtPrivate::List<>, void>(OCC::Folder::slotSyncFinished(bool)::$_1&, void*, void**) (f=..., arg=0x7fff18e81ca0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:241
#10 0x00000000004e4121 in QtPrivate::QFunctorSlotObject<OCC::Folder::slotSyncFinished(bool)::$_1, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x16d3da0, r=0xababc0, a=0x7fff18e81ca0, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:408
#11 0x00007f54ec09b80a in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt6Core.so.6
#12 0x00007f54ec07c6df in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6

Logs

stacktrace.log

Client version number

ownCloud 6.0.0.git

@erikjv
Copy link
Collaborator

erikjv commented Jan 26, 2024

@TheOneRing this is fired of by: QTimer::singleShot(SyncEngine::minimumFileAgeForUpload, ..., so the ready state of the folder can change between starting the timer and the enqueueing. Should we wrap the enqueue into an if-ready then enqueue else restart a timer?

@saw-jan
Copy link
Member Author

saw-jan commented Feb 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants