-
Notifications
You must be signed in to change notification settings - Fork 664
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
[2.0.2] [Qt4] [Linux SLE 12] Crashes on startup if configured URL is wrong #4106
Comments
Why would the URL end up being configured wrong? We'd want a backtrace including the last log lines, e.g.:
|
It was a manually created config file, which was used to create an image to be deployed on multiple machines. This way it ended up with the typo. Admittedly not owncloud's fault, but I figured I report the segfault anyway. Here's the backtrace: Program received signal SIGSEGV, Segmentation fault. I'm not sure how useful the backtrace is, as the crash seems to be in libQtNetwork. Interestingly, according to the log it even tries to reconnect with the amended URL but then segfaults. |
I could not reproduce the crash with master. The automatic test for Personally, I believe that this can be closed. It's a crash inside Qt, that only happens when you provide a config file manually, that we can't reproduce. We're very unlikely to be able to track this one down. |
I can actually reproduce it with master on Leap 42.1. The Qt version used is 4.8.6. Here's a trace:
I don't see an obvious reason why it should crash here. The gdb warning looks a bit odd though. It smells a bit like a bug in libqt. |
@jgleissner That last backtrace reminds me of #3960 |
Perhaps try valgrind so we can get a more detailed backtrace where the problem actually happen. Can it be reproduced with a Qt5 build? |
@jgleissner ? :) |
hmm, Leap should not build against Qt4, but Qt5. I'll check the package. |
Sorry about the delay. @ogoffart I can get a valgrind backtrace. I'm not too familiar with it, any instructions on how to invoke it? @dragotin I was deliberately using Qt4, as I was really trying to debug the crash on SLE 12. I doubt this particular crash will happen with Qt5, at least I can't even reproduce it on my Tumbleweed box. |
@jgleissner No worries then :) We want to get rid of the Qt4-based builds soon. |
owncloud throws a segmentation fault on startup if the configured URL is incorrect (in my case, I forgot the trailing /owncloud), at least on SLE 12 and openSUSE Leap 42.1. It works fine if the URL is correct but it shouldn't crash otherwise, obviously. Let me know if you want a backtrace and/or a coredump.
The text was updated successfully, but these errors were encountered: