Description of problem: I have the same problem of #1239 with i586 on MGA1. Even with 3.3.3 of updates-testing it crashes : swriter.bin[9847]: segfault at 33 ip a670d594 sp bfbf5e10 error 4 in libhunspell-1.2.so.0.0.0[a66fd000+52000] As 3.4.1 solved the problem in Cauldron (see #1239), can it be provided in 1/updates_testing ? Version-Release number of selected component (if applicable): 3.3.3 How reproducible: - always with a test file I have (but it cannot be attached to a public bugzilla)
Assignee: bugsquad => dmorganec
I forgot to mention that my testfile does not crash on i586 cauldron.
Shouldn't you mention this bug also in bug #2010 ?
CC: (none) => stormiBlocks: (none) => 2010
(In reply to comment #2) > Shouldn't you mention this bug also in bug #2010 ? Done.
providing LO 3.4 in mageia 1 is a "no way" answer. Can you report the bug on LO bugzilla ?
Well, I can report, but if it is fixed in 3.4.x, and I am not using their RPMS, I know it won't get much love. Still, I feel this bug is so big for a daily tool that we should consider 3.4 again : on their website they say : "Safely for production need by most users - LibreOffice 3.4.2, available at the end of July, will target enterprise deployments."
Does it crash with L.O 3.3.2.2 ?
Yes, it also crashes with L.O 3.3.2.2 .
ok, that's interesting to know because it means that the update to 3.3.3.1 brought no regression, so I think this should not prevent to issue the update. Now, the best thing to do would be try to backport the fix from libreoffice 3.4.x, so first isolate it (by searching for closed bugs in libreoffice history for example, or asking to a LO dev) Is that file something you could send directly by mail to a developer ?
I tested with several configurations : - Cauldron 3.4.1 : NO CRASH - MGA1 3.3.2.2 : CRASH - MGA1 3.3.3 : CRASH - MGA1 with 3.3.3 rpms from LO upstream : NO CRASH. So it is not an upstream bug, maybe a CPU optimisation we do? The segfault is in libhunspell, RPMS from upstream don't use it I suppose.
Yes I can send the file to a developer. Still, this is not a bug fixed by 3.4.x, since 3.3.3 rpms from libreoffice do not crash. It should be in a difference between Cauldron and MGA1 builds. I can see that LO is built against libhunspell-1.3.so in Cauldron, while it is libhunspell-1.2.so in MGA1.
could you run LO in gdb, see it crash, install the missing debug packages that gdb will want, then start again and give us a backtrace ?
you can try also to build LO locally against libhunspell-1.3.so and see if it solves the problem (hours of building fun !)
(In reply to comment #9) > I tested with several configurations : > - Cauldron 3.4.1 : NO CRASH > - MGA1 3.3.2.2 : CRASH > - MGA1 3.3.3 : CRASH > - MGA1 with 3.3.3 rpms from LO upstream : NO CRASH. > > So it is not an upstream bug, maybe a CPU optimisation we do? > The segfault is in libhunspell, RPMS from upstream don't use it I suppose. This is interesting. maybe you can link LO with gdb to provide a good backtrace that could help to indentify the crash. Can you provide a test file ? i have a mageia 1 to do tests
(In reply to comment #13) > (In reply to comment #9) > > I tested with several configurations : > > - Cauldron 3.4.1 : NO CRASH > > - MGA1 3.3.2.2 : CRASH > > - MGA1 3.3.3 : CRASH > > - MGA1 with 3.3.3 rpms from LO upstream : NO CRASH. > > > > So it is not an upstream bug, maybe a CPU optimisation we do? > > The segfault is in libhunspell, RPMS from upstream don't use it I suppose. > > This is interesting. maybe you can link LO with gdb to provide a good backtrace > that could help to indentify the crash. > > > Can you provide a test file ? i have a mageia 1 to do tests File sent to D Morgan privately. While trying, I found out only a i586 system that does not crash with it, over 5 different. It was migrated from MDV with urpmi, while all others were installed from Live USB, and has a Pentium IV, while others are more recent (Pentium M / Arrandale).
tks i received your file and i will look if i can reproduce and find a "solution"
I observed similar crashes, see my recent post : https://forums.mageia.org/en/viewtopic.php?f=8&t=851 the log i got : 27/07/2011 05:50:29 localhost kernel scalc.bin[3390]: segfault at 95 ip 00007ffb28a88d23 sp 00007fff27f07300 error 4 in libhunspell-1.2.so.0.0.0[7ffb28a77000+50000] See also bug 1239
CC: (none) => serge.moreau
(In reply to comment #15) > tks i received your file and i will look if i can reproduce and find a > "solution" Sorry to be always there, but any news?
i can't reproduce here. i really need you start libreoffice ( scalc.bin ) in gdb and to provide me a backtrace .
Created attachment 703 [details] Gdb backtrace Maybe you could not reproduce because you opened the file after lanching LO. I found out that this way it does not crash. So : gdb /usr/lib/libreoffice/program/swriter.bin then open the file does not crash gdb --args /usr/lib/libreoffice/program/swriter.bin doc.rtf crashes - trace attached. A silly workaround for this bug is to have already an opened LO when clicking on the file manager ;-)
Attachment 703 mime type: application/octet-stream => text/plain
The backtrace clearly shows that the problem is in hunspell. As the same version of libreoffice crashes in Mageia 1 and not in cauldron, this is where we must investigate. André, as you are potentially interested in maintaining hunspell, could you compare the versions in cauldron and Mageia 1, look at the upstream changelogs and see if you find anything ? It would be good also to rebuild the cauldron hunspell on mageia 1 and see if LO still crashes (you can ask José for a crash-prone file). If it still crashes, try rebuilding LO against the rebuilt hunspell. If it still crashes, then hunspell is not a culprit but maybe one of its deps. I'm not a debugging expert, so please correct me if I said nonsense :)
CC: (none) => andre999
CC: andre999 => andre999mga
Created attachment 955 [details] gdb output Ok i'm also affected by a crash related to hunspell on mageia 1 i586. There's also some related crash found on debian ( http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg948367.html )
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644506, it supposed to be fixed in 1.3.2 version of libhunspell (however there's an abi change in it) so we should check the libhunspell svn to see if we can narrow the fix.
CC: (none) => balcaen.john
Summary: libreoffice crash (with a possible solution) => libreoffice crash (due to libhunspell)
Samuel, I just noticed your message after getting Mikala's comment. (I corrected all my wrong adresses in Bugzilla.) I'll take a look at it. I'm not a debugging expert either, but that approach makes sense to me.
@jose i'm going to build the 1.2.15 to see if it's fixing the problem here (since there's no ABI change in this version & according the changelog it's just bug fixes) if it's working for me will you test it ? (& then could you specify your arch ? )
(In reply to comment #24) > @jose > i'm going to build the 1.2.15 to see if it's fixing the problem here (since > there's no ABI change in this version & according the changelog it's just bug > fixes) > if it's working for me will you test it ? (& then could you specify your arch > ? ) Of course. For the arch, please note that this bug is against i586 only : this crash does not happen on x86_64...
(In reply to comment #25) > (In reply to comment #24) > > @jose > > i'm going to build the 1.2.15 to see if it's fixing the problem here (since > > there's no ABI change in this version & according the changelog it's just bug > > fixes) > > if it's working for me will you test it ? (& then could you specify your arch > > ? ) > > Of course. For the arch, please note that this bug is against i586 only : this > crash does not happen on x86_64... Sorry but for me it also occurs on x86-64, see my comment 16. SM
(In reply to comment #26) > Sorry but for me it also occurs on x86-64, see my comment 16. > Well, I must be missing something, as I cannot find x86_64 in the comment 16 and it's links...
> Well, I must be missing something, as I cannot find x86_64 in the comment 16 > and it's links... OK your are right, i did not mentioned that, but its really the case, my machine run on mageia 1 x86-64 SM
Comparing the spec files for versions 1.3.2-2 (cauldron) and 1.2.13-3 (mga1), the only potentially problematic change is in the devel package. There is no version dependance in any of the requires except for the contained hunspell packages. So could affected users try the hunspell and libhunspell versions from cauldron in Mageia 1, and see if that solves their problems ? @mikala, stormi The change in the development version is that %{_libdir}/libhunspell-%{version}.a and %{_libdir}/libhunspell-%{version}.la are dropped. (The latter explicitly erased as well.) I don't remember from the discussions if that could be a problem. If it is, and 1.3.2 solves this issue (without introducing anything new), we will have to modify the devel part for mga1. If not, we couldn't we just change the mga2 in the cauldron package to mga1 to make an update for mga1 ?
I meant just resubmit the same .src.rpm in cauldron as an update to mga1, which would just change the mga2 to mga1. Note that libreoffice doesn't specify a version of hunspell.
(In reply to comment #29) > Comparing the spec files for versions 1.3.2-2 (cauldron) and 1.2.13-3 (mga1), > the only potentially problematic change is in the devel package. No. The big change is the API version changes between 1.3.2 & 1.2.13 (you can check the hunspell changelog for this). Since there's an API change you can't submit it as an update for mageia1 since it's going to require (due to the API change) a rebuild of all packages linked to the hunspell library. > There is no version dependance in any of the requires except for the contained > hunspell packages. > > So could affected users try the hunspell and libhunspell versions from cauldron > in Mageia 1, and see if that solves their problems ? It won't fix anything until a rebuild as say before. > @mikala, stormi > The change in the development version is that > > %{_libdir}/libhunspell-%{version}.a > and > %{_libdir}/libhunspell-%{version}.la > > are dropped. (The latter explicitly erased as well.) > I don't remember from the discussions if that could be a problem. > > If it is, and 1.3.2 solves this issue (without introducing anything new), > we will have to modify the devel part for mga1. You might notice that -devel is not installed by default & of course are not used by runtime application, it was useful only for building packages against hunspell. In the cauldron package we simply dropped thoses statics devel files > If not, we couldn't we just change the mga2 in the cauldron package to mga1 to > make an update for mga1 ? As explained above it won't work. Jose & Serge > Could you test thoses packages ( http://blog.littleboboy.net/~mikala/hunspell/ ) both arch are available i586 & x86_64 Here it seems to work correctly on my netbook. I did not push on updates_testing because i also want to test « older » versions such as 1.2.13 & 1.2.14 to see if i can narrow the « version » which includes the fix & then eventually only « extract » the correct patch to apply on our 1.2.12.
Hardware: i586 => AllSource RPM: libreoffice => hunspell-1.2.12-3.mga1.src.rpm
OK, you are on the right way. It works on both arch.The unstable calc file seems to be usable again. I will check further by introducing new data. SM
(In reply to comment #31) > (In reply to comment #29) > > Comparing the spec files for versions 1.3.2-2 (cauldron) and 1.2.13-3 (mga1), > > the only potentially problematic change is in the devel package. > No. > The big change is the API version changes between 1.3.2 & 1.2.13 (you can check > the hunspell changelog for this). > Since there's an API change you can't submit it as an update for mageia1 since > it's going to require (due to the API change) a rebuild of all packages linked > to the hunspell library. I had checked everything _except_ the 100+ hunspell localisation packages -- but looking at the de, en, es, fr localisations, they don't have any reference to the hunspell version. Since there seems to be no version reference with respect to hunspell, why would we have to rebuilt anything other than the hunspell package alone ? (The api is hunspell-specific, and virtually no hunspell localisation uses the same major/minor versions.) After sending comments 29/30, I searched the dev list for the .la question, and I understand more or less how that works now. Thanks for the feedback.
(In reply to comment #33) > (In reply to comment #31) > > (In reply to comment #29) > > > Comparing the spec files for versions 1.3.2-2 (cauldron) and 1.2.13-3 (mga1), > > > the only potentially problematic change is in the devel package. > > No. > > The big change is the API version changes between 1.3.2 & 1.2.13 (you can check > > the hunspell changelog for this). > > Since there's an API change you can't submit it as an update for mageia1 since > > it's going to require (due to the API change) a rebuild of all packages linked > > to the hunspell library. > > I had checked everything _except_ the 100+ hunspell localisation packages -- > but looking at the de, en, es, fr localisations, they don't have any reference > to the hunspell version. > Since there seems to be no version reference with respect to hunspell, why > would we have to rebuilt anything other than the hunspell package alone ? > (The api is hunspell-specific, and virtually no hunspell localisation uses the > same major/minor versions.) i was not talking about hunspell localisation packages but others package relying on libhunspell like for example libreoffice see : urpmq --requires libreoffice-core --use-distrib /Public/pub/linux/Mageia/distrib/1/x86_64/ |grep hunspell --requires behaviour changed, use --requires-recursive to get the old behaviour libreoffice-core: hunspell libreoffice-core: libhunspell-1.2.so.0()(64bit) libreoffice-core: hunspell libreoffice-core: libhunspell-1.2.so.0()(64bit) if you want to upgrade to hunspell 1.3.2 you'll need to rebuild *at* least libreoffice-core,lokalize (kdesdk), xulrunner, mozilla-thunderbird, enchant & iceape.
Sorry, I didn't think of looking at libhunspell. Thanks for pointing that out. In that case, it would have helped (at least me) if the version were in the hunspell require as well. Since they are built from the same srpm. In any case, I'm learning ;)
(In reply to comment #31) > Jose & Serge > > Could you test thoses packages ( http://blog.littleboboy.net/~mikala/hunspell/ > ) > both arch are available i586 & x86_64 > Here it seems to work correctly on my netbook. I have no access to the hardware where it crashes. But if Serge said it works, I think we should go with it, as this is a huge problem. Yesterday, a friend had just the same problem in Mageia 1 i586. This is very bad to Mageia image, as Libreoffice is very used.
I can confirm that i have been using the hunspell pacakages for a month now, and that i did not observed any problems. SM
Ok. I'm pushing the packages on updates /testing For QA : This new hunspell fix a crash of libreoffice. The problem is to be able to reproduce it since it's not always trivial to trigger it (it was happening everytime on my i586 but with the same odt it was not on x86_64 however some users have the same crash on x86_64). You need at least to have hunspell enable in libreoffice. We should also check that nothing worse happens in others applications using hunspell after the update. According to the changelog there's also others crash fixed (some of them related to firefox) but i was not able to narrow the correct fix to provide only it to mageia 1. It was also tested without problem since one month by me & at least Serge Moreau. Advisory : ________________________________________________________________________ Mageia Bug Fix Advisory Distribution: Mageia 1 Package: hunspell ________________________________________________________________________ This update fix a crash of libreoffice due to hunspell (mga #2272) ________________________________________________________________________ Updated packages: hunspell-1.2.15-1.1.mga1.src.rpm Mageia 1, i586: hunspell-1.2.15-1.1.mga1.i586.rpm hunspell-debug-1.2.15-1.1.mga1.i586.rpm lib64hunspell1.2_0-1.2.15-1.1.mga1.i586.rpm lib64hunspell-devel-1.2.15-1.1.mga1.i586.rpm Mageia 1, x86_64: hunspell-1.2.15-1.1.mga1.x86_64.rpm hunspell-debug-1.2.15-1.1.mga1.x86_64.rpm lib64hunspell1.2_0-1.2.15-1.1.mga1.x86_64.rpm lib64hunspell-devel-1.2.15-1.1.mga1.x86_64.rpm
Assignee: dmorganec => qa-bugs
I've tried to recreate the crash using the Core Release version of hunspell, and the files/command from http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg948367.html but it doesn't crash. Also tried various mis-spellings and right clicking on the mis-spelt word in libreoffice. Does anyone have a file/method that consistently crashes?
CC: (none) => davidwhodgins
The updates have not shown up in http://twiska.zarb.org/mageia/distrib/1/i586/media/core/updates_testing or http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates_testing
(In reply to comment #40) > The updates have not shown up in They should be available soon (or already now).
Testing complete on i586 for the srpm hunspell-1.2.15-1.1.mga1.src.rpm As I could not recreate the error, and "urpmq --whatrequires-recursive hunspell" only shows libreoffice as a package requiring hunspell, I've only checked that spell checking is working in libreoffice writer.
Hi everyone, I bumped into this bug some weeks ago, but I had no time (and not enough urge) to try to solve it. But as one of my file to deliver for yesterday was concerned, I tried to dig deeper and found this topic. I'm using a Mageia 1 on x86_64, and I encountered the same bug every time I loaded a calc test file in LO. The general protection fault was also due to hunspell. And good new: after installing the update testing rpm of hunspell everything seems to work fine. No crash for the moment. I hope this is rock solid! Thank you very much!
CC: (none) => mageia
Validating the update. Could someone from the sysadmin team push the srpm hunspell-1.2.15-1.1.mga1.src.rpm from Core Updates Testing to Core Updates. Advisory: This update fixes a segfault when using libreoffice caused by hunspell. https://bugs.mageia.org/show_bug.cgi?id=2272
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Update pushed.
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED