[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |er...@redhat.com
   |desktop.org |

--- Comment #26 from Eike Rathke er...@redhat.com ---
Thanks, I'll investigate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #25 from Caolán McNamara caol...@redhat.com ---
caolanm-erack: there's a good bit of noise and conflicting bug reports bundled
into this bug, but there's a general theme of liblangtag related bustage with
parsing tags of...

ca_ES-valencia
and
de_DE_frami.dic

i.e. malformed bcp47

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-02-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #21 from A.S. as...@isa.upv.es ---
(In reply to comment #19)
Confirmed (with variations).
locale -a gives ... ca_ES.utf8 ca_ES.utf8@valencia ...
and, indeed, I had in /usr/share/hunspell the offending files:
ca_ES-valencia.aff  ca_ES-valencia.dic

Moving such files out of the hunspell folder made LO4.0 (release) work.

So, I guess that the library does not segfault because of the remaining _
character (or that there are two different causes for segfault) but because
something happens interpreting ca-ES-valencia...

From the stack traces, seems that  lt_bool_t lt_tag_parse(lt_tag_t *tag,  const
char *tag_string, lt_error_t **error) does something strange (writing null vma)
when fed with the wrong string from  LanguageTag::canonicalize() .
As I'm not a developer, I'm unable to tell anything more.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-02-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #22 from akusebi mak...@t-online.hu ---
This workaround works for me as well! I moved the same ca_ES-valencia.aff 
ca_ES-valencia.dic files and now LO4 is working well.
Thanks for the workaround!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

Ewgenij Starostin bugs.freedesktop@ewgenij-starostin.name changed:

   What|Removed |Added

 CC||bugs.freedesktop.org@ewgeni
   ||j-starostin.name

--- Comment #19 from Ewgenij Starostin 
bugs.freedesktop@ewgenij-starostin.name ---
I’m also having this issue. It’s caused by the presence of the file
/usr/share/hunspell/de_DE_frami.dic (and similarly named ones) on my system.

Here’s what happens: in lingucomponent/source/lingutil/lingutil.cxx,
GetOldStyleDics(DICT) attempts to load dictionaries from /usr/share/hunspell.
It tries to sort them by language, using the LanguageTag class and its
liblangtag backend. It also tries to be smart and turn the first '_' character
of the dictionary filename into '-' if no '-' was present, in the hope of
obtaining a locale string from which LanguageTag can derive a language
identifier. In my case, however, this yields de-DE_frami, which is not a
valid locale. LanguageTag passes it to liblangtag, which tries to construct an
error message (Invalid character for tag: '%c', '_') but segfaults in the
process.

I have not attempted to find out why liblangtag’s error handling fails, but at
the core of the issue is the GetOldStyleDics code. Easy fix: after replacing
the first '_' by '-' (if no '-' was present), if another '_' remains, delete it
and any trailing text.

I don’t have the hardware to compile and test a patch, unfortunately.

By way of verification, I tried ‘mv /usr/share/hunspell
/usr/share/hunspell-bck’ and LO started normally. When I moved the directory
back, the crash occured again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #20 from Ewgenij Starostin 
bugs.freedesktop@ewgenij-starostin.name ---
P.S. The following command works for me as a temporary fix:
for i in /opt/libreoffice4.0/program/lib{lnth,spell,hyphen}lo.so ; do sed -i -e
's,/usr/share/hunspell,NONESUCHNONESUCHFOO,g' $i ; done

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-02-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #18 from mak...@t-online.hu ---
Hi everyone,

I downloaded the final stable release's (4.0.0.3) deb files and installed. The
symptons are the same: LibreOffice loads, if I click on a menu item, or type
some text the app crashes. If I re-launch it quits immediately after the splash
screen. If I remove the libreoffice directory in ~/.config it loads again.

I'm running Ubuntu 12.10 64 bit and have several languages installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-01-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #17 from A.S. as...@isa.upv.es ---
For your info, I tested 4.0-rc1 and the bug is present there (expectedly, I
guess, as it was in the night builds it was generated from). I wonder if it's
only my machine which has three languages installed (I guess that this
configuration is not so common). If it's a compiler-bug issue as Lemoyne
suspects, maybe it's time to leave it on hold until ubuntu packagers compile it
against with a different compiler version, libraries, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-01-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|NEW
 CC||jmadero@gmail.com

--- Comment #16 from Joel Madero jmadero@gmail.com ---
I am marking this as NEW as it at least was a problem. Once the patch is
committed to nightly please mark as RESOLVED FIXED. 

@LeMoyne - should A.S. already have seen the fix in today's daily build?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #15 from A.S. as...@isa.upv.es ---
The bug is still present in daily build:
libreoffice-4-0~2013-01-08_03.34.40_LibO-Dev_4.0.0.0.beta2_Linux_x86-64_install-deb_en-US.tar.gz

Apport crash log for the latest version:

https://dl.dropbox.com/u/2981119/bugsLoDev4/_opt_lodev4.0_program_soffice.bin.1002.crash.tar.gz

I don't know if the master patch has made its way into LO 4.0 branch, but there
is nothing in master for Linux-64 bit to test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2013-01-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #12 from LeMoyne Castle lemoyne.cas...@gmail.com ---
I submitted the min fix patch to fix a compile error I was having on Ubu 10.04
with gcc-4.4.3   Compile time type resolution was failing inside a complex
nested constructor call.  It is possible that the errors here are from a
similar compiler problem that doesn't error out at compile time, but writes
junk and errors at run-time.  A bit of a shot in the dark, but the BTs here go
right through at least one of the patched lines.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2012-12-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

LeMoyne Castle lemoyne.cas...@gmail.com changed:

   What|Removed |Added

Summary|BASIC: Libreoffice 4.0  |Libreoffice 4.0 crashes in
   |crashes on startup on   |LanguageTag constructor at
   |Ubuntu 12.10 64bit  |start on Ubuntu 12.10 64bit
  Component|BASIC   |Linguistic

--- Comment #10 from LeMoyne Castle lemoyne.cas...@gmail.com ---
I confirm I have seen nothing like this on Ubuntu 32bit with a variety of home
built master, nightly build and beta testing in 32bit Ubu 10.04.  
Is not a BASIC language bug though it is a bug in the basic function of
creating a LanguageTag (the very first?).
So far crash is reported only for 64bit Ubuntu 12.10.
Crash reported for all recent 64bit versions: both betas and in nightly build
from master - not clear to me what is the correct report version value but
dialed it back to beta 1 as the first released version.  
BT info from A.S. matches bt on Bug 58092 reported against beta1;  Null pointer
usage is in this context in all traces: 
#5  0x75f1c66b in _lt_tag_parse () ...
#6  0x75f127ca in LanguageTag::canonicalize() const () ...
#7  0x75f135e0 in LanguageTag::LanguageTag(rtl::OUString const, bool)
() ...
5 through 7 inside /opt/lodev4.0/program/libi18nisolang1gcc3.so
Changed component to Linguistic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 58417] Libreoffice 4.0 crashes in LanguageTag constructor at start on Ubuntu 12.10 64bit

2012-12-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58417

--- Comment #11 from A.S. as...@isa.upv.es ---
Concerning last remark by Lemoine Castle, I confirm that the 32bit Dec26
nightly build does NOT seem to be affected by this issue in a fully-updated
Ubuntu 12.10 32bit machine. Both the failing 64bit one and the 32bit one have
Spanish, English and Catalan locales installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs