[Users] [Bug 4473] New: Segmentation fault on opening "Libravatar"'s configuration.

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu May 6 15:32:26 CEST 2021


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4473

            Bug ID: 4473
           Summary: Segmentation fault on opening "Libravatar"'s
                    configuration.
           Product: Claws Mail
           Version: 3.17.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins/Libravatar
          Assignee: users at lists.claws-mail.org
          Reporter: linux.felixbecker2 at gmx.de

Created attachment 2204
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2204&action=edit
standard output of `claws-mail --debug`.

I have freshly compiled claws-mail, version 3.17.8.

I have loaded the "Libravatar"-plugin.

After loading the "Libravatar" plugin, tryint to configuring it with selecting
from the menu bar  
`Configuration` -> `Preferences...` -> `Plugins` -> `Libravatar`,  
claws mail freezes and after a while terminates.

Attached I put the standart out and standard error output (I removed
potentially privacy breaching output and replaced it with `[...]`) of a run of
`claws-mail --debug`, where I after a start of claws-mail straight go to the
abovementioned configuration item.


Then I have run `claws-mail` with `gdb`:

`gdb claws-mail`, then entering `run`, then going straight to the
abovementioned configuration item.

`gdb` output before doing any user interactiont:

```
Starting program: /usr/bin/claws-mail 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff2e41640 (LWP 6496)]
[New Thread 0x7ffff2640640 (LWP 6497)]
[New Thread 0x7ffff1e3f640 (LWP 6498)]
[New Thread 0x7ffff163e640 (LWP 6499)]
[New Thread 0x7fffe3c39640 (LWP 6500)]
[New Thread 0x7fffe3438640 (LWP 6501)]
[Thread 0x7fffe3c39640 (LWP 6500) exited]
[Thread 0x7ffff163e640 (LWP 6499) exited]
[New Thread 0x7ffff163e640 (LWP 6502)]
[New Thread 0x7fffe3c39640 (LWP 6503)]
[Thread 0x7ffff163e640 (LWP 6502) exited]
[Thread 0x7fffe3c39640 (LWP 6503) exited]
[New Thread 0x7fffe3c39640 (LWP 6504)]
[Detaching after fork from child process 6505]
[Detaching after fork from child process 6507]
[Detaching after fork from child process 6509]
[Detaching after fork from child process 6511]
[Detaching after fork from child process 6513]
[Thread 0x7fffe3438640 (LWP 6501) exited]
```

Afer opening the Preferences window (but before selecting `Libravatar`):

```
[New Thread 0x7fffe3438640 (LWP 6587)]
[New Thread 0x7ffff163e640 (LWP 6588)]
[New Thread 0x7fffe1965640 (LWP 6589)]
[Thread 0x7ffff163e640 (LWP 6588) exited]
[Thread 0x7fffe1965640 (LWP 6589) exited]
```

After clicking on `Libravatar`:

```
Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
0x00007ffff6e009f6 in g_type_check_instance_cast () from
/usr/lib/libgobject-2.0.so.0
```

--> `gdb` detected a segmentation fault and brought me to it's commandline.  

After entering `bt` (for "backtrace"):

```
#0  0x00007ffff6e009f6 in g_type_check_instance_cast () at
/usr/lib/libgobject-2.0.so.0
#1  0x00007fffe2038908 in  () at /usr/lib/claws-mail/plugins/libravatar.so
#2  0x0000555555864ce7 in  ()
#3  0x0000555555864f53 in  ()
#4  0x00007ffff7d25f3a in  () at /usr/lib/libgtk-x11-2.0.so.0
#5  0x00007ffff7d267ce in  () at /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff7d3b84d in  () at /usr/lib/libgtk-x11-2.0.so.0
#7  0x00007ffff7d406ae in  () at /usr/lib/libgtk-x11-2.0.so.0
#8  0x00007ffff7c350a8 in  () at /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007ffff6ddeddf in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff6e079cb in  () at /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff6dfb2db in g_signal_emit_valist () at
/usr/lib/libgobject-2.0.so.0
#12 0x00007ffff6dfc210 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff7d5a275 in  () at /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff7c336d6 in gtk_propagate_event () at
/usr/lib/libgtk-x11-2.0.so.0
#15 0x00007ffff7c33b4b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff7aa23be in  () at /usr/lib/libgdk-x11-2.0.so.0
#17 0x00007ffff6ceb02c in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#18 0x00007ffff6d3eb59 in  () at /usr/lib/libglib-2.0.so.0
#19 0x00007ffff6cea593 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#20 0x00007ffff7c329fe in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#21 0x00005555556785d5 in main ()
(gdb) 
```

After entering `cont` (for "continue"):

```
Continuing.
[Thread 0x7fffe3438640 (LWP 6587) exited]
[Detaching after fork from child process 6725]
claws.c:102:Starting Claws Mail version 3.17.8
utils.c:1726:using default rc_dir /home/felics/.claws-mail
main.c:2335:Using control socket
/tmp/claws-mail-1001/d568697b15839eb53299f8a5ebacc43d
main.c:2430:another Claws Mail instance is already running.

** (process:6725): WARNING **: 15:29:24.372: Socket IO timeout

** (process:6725): WARNING **: 15:29:24.373: [2021-05-06 15:29:24] Socket IO
timeout.

Claws Mail is already running on display .
[Thread 0x7fffe3c39640 (LWP 6504) exited]
[Thread 0x7ffff2640640 (LWP 6497) exited]
[Thread 0x7ffff2e41640 (LWP 6496) exited]
[Thread 0x7ffff36d3400 (LWP 6492) exited]
[Inferior 1 (process 6492) exited with code 0375]
(gdb) 
```

(note that the two lines starting with "`** (process:6725): WARNING **:`" seem
not to come from `gdb`, but from some gtk-stuff. Those lines are coloured as
also other gtk warning and error output on otherwise normally functioning
software is coloured.)

`claws-mail` has terminated by then.

Typing `bt` again:

```
No stack.
```

---

The following `./configure`ation I used:

```
./configure --prefix=/usr
  --disable-static \
  --enable-shared \
  --enable-nls \
  --enable-manual \
  --enable-libsm \
  --enable-ipv6 \
  --enable-gnutls \
  --enable-enchant \
  --enable-crash-dialog \
  --disable-generic-umpc \
  --enable-compface \
  --enable-pthread \
  --enable-startup-notification \
  --enable-dbus \
  --enable-ldap \
  --enable-jpilot \
  --disable-networkmanager \
  --enable-libetpan \
  --disable-valgrind \
  --enable-alternate-addressbook \
  --enable-svg \
  --disable-tests \
  --enable-deprecated \
  --enable-acpi_notifier-plugin \
  --enable-address_keeper-plugin \
  --enable-archive-plugin \
  --enable-att_remover-plugin \
  --enable-attachwarner-plugin \
  --enable-bogofilter-plugin \
  --enable-bsfilter-plugin \
  --enable-clamd-plugin \
  --enable-dillo-plugin \
  --disable-fancy-plugin \
  --enable-fetchinfo-plugin \
  --enable-gdata-plugin \
  --enable-libravatar-plugin \
  --enable-litehtml_viewer-plugin \
  --enable-mailmbox-plugin \
  --enable-managesieve-plugin \
  --enable-newmail-plugin \
  --enable-notification-plugin \
  --enable-pdf_viewer-plugin \
  --enable-perl-plugin \
  --enable-python-plugin \
  --enable-pgpcore-plugin \
  --enable-pgpmime-plugin \
  --enable-pgpinline-plugin \
  --enable-rssyl-plugin \
  --enable-smime-plugin \
  --enable-spamassassin-plugin \
  --enable-spam_report-plugin \
  --enable-tnef_parse-plugin \
  --enable-vcalendar-plugin \
  --enable-demo-plugin
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list