Bug 388389

Summary: Spam log with plasmashell[**]: Empty filename passed to function
Product: [Plasma] plasmashell Reporter: francois5537
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, bi3nes, francois5537, null, plasma-bugs, rlkron2, simonandric5
Priority: NOR    
Version: 5.11.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=388611
Latest Commit: Version Fixed In: 5.43
Sentry Crash Report:

Description francois5537 2017-12-31 11:33:26 UTC
When using rsibreak it fills the journal with this kind of messages:
dec 31 12:29:47 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:47 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:48 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:48 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:49 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:49 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:50 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:50 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:51 desktop plasmashell[3266]: Empty filename passed to function
dec 31 12:29:51 desktop plasmashell[3266]: Empty filename passed to function

It does log this every second it seems.

Thanks.
Comment 1 Albert Astals Cid 2018-01-01 23:42:58 UTC
that is plasmashell writing that text  not rsibreak, so for me it seems to be a plasmashell issue.

Plasma guys, seems rsibreak is triggering some weird path that causes plasma to complain, please if the problem is really in rsibreak, fix the complaint to actually say something that can be actionable, or fix Plasma code if the problem is there.
Comment 2 null 2018-01-10 00:14:06 UTC
Smells like the same issue as in Bug 388611, where this message suddenly occurs after the upgrade to Qt 5.10.

Not marking as a duplicate for now, though, because currently I'm not sure where this should be fixed.
Comment 3 null 2018-01-11 21:51:54 UTC
Looked a bit into this: The error is logged by plasmashell, but it only occurs once RSIBreak is running and you either move your mouse or type on your keyboard.

Note that some symptoms in Bug 388611 can be solved by upgrading to KIO 5.41, while this does not help here.
Comment 4 Randy Kron 2018-01-16 17:00:48 UTC
I found that kicker and plasmashell tooltips would trigger this message. I found two places in svg.cpp in plasma-framework where path variable was not checked for empty before passing to QFile::exists(). Submitted patch to phabricator. https://phabricator.kde.org/D9928
Comment 5 D1mon 2018-01-26 10:23:29 UTC
I have this error repeated 6841 times!!!!!
Comment 6 null 2018-02-12 18:47:16 UTC
The fix has landed in the meantime, closing.

(Note: Adding something like "BUG: 388389" to a commit message / Phabricator summary will auto-close the bug.)