Bug 385396 - Latest Valgrind Results (tons of errors) and displayOnStart=false crashes
Summary: Latest Valgrind Results (tons of errors) and displayOnStart=false crashes
Status: RESOLVED FIXED
Alias: None
Product: ring-kde
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Emmanuel Lepage Vallée
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2017-10-05 11:20 UTC by vindicator
Modified: 2018-09-19 14:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
ring-kde crash when displayOnStart=false (687.26 KB, text/x-log)
2017-10-05 11:20 UTC, vindicator
Details
insane # of valgrind errors (802.06 KB, text/x-log)
2017-10-05 11:21 UTC, vindicator
Details
Supression file (2.55 KB, text/plain)
2017-10-05 13:45 UTC, Emmanuel Lepage Vallée
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vindicator 2017-10-05 11:20:53 UTC
Created attachment 108184 [details]
ring-kde crash when displayOnStart=false

I fetched/pulled the latest for daemon, lrc-elv13 and kde and I'll attach the valgrind results which contain a boatload of errors (300-700k errors).

One problem I came across was ring-kde will completely crash on start when displayOnStart=false.
Comment 1 vindicator 2017-10-05 11:21:58 UTC
Created attachment 108185 [details]
insane # of valgrind errors
Comment 2 Emmanuel Lepage Vallée 2017-10-05 13:45:14 UTC
Created attachment 108188 [details]
Supression file
Comment 3 Emmanuel Lepage Vallée 2017-10-05 13:47:20 UTC
Hello,

You need a supression file to get rid of the false positives with QML apps. Otherwise it prints a warning for every element drawn on the screen.

Does it still have as many errors afterward? Note that you may need to expand the supression file for your system. Anything that starts with Font, harbfuzz, MESA or DRI or EGL isn't a Ring-KDE problem.
Comment 4 vindicator 2017-10-05 14:30:15 UTC
journalctl output for crash due to displayonstart=false
*****
Oct 05 09:22:12 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12513, resource id: 33985304, major code: 18 (ChangeProperty), minor code: 0
Oct 05 09:22:12 computer ring-kde[22596]: Updating all accounts
Oct 05 09:22:12 computer dring[22062]: [Account {sanitized}] DHT node not running. Cannot track buddy <ring:{sanitized}@192.168.1.1>
Oct 05 09:22:13 computer dring[22062]: [Account {sanitized}] DHT node not running. Cannot track buddy <ring:{sanitized}@bootstrap.ring.cx>
Oct 05 09:22:13 computer ring-kde[22596]: CM already has text recording ContactMethod(0x562a3b6ce210, name = "{sanitized}")
Oct 05 09:22:13 computer ring-kde[22596]: CM already has text recording ContactMethod(0x562a3b6bfae0, name = "{sanitized}")
Oct 05 09:22:13 computer ring-kde[22596]: Loading vcf from: QDir( "/home/username/.local/share/ring-kde/profiles" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
Oct 05 09:22:13 computer ring-kde[22596]: QMetaType::registerTypedef: -- Type name 'Account*' previously registered as typedef of 'Account*' [1091], now registering as typedef of 'const Account*' [1093].
Oct 05 09:22:13 computer ring-kde[22596]: QDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?)
Oct 05 09:22:13 computer ring-kde[22596]: QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)
Oct 05 09:22:13 computer ring-kde[22596]: QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?)
Oct 05 09:22:13 computer ring-kde[22596]: QQmlExpression: Expression qrc:/CreateRing.qml:109:19 depends on non-NOTIFYable properties:
Oct 05 09:22:13 computer ring-kde[22596]:     WelcomeDialog::defaultUserName
Oct 05 09:22:13 computer ring-kde[22596]: qrc:/ImportRing.qml:119: ReferenceError: item1 is not defined
Oct 05 09:22:13 computer ring-kde[22596]: lookup name NOT FOUND: "username" ""
Oct 05 09:22:13 computer ring-kde[22596]: registered name found for unknown account ""
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15743, resource id: 83886093, major code: 19 (DeleteProperty), minor code: 0
Oct 05 09:22:16 computer ring-kde[22596]: qrc:/ImportRing.qml:119: ReferenceError: item1 is not defined
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15754, resource id: 83886093, major code: 19 (DeleteProperty), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15755, resource id: 83886093, major code: 18 (ChangeProperty), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15756, resource id: 83886093, major code: 19 (DeleteProperty), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15757, resource id: 83886093, major code: 19 (DeleteProperty), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15758, resource id: 83886093, major code: 19 (DeleteProperty), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15759, resource id: 83886093, major code: 7 (ReparentWindow), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15760, resource id: 83886093, major code: 6 (ChangeSaveSet), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15761, resource id: 83886093, major code: 2 (ChangeWindowAttributes), minor code: 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15762, resource id: 83886093, major code: 10 (UnmapWindow), minor code: 0
Oct 05 09:22:16 computer ring-kde[22596]: qrc:/ImportRing.qml:119: ReferenceError: item1 is not defined
Oct 05 09:22:16 computer ring-kde[22596]: qrc:/FirstRun.qml:21:4: QML QQuickText: Cannot open: qrc:/assets/search.png
Oct 05 09:22:16 computer ring-kde[22596]: qrc:/FirstRun.qml:21:4: QML QQuickText: Cannot open: qrc:/assets/newcontact.png
Oct 05 09:22:16 computer ring-kde[22596]: qrc:/ImportRing.qml:119: ReferenceError: item1 is not defined
Oct 05 09:22:16 computer ring-kde[22596]: QQmlExpression: Expression qrc:/viewcontact.qml:127:18 depends on non-NOTIFYable properties:
Oct 05 09:22:16 computer ring-kde[22596]:     ContactMethod::isSelf
Oct 05 09:22:16 computer ring-kde[22596]: Selection changed 0
Oct 05 09:22:16 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16086, resource id: 83886112, major code: 18 (ChangeProperty), minor code: 0
Oct 05 09:22:16 computer drkonqi[22619]: Using /proc to determine executable path
Oct 05 09:22:16 computer drkonqi[22619]: Executable is: "/usr/local/bin/ring-kde"
Oct 05 09:22:16 computer drkonqi[22619]: Executable exists: true
Oct 05 09:22:16 computer drkonqi[22619]: Enabling drkonqi crash catching
Oct 05 09:22:16 computer kdeinit5[770]: Registering ":1.1648/StatusNotifierItem" to system tray
...
Oct 05 09:22:46 computer kwin_x11[816]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36320, resource id: 33985426, major code: 18 (ChangeProperty), minor code: 0
Oct 05 09:22:47 computer systemd-coredump[22636]: Process 22596 (ring-kde) of user 1000 dumped core.
                                                
                                                Stack trace of thread 22598:
                                                #0  0x00007fb538707c40 raise (libpthread.so.0)
                                                #1  0x00007fb539193fca _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                #2  0x00007fb532e70920 __restore_rt (libc.so.6)
                                                #3  0x00007fb518022f60 n/a (n/a)
*****
Comment 5 Emmanuel Lepage Vallée 2017-10-13 13:05:14 UTC
Done
Comment 6 Andrew Crouthamel 2018-09-19 14:30:12 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.