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

Random crashing #5

Open
Acce0ss opened this issue Apr 28, 2014 · 3 comments
Open

Random crashing #5

Acce0ss opened this issue Apr 28, 2014 · 3 comments
Assignees

Comments

@Acce0ss
Copy link
Owner

Acce0ss commented Apr 28, 2014

The app occasionally crashes from SIGSEGV. I haven't yet isolated how to reproduce every time. It seems to be triggered when returning to the app from the home screen.

Currently the backtrace from gdb has given following output:
from /lib/libc.so.6
in ?? ()
...
__libc_start_main () from /lib/libc.so.6
Cannot access memory address 0x0
This would suggest that null pointer is being used somewhere (in libc??).

before I also got some SIGSEGV from something called QV8QObjectWrapper and QProcess::waitForFinished.

If anyone can help me to get to the root of this, I would be really thankful.

@Acce0ss
Copy link
Owner Author

Acce0ss commented Apr 29, 2014

New backtrace, when running "gdb harbour-shellex" ie. starting without the invoker:

#0 in QV8QObjectWrapper::newQObject(QObject_) () from /usr/lib/libQt5Qml.so.5
#1 in QV8Engine::fromVariant(QVariant const&) () from /usr/lib/libQt5Qml.so.5
#2 in QV8QObjectWrapper::GetProperty(QV8Engine_, QObject_, v8::Handlev8::value_, QHashedV8String const&, QQmlContextData*, QV8QObjectWrapper::RevisionMode) () from /usr/lib/libQt5Qml.so.5
#3 in QV8QObjectWrapper::Getter(v8::Localv8::String, v8::AccessorInfo const&) () from /usr/lib/libQt5Qml.so.5
#4 in ?? () from /usr/lib/libQt5V8.so.5
#5 in ?? () from /usr/lib/libQt5V8.so.5
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Now let's see if this tells anything about the problem..

@Acce0ss Acce0ss self-assigned this May 1, 2014
@Acce0ss
Copy link
Owner Author

Acce0ss commented May 1, 2014

found something about this and using beginResetModel() and endResetModel() properly seems to fix it, needs more testing though.

@Acce0ss
Copy link
Owner Author

Acce0ss commented May 5, 2014

Still not fixed.. Suspecting erroneous usage of QAbstractListModel

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

No branches or pull requests

1 participant