Installed latest version (claws-mail-3.10.0git2-pkg54), claws-mail crashes with libravatar plugin enabled: * enable libravatar plugin * select message in message list -> claws-mail crashes This worked perfectly fine with claws-mail 3.9.3-84 (or similar, do not remember the exact version).
I don't have Windows, so please post a backtrace to help debugging this.
I do have Windows, but no idea how to get a backtrace there. Anybody with a hint?
I got one: Program received signal SIGTRAP, Trace/breakpoint trap. 0x773f56bd in ntdll!RtlpNtMakeTemporaryKey () from C:\Windows\system32\ntdll.dll (gdb) bt #0 0x773f56bd in ntdll!RtlpNtMakeTemporaryKey () from C:\Windows\system32\ntdll.dll #1 0x773c1ab3 in ntdll!EtwSetMark () from C:\Windows\system32\ntdll.dll #2 0x773f6717 in ntdll!RtlpNtMakeTemporaryKey () from C:\Windows\system32\ntdll.dll #3 0x773ba13e in ntdll!EtwSetMark () from C:\Windows\system32\ntdll.dll #4 0x773865a6 in wcsnicmp () from C:\Windows\system32\ntdll.dll #5 0x7426313b in DnsLogIt () from C:\Windows\system32\dnsapi.dll #6 0x74263113 in DnsLogIt () from C:\Windows\system32\dnsapi.dll #7 0x742632c8 in DnsApiAlloc () from C:\Windows\system32\dnsapi.dll #8 0x74291cc2 in DnsFreeProxyName () from C:\Windows\system32\dnsapi.dll #9 0x6d5cfbae in libgio-2.0-0!g_threaded_resolver_get_type () from C:\Program Files\GNU\Claws Mail\libgio-2.0-0.dll #10 0x6d5cf693 in libgio-2.0-0!g_threaded_resolver_get_type () from C:\Program Files\GNU\Claws Mail\libgio-2.0-0.dll #11 0x6d5cfbf1 in libgio-2.0-0!g_threaded_resolver_get_type () from C:\Program Files\GNU\Claws Mail\libgio-2.0-0.dll #12 0x6d5be236 in libgio-2.0-0!g_resolver_lookup_service () from C:\Program Files\GNU\Claws Mail\libgio-2.0-0.dll #13 0x005cefce in claws-mail!auto_configure_service_sync ()
Apparently auto configuration crashes if no DNS response to the SRV query exists.
D'oh! That's a bit surprising, or not. Anyway as a workaround you can uncheck "Enable federated servers", which prevent this call from happening within libravatar. In the long run this can be disabled when building for windows, for example, but better suggestions welcome.
The same happens when auto-configuring servers names. So is the a bug in claws-mail or the glib version shipped with claws-mail?
I believe it's in glib, i'll investigate patching or upgrading our win32 glib: from a cursory glance, it's just trying to free an uninitialized result, and they've fixed it in at least 2.40.
Filed upstream with a patch, and a new build's uploaded. For reference: https://bugzilla.gnome.org/show_bug.cgi?id=731124