~/screenlets/config.ini is regarded as an applet

Bug #270034 reported by Peter Ward
2
Affects Status Importance Assigned to Milestone
Universal Applets
Fix Committed
Undecided
Unassigned

Bug Description

screenlets-daemon does not perform any kind of sanity checking when generating it's menu of available applets.
This results in the file ~/.screenlets/config.ini being reported as an applet.

I've attached the following (untested) patch, which should solve the problem.

Related branches

Revision history for this message
Peter Ward (flowblok) wrote :

That first patch is all wrong.
I've attached a better solution. (i.e.: one that works!)

Unfortunately, I'm getting a "*** glibc detected *** /usr/bin/python: double free or corruption (!prev): 0x085fd6c8 ***" error when I have universal-applets-extras installed.
I think it's related to my system, but I don't know what part of my system to try and fix!
Does anyone have any idea about this glibc error?
I'm running Debian Sid (+ various PPAs + a few Debian experimental packages), Python 2.5.2 [GCC 4.3.1] (r252:60911, Aug 8 2008, 09:22:44).

Revision history for this message
Ketil Wendelbo Aanensen (ketilwaa-deactivatedaccount) wrote :

I can confirm this bug, and I remember reporting it somewhere a while back.

Changed in universal-applets:
status: New → Confirmed
Revision history for this message
Natan Yellin (aantny) wrote :

Thanks, that works.

We have a policy of mentioning all patch contributors in the commit log. What name would you like me to use?

Revision history for this message
Peter Ward (flowblok) wrote :

Use flowblok as the name, thanks Natan.

The glibc error has turned out to be a bug with universal-applets-extras, so I'll isolate it and report it as a separate bug later (probably tomorrow).

Revision history for this message
Natan Yellin (aantny) wrote :

Fix committed in revision 504.

Changed in universal-applets:
status: Confirmed → Fix Committed
Revision history for this message
Natan Yellin (aantny) wrote :

It's strange that you're getting a glibc error when all of the applets in extras are written using python.

Perhaps it's a bug in python itself, or in one of the C libraries that UA uses.

Revision history for this message
Peter Ward (flowblok) wrote :

A note for anyone who was wondering what the error was - it the svg icon in the DiskSpace applet which was crashing libxml2 and then librsvg. Upgrading my libxml2 fixed the problem.

Revision history for this message
Natan Yellin (aantny) wrote :

Thanks. That makes more sense.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.