Your message dated Wed, 19 Apr 2023 11:18:20 +0200
with message-id <[email protected]>
and subject line evolution-mapi has been removed from Debian
has caused the Debian Bug report #799161,
regarding evolution-mapi: Evolution crash at startup when evolution-mapi is 
installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
799161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799161
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: evolution-mapi
Version: 3.16.3-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
     Just installed the evolution-mapi package
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     sudo apt-get install evolution-mapi
   * What was the outcome of this action?
     Evolution crash at startup (SEGFAULT)
   * What outcome did you expect instead?
     Evolution should run normally

*** End of the template - remove these template lines ***

STEP 1: GDB trace

***

(gdb) r
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd984e700 (LWP 3747)]
[New Thread 0x7fffd3b55700 (LWP 3748)]

(evolution:3743): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-
images is deprecated and shouldn't be used anymore. It will be removed in a
future version.

(evolution:3743): Gtk-WARNING **: Failed to register client:
GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register
client
[New Thread 0x7fffd30f2700 (LWP 3749)]
[New Thread 0x7fffbe3b4700 (LWP 3750)]
[New Thread 0x7fff7dbb1700 (LWP 3751)]
[New Thread 0x7fff72f0a700 (LWP 3792)]
[New Thread 0x7fff71ed2700 (LWP 3793)]
[New Thread 0x7fff714cb700 (LWP 3796)]
[New Thread 0x7fff70cca700 (LWP 3797)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff70cca700 (LWP 3797)]
0x00007fffd0b989d0 in iface_count ()
   from /usr/lib/x86_64-linux-gnu/libmapi.so.0
(gdb) bt
#0  0x00007fffd0b989d0 in iface_count ()
   from /usr/lib/x86_64-linux-gnu/libmapi.so.0
#1  0x00007fff63dfe435 in _nss_wins_gethostbyname_r ()
   from /lib/x86_64-linux-gnu/libnss_wins.so.2
#2  0x00007ffff3485639 in __gethostbyname2_r (
    name=0x7fff640015f0 "imap.heig-vd.ch", af=af@entry=2,
    resbuf=resbuf@entry=0x7fff70cc98e0,
    buffer=buffer@entry=0x7fff70cc9400 "\377\002", buflen=buflen@entry=912,
    result=result@entry=0x7fff70cc98d8, h_errnop=0x7fff70cc98c4)
    at ../nss/getXXbyYY_r.c:266
#3  0x00007ffff345fca2 in gaih_inet (name=<optimized out>,
    name@entry=0x7fff640015f0 "imap.heig-vd.ch", service=<optimized out>,
    req=req@entry=0x7fff70cc99f0, pai=pai@entry=0x7fff70cc99b8,
    naddrs=naddrs@entry=0x7fff70cc99b4) at ../sysdeps/posix/getaddrinfo.c:586
#4  0x00007ffff34612fd in __GI_getaddrinfo (
    name=0x7fff640015f0 "imap.heig-vd.ch", service=0x0, hints=0x7fff70cc99f0,
    pai=0x7fff70cc9af0) at ../sysdeps/posix/getaddrinfo.c:2406
#5  0x00007ffff3d205e0 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007ffff3d1db95 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007ffff37a82e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff37a7955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff72c80a4 in start_thread (arg=0x7fff70cca700)
    at pthread_create.c:309
#10 0x00007ffff347407d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) disas
Dump of assembler code for function iface_count:
   0x00007fffd0b989c0 <+0>:     xor    %eax,%eax
   0x00007fffd0b989c2 <+2>:     test   %rdi,%rdi
   0x00007fffd0b989c5 <+5>:     je     0x7fffd0b989dd <iface_count+29>
   0x00007fffd0b989c7 <+7>:     nopw   0x0(%rax,%rax,1)
=> 0x00007fffd0b989d0 <+16>:    mov    (%rdi),%rdi
(gdb) p/x $rdi
$1 = 0x200000000
***

Seems related to the wins service since the crash occurs in iface_count()
function. This function appear to be part of samba
(https://download.samba.org/pub/unpacked/samba_next/source3/lib/interfaces.c).
Look like a loop where %rdi should contain the "interface" structure address
but contain an invalid pointer in our case (uninitialised value?). BTW, I
didn't found where this structure is initialled.

A workaround is to move the wins service after the dns one for hosts in
/etc/nsswitch.conf

-hosts:          files myhostname wins mdns4_minimal [NOTFOUND=return] dns
mdns4
+hosts:          files myhostname mdns4_minimal [NOTFOUND=return] dns wins
mdns4

But for people who need wins for name resolution, this workaround will not
work.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_CH.utf8, LC_CTYPE=fr_CH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages evolution-mapi depends on:
ii  evolution                   3.16.5-1
ii  libatk1.0-0                 2.16.0-2
ii  libc6                       2.19-19
ii  libcairo-gobject2           1.14.2-2
ii  libcairo2                   1.14.2-2
ii  libcamel-1.2-52             3.16.5-1
ii  libebackend-1.2-10          3.16.5-1
ii  libebook-1.2-16             3.16.5-1
ii  libebook-contacts-1.2-1     3.16.5-1
ii  libecal-1.2-18              3.16.5-1
ii  libedata-book-1.2-25        3.16.5-1
ii  libedata-cal-1.2-27         3.16.5-1
ii  libedataserver-1.2-20       3.16.5-1
ii  libedataserverui-1.2-1      3.16.5-1
ii  libevolution                3.16.5-1
ii  libexchangemapi-1.0-0       3.16.3-2
ii  libgdk-pixbuf2.0-0          2.31.5-1
ii  libglib2.0-0                2.44.1-1.1
ii  libgtk-3-0                  3.16.6-1
ii  libical1a                   1.0.1-0.1
ii  libjavascriptcoregtk-3.0-0  2.4.9-2
ii  libmapi0                    1:2.2-7
ii  libnspr4                    2:4.10.9-2
ii  libnspr4-0d                 2:4.10.9-2
ii  libnss3                     2:3.20-1
ii  libnss3-1d                  2:3.20-1
ii  libpango-1.0-0              1.36.8-3
ii  libpangocairo-1.0-0         1.36.8-3
ii  libsecret-1-0               0.18.3-1
ii  libsoup2.4-1                2.50.0-2
ii  libsqlite3-0                3.8.11.1-1
ii  libtalloc2                  2.1.2-3
ii  libtevent0                  0.9.24-1
ii  libwebkitgtk-3.0-0          2.4.9-2
ii  libxml2                     2.9.1+dfsg1-5
ii  samba-libs                  2:4.1.17+dfsg-4

evolution-mapi recommends no packages.

evolution-mapi suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 3.18.0-4+rm

evolution-mapi was last released with Debian 8 (jessie)
in April 2015 and has been removed from the Debian archive afterwards.
See https://bugs.debian.org/804333 for details on the removal.
Regular security support for jessie ended in June 2018 and LTS support
ended in June 2020. I'm closing the remaining bug reports now.

Andreas

--- End Message ---

Reply via email to