Code Monkey home page Code Monkey logo

Comments (9)

pbek avatar pbek commented on September 28, 2024

Is that gvfs folder mounted into the regular filesystem? QOwnNotes can only read and write to regular files. Although I never tested gvfs folder so far...

from qownnotes.

janhenke avatar janhenke commented on September 28, 2024

It is mounted on access as far as I experienced so far. It crashes the first time you lunch QOwnNotes and you select the gvfs folder.
After the first run it does not crash any more. But if the gvfs is not mounted before starting QOwnNotes, no notes are visible. If the gvfs is mounted already, it seems to work.

from qownnotes.

pbek avatar pbek commented on September 28, 2024

Maybe the "mount on access" is the problem, who knows what happens meanwhile...
The notes are loaded into a in-memory sqlite database, when the program starts or the folder is changed.
Would take a while to reproduce this error...

from qownnotes.

janhenke avatar janhenke commented on September 28, 2024

Well it should work with it. I am not fully up to date with the file system APIs, maybe you can register for an event when the folder is available for read? To me it looks like currently you are trying to read from the folder before it is fully mounted.

from qownnotes.

pbek avatar pbek commented on September 28, 2024

You would have to tell me where the app segfaults by running the built source code in Qt Creator yourself...

from qownnotes.

janhenke avatar janhenke commented on September 28, 2024

No, building myself from source should not be required. By the way I noticed the Debian package declares dependencies on some -dbg packages, please either drop that or supply debugging symbols yourself.

Anyway the stack trace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6fb9afb in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) bt full
#0  0x00007ffff6fb9afb in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#1  0x0000000000410653 in MainWindow::loadRecentNoteFolderListMenu() ()
No symbol table info available.
#2  0x0000000000410adb in MainWindow::storeRecentNoteFolder(QString const&) ()
No symbol table info available.
#3  0x00000000004112f4 in MainWindow::selectOwnCloudFolder() ()
No symbol table info available.
#4  0x0000000000411d01 in MainWindow::readSettings() ()
No symbol table info available.
#5  0x000000000041274a in MainWindow::MainWindow(QWidget*) ()
No symbol table info available.
#6  0x000000000040ca3b in main ()
No symbol table info available.

from qownnotes.

pbek avatar pbek commented on September 28, 2024

I had the debug packages in, because some people had problems without them... really a strange thing...
thank you for the dump

from qownnotes.

janhenke avatar janhenke commented on September 28, 2024

What kind of problems? It really should work without it. The packages just contain the symbols of the libraries. Any application should not require them.

from qownnotes.

pbek avatar pbek commented on September 28, 2024

They were always shown as dependencies in the release build when checking with ldd, and some had problems without them. I already tried to find out what is the cause of this...

from qownnotes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.