#986564 evolution: crash in camel_imapx_folder_set_mailbox

Package:
evolution
Source:
evolution
Description:
groupware suite with mail client and organizer
Submitter:
Jörg Frings-Fürst
Date:
2022-01-07 12:15:08 UTC
Severity:
important
Tags:
#986564#5
Date:
2021-04-07 13:08:09 UTC
From:
To:
Hello,

some times evolution crash with

[quote]
kernel: [27363.195104] pool-evolution[76405]: segfault at 28 ip
00007f6d1e663f9c sp 00007f6d0b7fd7a0 error 4 in
libcamelimapx.so[7f6d1e656000+3b000]
kernel: [27363.195115] Code: c6 e8 78 48 ff ff 48 89 c7 e8 b0 36 ff ff 4c 89 ee
48 89 c7 e8 65 48 ff ff 4c 89 e7 49 89 c5 e8 ba 56 ff ff 85 c0 74 10 89 c6 <49>
3b 75 28 74 08 48 89 ef e8 b6 36 ff ff 48 89 ef be 50 00 00 00
[/quote]

#986564#12
Date:
2021-04-20 13:19:44 UTC
From:
To:
Dear Maintainer,
with the help of the dbgsym package the "Code:" line
points to this line [1]:
     0x00007fffebed7f9c in camel_imapx_folder_set_mailbox at ./src/camel/providers/imapx/camel-imapx-folder.c:1371

The function camel_imapx_folder_set_mailbox then points
to this upstream bug report [2].
That also mentions another Debian report #985353, which
shows the same line and instruction offset.

Kind regards,
Bernhard


[1]
https://sources.debian.org/src/evolution-data-server/3.38.3-1/src/camel/providers/imapx/camel-imapx-folder.c/#L1371
https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/src/camel/providers/imapx/camel-imapx-folder.c#L1364

[2]
https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/312

#985353
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985353

#986564#19
Date:
2021-04-23 15:41:26 UTC
From:
To:
* Bernhard Übelacker <bernhardu@mailbox.org> [210423 15:39]:
https://bugzilla.redhat.com/show_bug.cgi?id=1914917

And patch for 3.38:
https://gitlab.gnome.org/GNOME/evolution-data-server/commit/1f1017492

#986564#26
Date:
2022-01-07 12:14:16 UTC
From:
To:
I have taken `apt-get source evolution-data-server` on an up to date Bullseye system, and imported the patch Chris mentioned above. The package I built from that has been stable for several days now.

Please find my diff attached. I hope the maintainer can import it into Bullseye.