Bug#474581: marked as done (openoffice.org-core: openoffice crashs when opening a document with hyphenation)
Your message dated Sun, 06 Apr 2008 22:32:07 +0000
with message-id <E1JidPD-0008EP-8r@ries.debian.org>
and subject line Bug#474581: fixed in hyphen 2.3.1-3
has caused the Debian Bug report #474581,
regarding openoffice.org-core: openoffice crashs when opening a document with hyphenation
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 owner@bugs.debian.org
immediately.)
--
474581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474581
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openoffice.org-core
Version: 1:2.4.0-3
Severity: important
Tags: patch
openoffice crashs when the first document which is opened contains lines with hyphenation
and automatic spell checking is activated.
This is caused by conflicting declarations of array encds in the shared libraries
/usr/lib/libhyphen.so.0.1.0 (package libhyphen0 2.3.1-2) and
/usr/lib/openoffice/program/libhunspell.so (package openoffice.org-core, all (?) versions).
The crash also occurs with openoffice.org-core 1:2.3.1-5.
The crash occurs in function get_current_cs (from libhunspell.so).
When libhyphen.so.0.1.0 was loaded before libhunspell.so, get_current_cs
iterates on array encds from libhyphen.so.0.1.0. which has less elements than
encds from libhunspell.so. So strcmp is called with a null pointer.
Possible patches:
* add a break statement in get_current_cs for loop
* maybe encds can be declared static
* use identical declarations of encds in both packages
Correct encds in debugger:
(gdb) x/38gx &encds
0x2aaabb01c6c0 <encds>: 0x00002aaabae16322 0x00002aaabb0193c0
0x2aaabb01c6d0 <encds+16>: 0x00002aaabae16538 0x00002aaabb0196c0
0x2aaabb01c6e0 <encds+32>: 0x00002aaabae16542 0x00002aaabb0199c0
0x2aaabb01c6f0 <encds+48>: 0x00002aaabae1654c 0x00002aaabb019cc0
0x2aaabb01c700 <encds+64>: 0x00002aaabae16556 0x00002aaabb019fc0
0x2aaabb01c710 <encds+80>: 0x00002aaabae16560 0x00002aaabb01a2c0
0x2aaabb01c720 <encds+96>: 0x00002aaabae1656a 0x00002aaabb01a5c0
0x2aaabb01c730 <encds+112>: 0x00002aaabae16574 0x00002aaabb01a8c0
0x2aaabb01c740 <encds+128>: 0x00002aaabae1657e 0x00002aaabb01abc0
0x2aaabb01c750 <encds+144>: 0x00002aaabae16588 0x00002aaabb01aec0
0x2aaabb01c760 <encds+160>: 0x00002aaabae16593 0x00002aaabb01b1c0
0x2aaabb01c770 <encds+176>: 0x00002aaabae1659a 0x00002aaabb01b4c0
0x2aaabb01c780 <encds+192>: 0x00002aaabae165a1 0x00002aaabb01b7c0
0x2aaabb01c790 <encds+208>: 0x00002aaabae165b2 0x00002aaabb01bac0
0x2aaabb01c7a0 <encds+224>: 0x00002aaabae165bd 0x00002aaabb01bdc0
0x2aaabb01c7b0 <encds+240>: 0x00002aaabae165c8 0x00002aaabb01c0c0
0x2aaabb01c7c0 <encds+256>: 0x00002aaabae165d3 0x00002aaabb01c3c0
0x2aaabb01c7d0: 0x0000000000000000 0x0000000000000000
0x2aaabb01c7e0 <lang2enc>: 0x00002aaabae165e4 0x00002aaabae16364
Wrong encds in debugger:
(gdb) x/36gx &encds
0x2aaab8cde9e0 <encds>: 0x00002aaab8adb8e8 0x00002aaab8cdc2e0
0x2aaab8cde9f0 <encds+16>: 0x00002aaab8adb8f2 0x00002aaab8cdc5e0
0x2aaab8cdea00 <encds+32>: 0x00002aaab8adb8fc 0x00002aaab8cdc8e0
0x2aaab8cdea10 <encds+48>: 0x00002aaab8adb906 0x00002aaab8cdcbe0
0x2aaab8cdea20 <encds+64>: 0x00002aaab8adb910 0x00002aaab8cdcee0
0x2aaab8cdea30 <encds+80>: 0x00002aaab8adb91a 0x00002aaab8cdd1e0
0x2aaab8cdea40 <encds+96>: 0x00002aaab8adb924 0x00002aaab8cdd4e0
0x2aaab8cdea50 <encds+112>: 0x00002aaab8adb92e 0x00002aaab8cdd7e0
0x2aaab8cdea60 <encds+128>: 0x00002aaab8adb938 0x00002aaab8cddae0
0x2aaab8cdea70 <encds+144>: 0x00002aaab8adb942 0x00002aaab8cddde0
0x2aaab8cdea80 <encds+160>: 0x00002aaab8adb94d 0x00002aaab8cde0e0
0x2aaab8cdea90 <encds+176>: 0x00002aaab8adb954 0x00002aaab8cde3e0
0x2aaab8cdeaa0 <encds+192>: 0x00002aaab8adb95c 0x00002aaab8cde6e0
0x2aaab8cdeab0: 0x0000000000000000 0x0000000000000000
0x2aaab8cdeac0 <lang2enc>: 0x00002aaab8adb967 0x00002aaab8adb8e8
0x2aaab8cdead0 <lang2enc+16>: 0x00002aaab8adb96a 0x00002aaab8adb8f2
0x2aaab8cdeae0 <lang2enc+32>: 0x00002aaab8adb96d 0x00002aaab8adb8e8
0x2aaab8cdeaf0 <lang2enc+48>: 0x00002aaab8adb970 0x00002aaab8adb8e8
-- Package-specific info:
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openoffice.org-core depends on:
ii fontconfig 2.5.0-2 generic font configuration library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra
ii libcurl3 7.18.0-1 Multi-protocol file transfer libra
ii libdb4.6 4.6.21-6 Berkeley v4.6 Database Libraries [
ii libexpat1 1.95.8-4 XML parsing C library - runtime li
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.0-1 GCC support library
ii libglib2.0-0 2.16.1-2 The GLib library of C routines
ii libgstreamer-plugins-b 0.10.17-3 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.17-2 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.12.9-2 The GTK+ graphical user interface
ii libhyphen0 2.3.1-2 ALTLinux hyphenation library - sha
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libicu38 3.8.1-1 International Components for Unico
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libldap-2.4-2 2.4.7-6.1 OpenLDAP libraries
ii libneon27 0.27.2-1 An HTTP and WebDAV client library
ii libnspr4-0d 4.7.0-2 NetScape Portable Runtime Library
ii libnss3-1d 3.12.0~beta2-1 Network Security Service libraries
ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l
ii libpango1.0-0 1.20.0-1 Layout and rendering of internatio
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libssl0.9.8 0.9.8g-8 SSL shared libraries
ii libstdc++6 4.3.0-1 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxaw7 2:1.0.4-1 X11 Athena Widget library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxinerama1 2:1.0.3-1 X11 Xinerama extension library
ii libxml2 2.6.31.dfsg-2 GNOME XML library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii libxslt1.1 1.1.22-1 XSLT processing library - runtime
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension
ii openoffice.org-common 1:2.4.0-3 OpenOffice.org office suite archit
ii ttf-opensymbol 1:2.3.1-5 The OpenSymbol TrueType font
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
openoffice.org-core recommends no packages.
Versions of packages openoffice.org-common depends on:
ii dictionaries-common [openoffi 0.98.2 Common utilities for spelling dict
ii openoffice.org-style-andromed 1:2.4.0-3 Default symbol style for OpenOffic
Versions of packages openoffice.org-java-common depends on:
ii bsh 2.0b4-7 Java scripting environment (BeanSh
ii libxalan2-java 2.7.1-1 XSL Transformations (XSLT) process
ii libxerces2-java 2.9.1-1 Validating XML parser for Java wit
ii openoffice.org-common 1:2.4.0-3 OpenOffice.org office suite archit
Versions of packages openoffice.org-core is related to:
pn fglrx-driver <none> (no description available)
pn firefox <none> (no description available)
pn iceape-browser <none> (no description available)
ii icedove 2.0.0.9-3 free/unbranded thunderbird mail/ne
ii iceweasel 2.0.0.12-1 lightweight web browser based on M
ii imagemagick 7:6.3.7.9.dfsg1-2 image manipulation programs
ii libsane 1.0.19-3 API library for scanners
ii libxinerama1 2:1.0.3-1 X11 Xinerama extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
pn nvidia-glx <none> (no description available)
pn nvidia-glx-legacy <none> (no description available)
ii openoffice.org-filter- 1:2.4.0-3 Legacy filters (e.g. StarOffice 5.
pn pstoedit <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: hyphen
Source-Version: 2.3.1-3
We believe that the bug you reported is fixed in the latest version of
hyphen, which is due to be installed in the Debian FTP archive:
hyphen_2.3.1-3.diff.gz
to pool/main/h/hyphen/hyphen_2.3.1-3.diff.gz
hyphen_2.3.1-3.dsc
to pool/main/h/hyphen/hyphen_2.3.1-3.dsc
libhyphen-dev_2.3.1-3_amd64.deb
to pool/main/h/hyphen/libhyphen-dev_2.3.1-3_amd64.deb
libhyphen0_2.3.1-3_amd64.deb
to pool/main/h/hyphen/libhyphen0_2.3.1-3_amd64.deb
openoffice.org-hyphenation-en-us_2.3.1-3_all.deb
to pool/main/h/hyphen/openoffice.org-hyphenation-en-us_2.3.1-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 474581@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated hyphen package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 06 Apr 2008 23:44:05 +0200
Source: hyphen
Binary: libhyphen-dev libhyphen0 openoffice.org-hyphenation-en-us
Architecture: source all amd64
Version: 2.3.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian OpenOffice Team <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Description:
libhyphen-dev - ALTLinux hyphenation library - development files
libhyphen0 - ALTLinux hyphenation library - shared library
openoffice.org-hyphenation-en-us - US English hyphenation patterns for OpenOffice.org
Closes: 474581
Changes:
hyphen (2.3.1-3) unstable; urgency=low
.
* make encds[] struct static, thanks Stefan Weil.
According to #debian-devel it should suffice to make it here for now
until the next OOo upload which will also do it so it closes: #474581
Files:
4255b528c9dc692881d6339d249eb658 791 libs optional hyphen_2.3.1-3.dsc
9d2d7505de3d55e6c8f4ef4243768597 12175 libs optional hyphen_2.3.1-3.diff.gz
91b9c76b27ae22505677fcf4a489004f 32912 text optional openoffice.org-hyphenation-en-us_2.3.1-3_all.deb
74aea0430f25a29d1abc2d4715d99700 186956 libdevel optional libhyphen-dev_2.3.1-3_amd64.deb
5a2bbbdccb15fdcbaba4a2a5dffb9095 22492 libs optional libhyphen0_2.3.1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH+U3S+FmQsCSK63MRAtUNAJwO8cY3bIOnkrE22jY5sghjHOvfHwCfUmYr
JiAxPy5NyFjVufy6uWnk+8k=
=52X1
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: