[haiku-development] Runtime loader problem.

  • From: "Bruno Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 24 Feb 2009 14:57:43

It seems that there is an interaction between the new OpenSSL 
libraries, MDR protocol add-ons and the runtime loader. Here is how it 
happens:

1 - When you first create an account, it defaults to POP3 as the 
protocol. If you switch the protocol to IMAP, the preferences panel 
crashes (more about this below).
2 - If I change the email preferences to default to IMAP as the 
protocol, it does nto crash when switching to POP3 neither when 
switching back to POP3, but if I save the account as POP3 and close and 
reopen the preferences panel and try to switch to IMAP, it crashes.

The crash mentioned happens because load_add_on() fails (with a General 
OS Error) when trying to load the IMAP add-on. Syslog just shows this:

KERN: runtime_loader: Could not map image: Invalid Argument

As seem above, this happens only if POP3 is loaded first (with load_add
_on()) and then IMAP is loaded (also with load_add_on()). If the order 
is reversed, there is no crash. It also only happens with the most 
recent SSL version (not with the previous version).

Any ideas? Ingo, any suggestions about trying to debug this at the 
runtime_loader level?

-Bruno


Other related posts: