Re: libi18nlangtag crash on SunOS 5.11

2015-01-02 Thread Eike Rathke
Hi Richard,

On Friday, 2014-12-26 13:29:57 +0100, Richard PALO wrote:

 As a quick workaround I needed to configure liblangtag with 
 '--disable-modules'
 and that seems to get over the test-suite's check-tag failures and 
 consequently
 allows format-cells to function correctly in libreoffice.
 
 Since LO is seemingly the only thing I have currently running liblangtag, is
 there any imperative need for the extension modules now disabled? 

No, LibreOffice doesn't require liblangtag extension modules, you can
safely disable that feature.

 In any event, the problem is reported in bitbucket for liblangtag.

Thanks!

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


pgpobKlz0FBis.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libi18nlangtag crash on SunOS 5.11

2014-12-26 Thread Richard PALO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 21/12/14 10:11, Richard PALO a écrit :
 This seems to be liblangtag issue as its testsuite has problems as well.
 I'll need to get those resolved first. thx
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
 

As a quick workaround I needed to configure liblangtag with '--disable-modules'
and that seems to get over the test-suite's check-tag failures and consequently
allows format-cells to function correctly in libreoffice.

Since LO is seemingly the only thing I have currently running liblangtag, is
there any imperative need for the extension modules now disabled? 

In any event, the problem is reported in bitbucket for liblangtag.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUnVTEAAoJECAB22fHtp27U/MH/2YI7TaOsowTlPq9Pt01XwP1
1niyzZOXoFS1B9612jHfd+mv4hRqOFoVYPdb4ZgnLFCh3Y7XrDzpV6JxkdS6rgZx
6tfOIqzVOMmCPdVhLAR7egG1buKBRzhqVs2i/YVvHNGb/i8hb+4nb7CsY12lwIUI
aRjF8t+gbQCN9qTgXii0hhrZSDVnBTo6pvPxgF4hvI06IQ/QgjgGyKQpq+dYQztv
/pPG7UI9Emosv8qyxy7yFjNVgCb+xMeHr2Ym+5M45kyR9vJn+bFy6UnpFk8GIBTg
M0PIwzDjStSemXNZo7WbVrv2V/TA043t55TPuGDIO1DvVsoVtEQYsn3BmbUFpnY=
=j+iR
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libi18nlangtag crash on SunOS 5.11

2014-12-21 Thread Richard PALO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This seems to be liblangtag issue as its testsuite has problems as well.
I'll need to get those resolved first. thx
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUlo7FAAoJECAB22fHtp275RMH+wSSMSde5HrZ4IEghLICF7V5
X2QkRK8OrkpJ33v7LXvJH7TO0HGDxM+QeOdKQxyIo8mOHFWpMnB7e9LgfdelP7IS
JopdQkKkvJvMpKTyYpZQJKcoGNCU9ikc5f+k56+urgeyPIrF5QaUZe2TCaH5Qf/l
+JFsSsDq1lNR2KbSWn9tPHGLYJJh8EkpyVkc/zIwvUVWbSih11An3c+6guzHV1Hc
hGPRjffnSV7DNa2psStiATFwTpCK0SMSlyYMZLQjIctuurulMCQIA5NsWP2PDvfs
U25tQ8q8ovKPLVV/R+1JjYJ2EnAIV2IJKFpOgMagAGjwVmSKyzTRkDTvI3xKjVk=
=+95j
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


libi18nlangtag crash on SunOS 5.11 (was: In glyph fallback throwing away the language property of en because the detected script for '0x9f3' is Bengali and that language doesn't make sense....)

2014-12-19 Thread Eike Rathke
Hi Richard,

On Friday, 2014-12-19 14:18:36 +0100, Richard PALO wrote:

  warn:vcl:101172:1:vcl/generic/fontmanager/fontconfig.cxx:868: In glyph 
  fallback 
  throwing away the language property of en because the detected script for 
  '0x9f
  3' is Bengali and that language doesn't make sense. Autodetecting instead.

That warning is only indirectly related because something may trigger
initialization of liblangtag for an unknown locale value, I've seen it
without any crash. Adapted subject..

 My locale is fr_FR.UTF-8 on SunOS 5.11 under pkgsrc.
 
 it's coring with:
   sigmask = 0xbefc,0x,0x01ff
   cursig = SIGSEGV
 
 Coredump indicates:
  08045fb8 libi18nlangtag.so`LiblantagDataRef::setup+0x4c(fe5b5bdc, fe5b5bdc, 
  fe5b5a1c, 804605c)
  08046128 libi18nlangtag.so`LanguageTagImpl::canonicalize+0x784(e34a900, 0, 
  fe59b58b, fe5b28bc)

That is the actual top of the backtrace?
There isn't much in i18nlangtag/source/languagetag/languagetag.cxx
LiblantagDataRef::setup() that could go wrong. The only thing that comes
to mind is that LiblantagDataRef is a static instance initialized with

namespace {
struct theDataRef : public rtl::Static LiblantagDataRef, theDataRef  {};
}

which for some reason may not work on SunOS / your compiler combination.
As probably no one is using that here, you'd have to break in
LanguageTagImpl::canonicalize() line 1204 where
theDataRef::get().incRef() is called (or in the
LiblantagDataRef::incRef() inline) and investigate what actually happens
the very first time when the incRef() calls setup()

Other than that maybe the lt_db_initialize() call misbehaves, but since
that is not in the backtrace..

However, only a step-through could provide insights.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


pgpGrOgS9JfFi.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libi18nlangtag crash on SunOS 5.11

2014-12-19 Thread Richard PALO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 19/12/14 16:02, Eike Rathke a écrit :
 Hi Richard,
 
 On Friday, 2014-12-19 14:18:36 +0100, Richard PALO wrote:
 
 warn:vcl:101172:1:vcl/generic/fontmanager/fontconfig.cxx:868: In glyph 
 fallback 
 throwing away the language property of en because the detected script for 
 '0x9f
 3' is Bengali and that language doesn't make sense. Autodetecting instead.
 
 That warning is only indirectly related because something may trigger
 initialization of liblangtag for an unknown locale value, I've seen it
 without any crash. Adapted subject..
 
 My locale is fr_FR.UTF-8 on SunOS 5.11 under pkgsrc.

 it's coring with:
  sigmask = 0xbefc,0x,0x01ff
  cursig = SIGSEGV

 Coredump indicates:
 08045fb8 libi18nlangtag.so`LiblantagDataRef::setup+0x4c(fe5b5bdc, fe5b5bdc, 
 fe5b5a1c, 804605c)
 08046128 libi18nlangtag.so`LanguageTagImpl::canonicalize+0x784(e34a900, 0, 
 fe59b58b, fe5b28bc)
 
 That is the actual top of the backtrace?
 There isn't much in i18nlangtag/source/languagetag/languagetag.cxx
 LiblantagDataRef::setup() that could go wrong. The only thing that comes
 to mind is that LiblantagDataRef is a static instance initialized with
 
 namespace {
 struct theDataRef : public rtl::Static LiblantagDataRef, theDataRef  {};
 }
 
 which for some reason may not work on SunOS / your compiler combination.
 As probably no one is using that here, you'd have to break in
 LanguageTagImpl::canonicalize() line 1204 where
 theDataRef::get().incRef() is called (or in the
 LiblantagDataRef::incRef() inline) and investigate what actually happens
 the very first time when the incRef() calls setup()
 
 Other than that maybe the lt_db_initialize() call misbehaves, but since
 that is not in the backtrace..
 
 However, only a step-through could provide insights.
 
   Eike
 

Okay, thanks.  I'm building now an upgrade to 4.3.5.2 and will attempt to see 
more in 
the suggested areas. (I too noticed I'd be wasting my time in fontconfig, hence 
my post:)

For info, build is with gcc4.9.2 and the back trace comes from 'mdb' on the 
core file 
with c++ demangling turned on.

cheers
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUlEHYAAoJECAB22fHtp27V90H+gIPADtnj4ZPmEIyT00SLjJL
xob8DpRcllcNzk3nd9blPqC0EMF5cIz86d4iz/Ryeek+HEEYkwDQrNAdnNTSizzK
o1XG3cX+wpvE5j4upvivs+Wa4cTNYT5jwAmJIjRtNGFG50oYWvYouvQzWZyO0COP
jT2ZLszVIwH+BFafztsOJD6SbZl+d/CJk1PAGZaVmNzSYaZTGCflzbMRm0QFsm8Z
55n1HAL3ImI5P6r2yzOFlTRqXaw5nPsmDJCPHLGrtuc+F3OXQZS0II/v65zw1JFr
DvQRaIdXevVloYyvFJZtPmbhjEWRhsf584ejrkgoOnvqBKp1R46LEIrrtWdC1Dw=
=se6a
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice