https://bugs.kde.org/show_bug.cgi?id=361168

            Bug ID: 361168
           Summary: klauncher spontaneously says "Service '<.desktop file
                    here>' is malformatted."
           Product: kdelibs
           Version: unspecified
          Platform: FreeBSD Ports
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: klauncher
          Assignee: kdelibs-b...@kde.org
          Reporter: cyberb...@cyberbotx.com

While I have been unable to make this happen consistently, I have experienced
this a few times already.

At seemingly random times, KDE's application launcher will stop loading some
applications, but not all. For the ones it decides to refuse to load, if I try
to load them from a command line through 'kioclient exec <.desktop file here>',
it will bring up a message box titled "Sorry" that says "Service '<.desktop
file here>' is malformatted."

I was unable to figure out how to be able to attach gdb to klauncher to
determine why, but the message comes from the start_service function of
KLauncher, located in kdelibs' kinit/klauncher.cpp. Because I could not debug
it, I cannot fully determine if the reason is because service->isValid() is
returning false or if it is because of request->arg_list.count() being 0, but
those are only two places where the above message could happen.

The .desktop files it does this on are ones that worked prior to KDE deciding
to start bringing up the message. Even desktop-file-validate from
desktop-file-utilities will usually give no errors from the .desktop file that
klauncher is claiming is malformatted. So far, the only ways I have found
around this problem were either a full reboot or even just running kdeinit4 to
force it to get restarted.

Reproducible: Sometimes

Steps to Reproduce:
Unfortunately, I do not have a reproduction path. The only thing I was doing
was going through every application in my application launcher and then
spontaneously it started to fail to load some applications, at which point
trying to execute the associated .desktop file from a command line with
'kioclient exec' gives the message from klauncher.

Actual Results:  
Spontaneously, klauncher will stop loading some applications and running the
associated .desktop file with 'kioclient exec' from a command line gives the
message from klauncher.

Expected Results:  
Normally, I would expect there to never be any problems with loading an
application from the application launcher unless the actual application isn't
loading due to a problem.

I am using KDE 4.14.3 (that version was not in the above version selector) on
FreeBSD 10.3/amd64. All components of KDE were compiled from the FreeBSD ports
tree using the system's version of clang, version 3.4.1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to