Magnus Larsson wrote:
DJ Lucas wrote:



Hello DJ Lucas,

Thank you for your build instruction. It works for me, besides some problems
related to Impress and templates. Impress will crash when selecting a template.


You are welcome, thanks for testing it.

Test:
1) Start simpress. The presentation wizard starts.
2) Select "From template". 3) OpenOffice crashes when the "From template" tick box is selected.
A gdb bt looks like this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233459536 (LWP 11082)]
0xb20b25a2 in SvxUnoTextRangeBase::_getPropertyValues ()
from /opt/openoffice-2.0/program/libsvx680li.so
(gdb) bt
#0  0xb20b25a2 in SvxUnoTextRangeBase::_getPropertyValues ()
from /opt/openoffice-2.0/program/libsvx680li.so
#1  0xb1b1dae5 in XMLTextImportHelper::InsertControlCharacter ()
from /opt/openoffice-2.0/program/libxo680li.so
#2  0xb1b37b13 in XMLTextParagraphExport::exportPageFrames ()
from /opt/openoffice-2.0/program/libxo680li.so
#3  0xb7858023 in SvRefBase::QueryDelete ()
from /opt/openoffice-2.0/program/libtl680li.so
#4  0xb1aa2bd6 in SvXMLImport::endDocument ()
from /opt/openoffice-2.0/program/libxo680li.so
#5  0xb1a9efba in SvXMLImport::endElement ()
from /opt/openoffice-2.0/program/libxo680li.so
#6  0xb5617045 in component_writeInfo ()
from /opt/openoffice-2.0/program/sax.uno.so
#7  0xb55e511b in doContent (parser=0x8140c20, startTagLevel=0,
enc=0xb55f9c80,
    s=0x815f154 "<text:p/></draw:image></draw:frame><draw:frame
presentation:style-name=\"prs-novelty-title\"
draw:layer=\"backgroundobjects\" svg:width=\"23.911cm\"
svg:height=\"3.506cm\" svg:x=\"2.058cm\" svg:y=\"1.943cm\" pres"...,
end=0x815f5d8 "", nextPtr=0x8140c38, haveMore=1 '\001') at
lib/xmlparse.c:2372
#8  0xb55e5fbe in contentProcessor (parser=0x8140c20, start=0xb72e48e0
"h·Z¶\210·Z¶\020¥\b\b\006",
    end=0xb72e48e0 "h·Z¶\210·Z¶\020¥\b\b\006", endPtr=0xb72e48e0) at
lib/xmlparse.c:2003
#9  0xb55dd74c in XML_ParseBuffer (parser=0x8140c20, len=5519, isFinal=0) at
lib/xmlparse.c:1562
#10 0xb55ddbc5 in XML_Parse (parser=dwarf2_read_address: Corrupted DWARF
expression.
) at lib/xmlparse.c:1533
#11 0xb561747b in component_writeInfo ()
from /opt/openoffice-2.0/program/sax.uno.so
#12 0xb5617d11 in component_writeInfo ()
from /opt/openoffice-2.0/program/sax.uno.so
#13 0xb04b0119 in SdPage::removeAnimations ()
from /opt/openoffice-2.0/program/libsd680li.so
#14 0xb04b057f in SdPage::removeAnimations ()
from /opt/openoffice-2.0/program/libsd680li.so
#15 0xb04b1084 in SdPage::removeAnimations ()
from /opt/openoffice-2.0/program/libsd680li.so
#16 0xb0455bdf in sd::DrawDocShell::Load ()
from /opt/openoffice-2.0/program/libsd680li.so
#17 0xb37edff9 in SfxObjectShell::LoadOwnFormat ()
from /opt/openoffice-2.0/program/libsfx680li.so
#18 0xb37f23dd in SfxObjectShell::DoLoad ()
from /opt/openoffice-2.0/program/libsfx680li.so
#19 0xb376f730 in SfxApplication::LoadTemplate ()
from /opt/openoffice-2.0/program/libsfx680li.so
#20 0xb021ad2c in CreateDialogFactory ()
from /opt/openoffice-2.0/program/libsdui680li.so
#21 0xb021b757 in CreateDialogFactory ()
from /opt/openoffice-2.0/program/libsdui680li.so
#22 0xb021be13 in CreateDialogFactory ()
from /opt/openoffice-2.0/program/libsdui680li.so
#23 0xb021be8a in CreateDialogFactory ()
from /opt/openoffice-2.0/program/libsdui680li.so
#24 0xb7d0c13e in Help::ShowTip ()
from /opt/openoffice-2.0/program/libvcl680li.so


Taking a blind stab in the dark, libxmlsec is my first suspect...there were some build problems that IIRC David or Jeremy had hit (see the OpenOffice-1.1.5 thread on BLFS-Support from 20050924). This involved a minor package version update.

I am using the configure switches from the build instruction with the
addition of --with-lang=ENUS --with-dict=ENUS.
./configure --prefix=/opt/openoffice-2.0 \
    --with-lang=ENUS --with-dict=ENUS --enable-libart --enable-libsn \
    --disable-fontooo --without-fonts \
    --with-system-stdlibs --with-system-freetype \
    --with-system-zlib --with-system-jpeg \
    --with-system-expat --with-system-libxml \
    --with-system-curl --enable-build-mozilla \
    --with-build-version=BLFS-20051020 \
    --with-package-format=native --disable-binfilter


The --with-lang and --with-dict switches should not be necessary for english(us) and german. These are built by default no matter what switches you pass. So we are still on the same page. My system should be very close to yours as well.


My base system is lfs-svn-2005-09-09. (gcc 4.0.1)

Linux lfs 2.6.13 #1 Sun Sep 11 13:08:15 CEST 2005 i686 pentium4 i386
GNU/Linux

Can you reproduce this crash?

I can start Impress if I select "empty presentation" and "create".

Please note:
I have applied one extra patch, besides the ones used in your build
instruction, since I had another impress problem with a crash triggered by
selecting a layout. (I did a manual edit of forbiddencharacterstable.cxx).
http://www.openoffice.org/issues/show_bug.cgi?id=54233. The patch solved this particular problem for me.


Thanks for the feedback, and yes I can reproduce the problem. I'm sure there are more bugs to be found yet. I'll look into both shortly, of course, fell free to beat me to it. :-) Hacking at OOo is pretty easy, just update build.lst (individual packages if changing versions) and remove the unxlngi6.pro directories in each of the project directories. Don't forget to remove the solver/680/unxlngi6.pro too so that everything is copied fresh from the build trees, tho I've been told it's not necessary :-/ I don't listen well.

Thanks again.

-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to