maemo.org Bugzilla – Bug 6558
ohmd fails if discover_plugins cannot open plugin directory
Last modified: 2010-03-29 16:55:31 UTC
You need to
before you can comment on or make changes to this bug.
http://repository.maemo.org fremantle/sdk/free ohm 0.1.2-0maemo30.1+0m5
EXACT STEPS LEADING TO PROBLEM:
1. Missing ohm plugin directory (/usr/lib/ohm)
2. Run ohmd
ohmd runs without plugins (or exits gracefully).
EXTRA SOFTWARE INSTALLED:
If opendir() fails, discover_plugins() returns FALSE (instead of NULL) without
touching number of plugins. Trivial fix is to set *nplugin = 0 and return NULL.
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre)
Created an attachment (id=1660) [details]
make discover_plugins() to return sane values on failed opendir()
Thanks for reporting this & providing a patch!
(In reply to comment #2)
> Thanks for reporting this & providing a patch!
Andre, any idea this patch will be in PR1.2?
> Andre, any idea this patch will be in PR1.2?
According to internal bug tracker, the patch is included into Ohmd coming in
PR1.2. Andre hasn't verified it yet though.
Thanks for the patch again!
This has been fixed for the next public update.
To answer popular followup questions:
* Nokia does not announce release dates of public updates in advance.
* There is currently no access to these internal, non-public build versions.
A Brainstorm proposal to change this exists at
(In reply to comment #4)
> According to internal bug tracker, the patch is included into Ohmd coming in
(In reply to comment #5)
> Thanks for the patch again!
> This has been fixed for the next public update.
Setting TM to PR1.2