xfce-mcs-manager
Brian J. Tarricone
bjt23 at cornell.edu
Thu Nov 10 01:23:49 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/9/2005 3:45 PM, Yves-Alexis Perez wrote:
> Brian J. Tarricone wrote:
>
>>On 11/9/2005 4:46 AM, Yves-Alexis Perez wrote:
>>
>>>>Hi people,
>>>>
>>>>I have a strange problem with xfce-mcs-manager. Sometimes (for example
>>>>when upgrading a plugin) I'd like to refresh it. If I pkill -USR1 -f
>>>>xfce-mcs-manager, everything works fine. But if I put that command in a
>>>>script, it crashs xfce-mcs-manager.
>>
>>Is there any reason you need to run it in a script? Note that if you're
>>running it from a cron job or something similar, the script won't get
>>passed important env vars such as DISPLAY, and there's no way the new
>>instance of xfce-mcs-manager can start properly.
>
> Yes, this scripts is the postinst script of debian packages. But even if
> I execute a simple script in a terminal, with only "pkill -USR1 -f
> xfce-mcs-manager", it crashs. (and it seems that i'm the only one)
That sounds like a bad idea. If the user upgrades across Xfce minor
versions while Xfce is running, they'll then have a new xfce-mcs-manager
running with settings for the new Xfce, but all the Xfce apps running
will be the old apps. Note that only the MCS manager and panel have a
method to be told to restart themselves, so xfdesktop, xfwm4,
xfce4-session, etc. will need to be restarted manually. The recommended
way is for the user to restart the session manually, which I don't think
is too much to ask.
>>>>That "bug" doesnt seem to be reproductible, at least to the few people I
>>>> ask. I'm on linux/ppc, as a side note. (and I don't know how to run
>>>>xfce-mcs-manager, because of threading).
>>
>>
>>Not sure what you mean; xfce-mcs-manager is not multithreaded.
>
> Well, I mean, the daemon mode.
Those are two different things. Debug like so:
gdb xfce-mcs-manager
[... output ...]
(gdb) r --no-daemon-debug
[... output ...]
[CRASH]
(gdb) bt
[... important useful output ...]
Note that gdb backtraces will likely be not-quite-useful if Xfce hasn't
been built with debugging enabled (or if the binaries/libraries have
been stripped after installation).
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFDcpMV6XyW6VEeAnsRAv9TAJ9lxrBfn8BzaaFbhqzHN0LHn1ieswCePsu2
fHIZv21Cs0MzxmdDmxJuOkU=
=jQP+
-----END PGP SIGNATURE-----
More information about the Xfce
mailing list