Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Claws Mail] tagsrc sorgt für segfault

0 views
Skip to first unread message

Marco Moock

unread,
Aug 6, 2023, 7:15:27 AM8/6/23
to
Hallo zusammen!

Seit heute startete mein Claws-Mail unter Debian sid nicht mehr, das
CM-Deb ist NICHT die Ursache, nur diese Datei.

Ursache ist die tagsrc

m@ryz:~$ cat .claws-mail/tagsrc
max_id 2
1 encrypted
2 system hamon
m@ryz:~$ cat .claws-mail/tagsrc.alt-aug2023
max_id 8
6 ��
5 Z
4 $Phishing
3 r�
1 encrypted
2 system hamon
8 p�6

7 ���
m@ryz:~$

Am 4.8. sah die auch so aus, am 5.8. startete Claws aber problemlos.
diff bestätigt mir das, md5sum auch.

Jetzt ist meine Frage, wie das zustande kommt, dass die so aussieht und
warum das einen Segfault gibt und nicht abgefangen wird.
Es wurden natürlich Pakete im System aktualisiert, ich würde halt nur
gerne den Fehler nachvollziehen.

Relevant dafür ist jedenfalls $LANG

m@ryz:~$ gdb claws-mail
This GDB was configured as "x86_64-linux-gnu".
(gdb) run
Starting program: /usr/bin/claws-mail
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff19ff6c0 (LWP 11035)]
[New Thread 0x7fffebfff6c0 (LWP 11036)]
[New Thread 0x7ffff11fe6c0 (LWP 11037)]
[New Thread 0x7ffff08fd6c0 (LWP 11038)]
[Thread 0x7ffff08fd6c0 (LWP 11038) exited]
[New Thread 0x7ffff08fd6c0 (LWP 11039)]
[New Thread 0x7fffeb3ff6c0 (LWP 11040)]
[Thread 0x7ffff08fd6c0 (LWP 11039) exited]
[New Thread 0x7ffff08fd6c0 (LWP 11041)]
[New Thread 0x7fffeabfe6c0 (LWP 11042)]
[Thread 0x7ffff08fd6c0 (LWP 11041) exited]
[Thread 0x7fffeb3ff6c0 (LWP 11040) exited]
[Thread 0x7fffeabfe6c0 (LWP 11042) exited]
[New Thread 0x7fffeabfe6c0 (LWP 11043)]
[New Thread 0x7fffeb3ff6c0 (LWP 11044)]
[Thread 0x7fffeabfe6c0 (LWP 11043) exited]
[Thread 0x7fffeb3ff6c0 (LWP 11044) exited]
[New Thread 0x7fffeb3ff6c0 (LWP 11045)]

Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
0x00007ffff60d7fe4 in __GI___wcscoll_l (s1=0x0, s2=0xd81a80 L"system hamon",
l=0x7ffff61f2580 <_nl_global_locale>) at ../string/strcoll_l.c:273
273 ../string/strcoll_l.c: Datei oder Verzeichnis nicht gefunden.
(gdb) quit
A debugging session is active.

Inferior 1 [process 11032] will be killed.

Die genannte Datei kann ich mit apt-file nicht finden.

LANG=C gdb claws-mail hat ein anderes Resultat:
m@ryz:~$ LANG=C gdb claws-mail

(gdb) run
Starting program: /usr/bin/claws-mail
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1dff6c0 (LWP 13672)]
[New Thread 0x7ffff15fe6c0 (LWP 13673)]
[New Thread 0x7ffff0dfd6c0 (LWP 13674)]
[New Thread 0x7fffe3fff6c0 (LWP 13675)]
[Thread 0x7fffe3fff6c0 (LWP 13675) exited]
[New Thread 0x7fffe3fff6c0 (LWP 13676)]
[New Thread 0x7fffe33ff6c0 (LWP 13677)]
[Thread 0x7fffe3fff6c0 (LWP 13676) exited]
[New Thread 0x7fffe3fff6c0 (LWP 13678)]
[New Thread 0x7fffe2bfe6c0 (LWP 13679)]
[Thread 0x7fffe3fff6c0 (LWP 13678) exited]
[Thread 0x7fffe33ff6c0 (LWP 13677) exited]
[Thread 0x7fffe2bfe6c0 (LWP 13679) exited]
[New Thread 0x7fffe2bfe6c0 (LWP 13680)]
[New Thread 0x7fffe33ff6c0 (LWP 13681)]
[Thread 0x7fffe2bfe6c0 (LWP 13680) exited]
[Thread 0x7fffe33ff6c0 (LWP 13681) exited]
[New Thread 0x7fffe33ff6c0 (LWP 13682)]

Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
__wcscmp_sse2 () at ../sysdeps/x86_64/multiarch/wcscmp-sse2.S:432
432 ../sysdeps/x86_64/multiarch/wcscmp-sse2.S: No such file or directory.
(gdb)

--
Gruß
Marco

Marco Moock

unread,
Aug 7, 2023, 9:19:42 AM8/7/23
to
Am 07.08.2023 um 11:24:20 Uhr schrieb Urs Janßen:

> libc6-dgb instalieren?

Woher weiß du, dass dieses Paket betroffen ist?

Marco Moock

unread,
Aug 7, 2023, 11:15:32 AM8/7/23
to
Am 07.08.2023 um 13:30:15 Uhr schrieb Urs Janßen:
> es ist nicht betroffen es lifert dir die debugsymbole der libc.
> aber wenn du icht sehen willst woran sich der STRCOLL() aufruft
> verschluckt, auch gut. dann eben keine hilfe mehr...

Ich wollte nur wissen, wie du darauf gekommen bist, dass man die
Debug-Symbole für libc benötigt.
Ich werde das morgen testen und zurückmelden, was rauskam.

Marco Moock

unread,
Aug 7, 2023, 3:59:10 PM8/7/23
to
Am 07.08.2023 um 15:55:39 Uhr schrieb Urs Janßen:

> Marco Moock wrote:
> > Ich wollte nur wissen, wie du darauf gekommen bist, dass man die
> > Debug-Symbole für libc benötigt.
>
> welche lib sollte denn strcoll()/strcoll_l() sonst bereit stellen?
> ansonsten (manpages-dev UND manpages-posix-dev)
>
> strcoll_l(3POSIX)
> | PROLOG
> | This manual page is part of the POSIX Programmer’s Manual.
> The Linux | implementation of this interface may differ (consult
> the corresponding | Linux manual page for details of Linux
> behavior), or the interface may | not be implemented on Linux.
> |
> | NAME
> | strcoll, strcoll_l — string comparison using collating
> information

Danke für die Auskunft.
Ich hatte nach

apt-file search STRCOLL
gesucht und da kam nix raus, es ist case-sensitive (was ich nicht
wusste und daher nicht beachtet habe).

Ich werde die Debugsymbole installieren und dann rückmelden, was im gdb
kommt.

Mache ich aber morgen.

Marco Moock

unread,
Aug 8, 2023, 2:47:16 AM8/8/23
to
Am 07.08.2023 um 11:24:20 Uhr schrieb Urs Janßen:

> libc6-dgb instalieren? (und die *-dgbsym von claws).

Sind installiert. Wie bekomme ich jetzt im gdb die zusätzlichen
Informationen?

Marco Moock

unread,
Aug 8, 2023, 4:41:56 AM8/8/23
to
Am 08.08.2023 um 07:11:07 Uhr schrieb Urs Janßen:

> Marco Moock wrote:
> > Sind installiert. Wie bekomme ich jetzt im gdb die zusätzlichen
> > Informationen?
>
> automatisch?

Ich mache wohl was falsch, jedenfalls wurden die Symbole eingelesen.

m@ryz:~/.claws-mail$ gdb claws-mail
GNU gdb (Debian 13.2-1) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from claws-mail...
Reading symbols from /usr/lib/debug/.build-id/38/ee73ebed06cb00062b8d6343bb23351b897eaa.debug...
(gdb) run
Starting program: /usr/bin/claws-mail
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff19ff6c0 (LWP 24562)]
[New Thread 0x7fffebfff6c0 (LWP 24563)]
[New Thread 0x7ffff11fe6c0 (LWP 24564)]
[New Thread 0x7ffff09fd6c0 (LWP 24565)]
[Thread 0x7ffff09fd6c0 (LWP 24565) exited]
[New Thread 0x7ffff09fd6c0 (LWP 24566)]
[New Thread 0x7fffeb3ff6c0 (LWP 24567)]
[Thread 0x7ffff09fd6c0 (LWP 24566) exited]
[New Thread 0x7ffff09fd6c0 (LWP 24568)]
[New Thread 0x7fffeab806c0 (LWP 24569)]
[Thread 0x7ffff09fd6c0 (LWP 24568) exited]
[Thread 0x7fffeb3ff6c0 (LWP 24567) exited]
[Thread 0x7fffeab806c0 (LWP 24569) exited]
[New Thread 0x7fffeab806c0 (LWP 24570)]
[New Thread 0x7fffeb3ff6c0 (LWP 24571)]
[Thread 0x7fffeab806c0 (LWP 24570) exited]
[Thread 0x7fffeb3ff6c0 (LWP 24571) exited]
[New Thread 0x7fffeb3ff6c0 (LWP 24572)]

Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
0x00007ffff60d7fe4 in __GI___wcscoll_l (s1=0x0, s2=0xd01150 L"system hamon",

Marco Moock

unread,
Aug 8, 2023, 7:50:46 AM8/8/23
to
Am 08.08.2023 um 10:58:43 Uhr schrieb Urs Janßen:

> klingt nicht so als waer dein tagsrc.alt-aug2023 brauchbar

Ist es auch nicht.
Leider lässt sich kaum nachvollziehen, wie das zerstört wurde.
Ich habe es gelöscht und die beim Start neu erstellte Version
funktioniert prima.

Ich werde da jetzt keine Zeit mehr reinstecken, trotzdem danke für
deine Hilfe.

0 new messages