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

Segfault during update TT-RSS #27

Closed
mahdi1234 opened this issue Jun 25, 2016 · 8 comments
Closed

Segfault during update TT-RSS #27

mahdi1234 opened this issue Jun 25, 2016 · 8 comments
Assignees
Labels
Milestone

Comments

@mahdi1234
Copy link

mahdi1234 commented Jun 25, 2016

How to reproduce the bug?

Did update and app crashed, re-launched app again and did update and it went fine ///

This is last par of log

rssguard] DEBUG: Updating feed 97 in thread: '0x9894ab40'.
[rssguard] DEBUG: Settings of BaseNetworkAccessManager loaded.
[rssguard] WARNING: Failed to set custom ID for all messages.
[rssguard] WARNING: Failed to set custom ID for all messages.
[rssguard] DEBUG: Transaction commit for message downloader failed.

and trace

rssguard > log_rssguard.txt 2>&1
*** Error in `rssguard': double free or corruption (out): 0x0a1e2300 ***
======= Backtrace: =========
/lib/libc.so.6(+0x686ab)[0xb00d86ab]
/lib/libc.so.6(+0x6e84f)[0xb00de84f]
/lib/libc.so.6(+0x6efc7)[0xb00defc7]
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libstdc++.so.6(_ZdlPv+0x18)[0xb02e1548]
/usr/lib/qt5/plugins/sqldrivers/libqsqlite.so(+0x7792)[0xa7b0c792]
/usr/lib/libQt5Sql.so.5(+0xe200)[0xb09e3200]
/usr/lib/libQt5Sql.so.5(_ZN9QSqlQueryD1Ev+0x2b)[0xb09e362b]
rssguard[0x80f401c]
rssguard[0x8121588]
rssguard[0x81218e6]
rssguard[0x8121adb]
Segmentation fault

Version: 3.3.1 (built on Linux/i686)
Revision: 45d20ba
Build date: 6/25/16 8:18 PM
Qt: 5.7.0 (compiled against 5.7.0)

config.txt
but without in-memory DB I was trying to see whether issue #26 is related to in memory or not

@martinrotter
Copy link
Owner

I will rewrite one part of update process to be more conservative, QtSql apparently has problems with cross threading.

@martinrotter
Copy link
Owner

Can you compile in debug mode and provide backtrace including "rssguard" symbols loaded? rssguard[0x80f401c] does not seem to help much. :)

@mahdi1234
Copy link
Author

Does attached help?

log_rssguard_debug.txt

@martinrotter
Copy link
Owner

It could, yes. Thanks.

@martinrotter
Copy link
Owner

Can you test latest available code c0824c3 to check if the bug is solved?

@mahdi1234
Copy link
Author

No more segfaults with below, seems fine :)

Version: 3.3.2 (built on Linux/i686)
Revision: 4ef3e00
Build date: 6/29/16 10:31 PM
Qt: 5.7.0 (compiled against 5.7.0)

@martinrotter
Copy link
Owner

Btw, were those segfaults predictable or did you have to try like two hours or so?

@martinrotter martinrotter added the Status-Fixed Ticket is resolved. label Jun 30, 2016
@mahdi1234
Copy link
Author

I had it always within first or second sync so those were very easy to reproduce.

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

No branches or pull requests

2 participants