[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libreoffice: segfault error 4 in libvcllo.so on window close and exit



Package: libreoffice
Version: 1:4.3.3-2~bpo70+2
Severity: minor

Dear Maintainer,

When closing a libreoffice window, I get a segfault:

  soffice.bin[4427]: segfault at 7fddee974058 ip 00007fddf9eb288c sp 00007fffcbd380b8 error 4 in libvcllo.so[7fddf9bb4000+5e2000]

To reproduce, I only have to start libreoffice, then exit. Segfault
occurs the same when closing window with the window manager, or using
File->Exit, or Ctrl-q. I was able to have it produce a core dump once,
but I'm not sure how to make it produce a core dump consistently.
Backtrace from the core dump is below.

I'm not able to reproduce the segfault when running libreoffice from
command line (with or without --backtrace), or under gdb. Segfault
only occurs when I start libreoffice from dmenu. My window manager is
xmonad.

Severity set to minor because I don't notice any effects other than
the syslog message about the segfault. I just wanted to document this
in case anyone else notices and looks for existing bug reports.

Relevant existing bug reports I could find:
* https://bugs.debian.org/681133
  - segfault in same library and at exit, but was closed as fixed
* https://bugs.debian.org/620071
  - crash on close, still open, not sure if related

kenyon@einstein ~ % gdb /usr/lib/libreoffice/program/soffice.bin core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/libreoffice/program/soffice.bin...Reading symbols from /usr/lib/debug/usr/lib/libreoffice/program/soffice.bin...done.
done.
[New LWP 4246]
[New LWP 4247]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/libreoffice/program/soffice.bin --splash-pipe=5'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fb69b62288c in ImpBitmap::~ImpBitmap (this=<optimized out>, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/impbmp.cxx:36
36      /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/impbmp.cxx: No such file or directory.
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/ure/lib/libuno_sal.so.3-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/sal.py", line 12, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/ure/lib/libuno_cppu.so.3-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/cppu.py", line 10, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libreoffice/program/libsvllo.so-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/svl.py", line 11, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libreoffice/program/libtllo.so-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/tl.py", line 11, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libreoffice/program/libbasegfxlo.so-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/basegfx.py", line 11, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libreoffice/program/libswlo.so-gdb.py", line 23, in <module>
    module=importlib.import_module("libreoffice."+mod)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/libreoffice/gdb/libreoffice/sw.py", line 10, in <module>
    import six
ImportError: No module named six
(gdb) thread apply all bt

Thread 2 (Thread 0x7fb691124700 (LWP 4247)):
#0  0x00007fb69f89d6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fb6a00cd4f9 in rtl_cache_wsupdate_wait (seconds=10)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/sal/rtl/alloc_cache.cxx:1348
#2  rtl_cache_wsupdate_all (arg=<optimized out>) at /build/libreoffice-IxUIOe/libreoffice-4.3.3/sal/rtl/alloc_cache.cxx:1489
#3  0x00007fb69f898b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fb69fb8a7bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb6a04e67e0 (LWP 4246)):
#0  0x00007fb69b62288c in ImpBitmap::~ImpBitmap (this=<optimized out>, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/impbmp.cxx:36
#1  0x00007fb69b5d92a8 in Bitmap::ImplReleaseRef (this=this@entry=0x7fb69d9f0948)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmap.cxx:350
#2  0x00007fb69b5d93a4 in Bitmap::~Bitmap (this=0x7fb69d9f0948, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmap.cxx:134
#3  0x00007fb69b5e05ea in BitmapEx::~BitmapEx (this=0x7fb69d9f0920, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmapex.cxx:175
#4  0x00007fb69fae4ae2 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007fb69fae4b35 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007fb69facceb4 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000400711 in _start ()
(gdb) thread apply all bt full

Thread 2 (Thread 0x7fb691124700 (LWP 4247)):
#0  0x00007fb69f89d6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x00007fb6a00cd4f9 in rtl_cache_wsupdate_wait (seconds=10)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/sal/rtl/alloc_cache.cxx:1348
        now = {tv_sec = 1419998727, tv_usec = 539492}
        wakeup = {tv_sec = 1419998737, tv_nsec = 539492000}
#2  rtl_cache_wsupdate_all (arg=<optimized out>) at /build/libreoffice-IxUIOe/libreoffice-4.3.3/sal/rtl/alloc_cache.cxx:1489
        seconds = 10
#3  0x00007fb69f898b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#4  0x00007fb69fb8a7bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7fb6a04e67e0 (LWP 4246)):
#0  0x00007fb69b62288c in ImpBitmap::~ImpBitmap (this=<optimized out>, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/impbmp.cxx:36
No locals.
#1  0x00007fb69b5d92a8 in Bitmap::ImplReleaseRef (this=this@entry=0x7fb69d9f0948)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmap.cxx:350
No locals.
#2  0x00007fb69b5d93a4 in Bitmap::~Bitmap (this=0x7fb69d9f0948, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmap.cxx:134
No locals.
#3  0x00007fb69b5e05ea in BitmapEx::~BitmapEx (this=0x7fb69d9f0920, __in_chrg=<optimized out>)
    at /build/libreoffice-IxUIOe/libreoffice-4.3.3/vcl/source/gdi/bitmapex.cxx:175
No locals.
#4  0x00007fb69fae4ae2 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5  0x00007fb69fae4b35 in exit () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#6  0x00007fb69facceb4 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#7  0x0000000000400711 in _start ()
No symbol table info available.
(gdb) 

-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice-writer depends on:
ii  libc6                  2.13-38+deb7u6
ii  libgcc1                1:4.7.2-5
ii  libreoffice-base-core  1:4.3.3-2~bpo70+2
ii  libreoffice-core       1:4.3.3-2~bpo70+2
ii  libstdc++6             4.7.2-5
ii  libxml2                2.8.0+dfsg1-7+wheezy2
ii  uno-libs3              4.3.3-2~bpo70+2
ii  ure                    4.3.3-2~bpo70+2
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages libreoffice-writer recommends:
ii  libreoffice-math  1:4.3.3-2~bpo70+2

Versions of packages libreoffice-writer suggests:
ii  default-jre [java5-runtime]    1:1.6-47
pn  fonts-crosextra-caladea        <none>
pn  fonts-crosextra-carlito        <none>
ii  libreoffice-base               1:4.3.3-2~bpo70+2
pn  libreoffice-gcj                <none>
ii  libreoffice-java-common        1:4.3.3-2~bpo70+2
ii  openjdk-6-jre [java5-runtime]  6b33-1.13.5-2~deb7u1

Versions of packages libreoffice-core depends on:
ii  fontconfig                2.9.0-7.1
ii  fonts-opensymbol          2:102.6+LibO4.3.3-2~bpo70+2
ii  libatk1.0-0               2.4.0-2
ii  libc6                     2.13-38+deb7u6
ii  libcairo2                 1.12.2-3
ii  libcups2                  1.5.3-5+deb7u4
ii  libcurl3-gnutls           7.26.0-1+wheezy11
ii  libdbus-1-3               1.6.8-1+deb7u5
ii  libdbus-glib-1-2          0.100.2-1
ii  libexpat1                 2.1.0-1+deb7u1
ii  libexttextcat0            3.2.0-2
ii  libfontconfig1            2.9.0-7.1
ii  libfreetype6              2.4.9-1.1
ii  libgcc1                   1:4.7.2-5
ii  libgdk-pixbuf2.0-0        2.26.1-1
ii  libgl1-mesa-glx [libgl1]  8.0.5-4+deb7u2
ii  libglib2.0-0              2.33.12+really2.32.4-5
ii  libglu1-mesa [libglu1]    8.0.5-4+deb7u2
ii  libgraphite2-2.0.0        1.1.3-1
ii  libgtk2.0-0               2.24.10-2
ii  libhunspell-1.3-0         1.3.2-4
ii  libhyphen0                2.8.3-2
ii  libice6                   2:1.0.8-2
ii  libjpeg8                  8d-1+deb7u1
ii  liblcms2-2                2.2+git20110628-2.2+deb7u1
ii  libldap-2.4-2             2.4.31-1+nmu2
ii  libmythes-1.2-0           2:1.2.2-1
ii  libneon27-gnutls          0.29.6-3
ii  libnspr4                  2:4.9.2-1+deb7u2
ii  libnss3                   2:3.14.5-1+deb7u3
ii  libnss3-1d                2:3.14.5-1+deb7u3
ii  libpango1.0-0             1.30.0-1
ii  libpng12-0                1.2.49-1
ii  libreoffice-common        1:4.3.3-2~bpo70+2
ii  libsm6                    2:1.2.1-2
ii  libssl1.0.0               1.0.1e-2+deb7u13
ii  libstdc++6                4.7.2-5
ii  libx11-6                  2:1.5.0-1+deb7u1
ii  libxext6                  2:1.3.1-2+deb7u1
ii  libxinerama1              2:1.1.2-1+deb7u1
ii  libxml2                   2.8.0+dfsg1-7+wheezy2
ii  libxrandr2                2:1.3.2-2+deb7u1
ii  libxrender1               1:0.9.7-1+deb7u1
ii  libxslt1.1                1.1.26-14.1
ii  libxt6                    1:1.1.3-1+deb7u1
ii  uno-libs3                 4.3.3-2~bpo70+2
ii  ure                       4.3.3-2~bpo70+2
ii  zlib1g                    1:1.2.7.dfsg-13

-- no debconf information


Reply to: