Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-07-26 06:03:23

cpyi
Member
Registered: 2012-06-26
Posts: 4

[Solved] Panel plugin crash

I am writing a xfce4 panel plugin recently.My model is xfce4-mount-plugin(http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin) and I want to add some additional function to it. However, it works wrong sometimes.I check all the function and test every part of my program to ensure it works, but still can't solve the bug.Finally, I use the command below to see the message generated by xfce4-panel.
#xfce4-panel -q (quit xfce4-panel)
#xfce4-panel
and it show something as follow:

   xfce4-panel-Message: Plugin MY_PLUGIN_NAME has been automatically restarted after crash.

I think it is the critical point causing my program function to work wrong.Afterward,I tested the xfce4-mount-plugin(original version rather than my program), the message still occur sometimes(I think it happen arbitrarily).So I wonder what wrong with the plugin(version?compile parameter?...)
Platform:FreeBSD 9.0 release xfce4.10

Offline

#2 2012-08-06 17:17:14

cpyi
Member
Registered: 2012-06-26
Posts: 4

Re: [Solved] Panel plugin crash

I found it my bug.:)I have repaired it, and thank for everyone viewing my question.

Offline

Board footer

Powered by FluxBB