[Users] Problems upgrading to Fedora 39

Paul Rolland rol at witbe.net
Sat Mar 2 11:38:08 CET 2024


Hello,

I'm running Claws 4.2.0 on a Fedora 38 64bit system, and this morning, I
decided to upgrade to Fedora 39. I already did several distro upgrade in
the past, and never got any real problem, so I was feeling confident.

But after the update, everything was working but Claws-mail. As it is a
self-compiled version I'm using, I first made a "make clean; make -j4" and
then a make install to make sure it was linked to the new libraries.

But no luck. Something goes wrong in 
static gint prohibit_duplicate_launch(int *argc, char ***argv)
as the line
  sock = fd_connect_unix(path);
returns 3 for sock, but then it goes to a timeout... 

Of course, carefully checked that no other instance of claws were running.

I ended up with the ugly :

  path = claws_get_socket_name();
  /* Try to connect to the control socket */
  sock = fd_connect_unix(path);

+  sock = -1;

to make it happy and start, but that's really weird... 

Then, I've been facing segfaults... 
wscoll_l, invoked from g_utf8_collate, from sink calling clist->compare()
(static gint folderview_clist_compare(GtkCMCList *clist,
             gconstpointer ptr1, gconstpointer ptr2)
so I added the following debug code:

+  debug_print("Collating %s and %s\n", item1->name , item2->name);
  return g_utf8_collate(item1->name, item2->name);

to better know what was causing the crashes.... turns out that any name
with an accented character (we _love_ them in France :() was causing the
crash. So, I've fixed folderlist.xml and filderitemrc.

My env contains :
150 [11:36] rol at riri:~/.claws-mail> env | grep UTF
LANG=en_US.UTF-8
XTERM_LOCALE=en_US.UTF-8

so I was expecting that anything related to this accents would be Ok.

I've also tried the Fedora-packaged claws-mail, and got the same
behavior... including the one about the Claws-mail already running when
checking the socket.

Regards,
Rol


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20240302/41404f09/attachment.sig>


More information about the Users mailing list