Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#844 closed Defect (fixed)

BOINC manager crashes when auto-joining an Account Manager

Reported by: teleyinex Owned by: romw
Priority: Minor Milestone: Undetermined
Component: Manager Version: 6.4.5
Keywords: crash, auto-joining, acct_mgr_url.xml Cc:

Description (last modified by Nicolas)

BOINC Manager crashes when auto-joining an Account Manager under GNU/Linux. I have followed the instruction on AccountManagement (check the attached file for testing the BOINC manager).

The problem is as follows: I create the acct_mgr_url.xml with all the information, and then launch the BOINC Manager. The manager shows a connection window, and after successfully authorization, BOINC Manager crashes. I'm running Ubuntu Hardy, and I have tried the last version of BOINC.

This possible bug is not allowing me to deploy BOINC clients automatically under Extremadurathome.org project.

Attachments (1)

acct_mgr_url.xml (675 bytes) - added by teleyinex 16 years ago.
Account Manager URL for auto-joining clients

Download all attachments as: .zip

Change History (16)

Changed 16 years ago by teleyinex

Attachment: acct_mgr_url.xml added

Account Manager URL for auto-joining clients

comment:1 Changed 16 years ago by Nicolas

I get "the account manager is temporarily unavailable" when I try. It seems to be because your server has the change made in r16586, which blocks the custom client I use.

The change was undone in [16900].

comment:2 Changed 16 years ago by Nicolas

And no matter what I do, the jarifa sign-up form keeps giving me "Ha ocurrido un fallo"; and clearing everything I typed when I go back to the form.

I think that problem is far more annoying and making-it-harder-for-users than what you mentioned in #845 :)

comment:3 Changed 16 years ago by Nicolas

Keywords: boinc manager removed

comment:4 Changed 16 years ago by teleyinex

I have been checking the web site that it is hosting the Jarifa software and that is giving you errors. I have tried with different volunteer user names and standard clients (all version >= 6.0) and I was able to join Jarifa and process some work units.

Thus, in order to know where it is the problem with your boinc client, I can disable the min_version that you have mentioned on previous messages. But, if you are using a standard client everything should work pretty well.

Can you try with a standard boinc client version and see if Jarifa has a bug?

comment:5 Changed 16 years ago by Nicolas

I already modified my custom client to fake the version number and behave like BOINC. However, the problem was on your website; I couldn't create an account.

Now I successfully created an account, but I don't think I'll have any time today to debug the crash.

comment:6 Changed 16 years ago by teleyinex

Would you mine to tell me how do try to create the account? If you were not able to create an account I want to know where is the bug on my code. Thanks in advance.

comment:7 Changed 16 years ago by Nicolas

Like I said, I kept getting "Ha ocurrido un fallo"; but when I tried again it worked, so I now have an account.

comment:8 Changed 16 years ago by Nicolas

What platform do you see the crash on?

I see no crash, but the manager window disappears. Maybe it tries minimizing to tray, but BOINC Manager on Linux has no tray icon...

comment:9 Changed 16 years ago by Nicolas

There is explicit code hiding the manager window if the account manager attach wizard is successful.

comment:10 Changed 16 years ago by romw

(In [17545]) - MGR: Don't hide the main window after attaching to an account manager

if we don't support the system tray on that platform. refs #844

clientgui/

AdvancedFrame?.cpp

comment:11 Changed 16 years ago by romw

(In [17546]) - MGR: Don't hide the main window after attaching to an account manager

if we don't support the system tray on that platform. refs #844

clientgui/

AdvancedFrame?.cpp

comment:12 Changed 16 years ago by teleyinex

The problem is on GNU/Linux. It does not crash, as you said. What happens is that the main window disappears and it is impossible to get it back with the task-bar. As you said, the main problem could be the tray icon on GNU/Linux. On GNU/Linux there is a tray-icon documented here: http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html. I think that it works in Gnome and Kde, but further research is needed.

If it is possible to follow that standard, any desktop on GNU/Linux that follows that standard too, it will show a tray-icon. Thus, there are two options:

1.- If boincmgr is run on GNU/Linux don't minimize to try after a successful attach to the account manager.

2.- Code the systemtray-spec-0.2 from freedesktop to support the tray-icon on Gnome and KDE, so the minimize it is OK, and the experience on GNU/Linux it will be more or less the same as in Windows or Mac.

What do you think?

comment:13 Changed 16 years ago by Nicolas

It's a wxWidgets bug that the tray icon doesn't work on KDE/GNOME.

comment:14 Changed 16 years ago by Nicolas

Resolution: fixed
Status: newclosed

Well, actually this could be called fixed in r17545.

If you want the manager on Linux to support a tray icon, open a new (enhancement) ticket.

comment:15 Changed 16 years ago by Nicolas

Description: modified (diff)
Note: See TracTickets for help on using tickets.