Issue 113192 - Freeze when deleting text formatted with a specific font
Summary: Freeze when deleting text formatted with a specific font
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO320m18
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2010-07-16 13:34 UTC by pengutronix_mkl
Modified: 2017-05-20 11:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document to reproduce the bug (310.65 KB, application/vnd.oasis.opendocument.text)
2010-07-16 13:35 UTC, pengutronix_mkl
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pengutronix_mkl 2010-07-16 13:34:19 UTC
Hello,

the Bug can be observed with several OO versions (It also crashed with 2.x, 
3.0.x on 32 and 64 bit debian.). I'm using right now the latest stable 3.2.1 
(320m18 build 9502) on Ubuntu/Linux/64bit. The OO comes directly from 
openoffice.org.

To reproduce the bug, open the attached document, navigate to page 8. There are 
two tables talking about "UARTs", place the cursor the second table, in the line 
reading "XXX UARTs welche? XXXXX im RS485 Mode betrieben." (This is "Table5:A2 : 
Level 1").

Press "Home" to place the cursor in the beginning of the line. Then hold "shift" 
and press "End" to mark the hole line. Release "shift", then press "backspace" 
to delete the marked line. OO should hang now and take as much CPU as it gets 
(on one Core only).

When I attach a debugger to the OO, I see the following backtrace (allthough 
only some debug symbols):

#0  0x00007fb6db4409c0 in GenericSalLayout::AppendGlyph () from 
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so
#1  0x00007fb6db5cca43 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
#2  0x00007fb6db5ccb8f in ServerFontLayout::LayoutText () from 
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so
#3  0x00007fb6db3b6dba in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
#4  0x00007fb6db3b8b8c in OutputDevice::GetTextArray () from 
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so
#5  0x00007fb6c77cfb09 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#6  0x00007fb6c77e2547 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#7  0x00007fb6c76cc567 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#8  0x00007fb6c76c915f in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#9  0x00007fb6c76f7442 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#10 0x00007fb6c76f7a25 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#11 0x00007fb6c76e8e80 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#12 0x00007fb6c76ddd8d in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#13 0x00007fb6c76deba5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#14 0x00007fb6c76befe5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#15 0x00007fb6c76c2348 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#16 0x00007fb6c76c2d8b in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#17 0x00007fb6c76c3d08 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#18 0x00007fb6c7631b8c in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#19 0x00007fb6c762ddc4 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#20 0x00007fb6c76959dd in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#21 0x00007fb6c7695c10 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#22 0x00007fb6c769a1b4 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#23 0x00007fb6c769a784 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#24 0x00007fb6c769c437 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#25 0x00007fb6c762ddc4 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#26 0x00007fb6c762de0b in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#27 0x00007fb6c762de0b in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#28 0x00007fb6c762de0b in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#29 0x00007fb6c76c12b3 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#30 0x00007fb6c76c17a5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#31 0x00007fb6c76c1aed in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#32 0x00007fb6c76c34f5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#33 0x00007fb6c76c3c9b in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#34 0x00007fb6c7631b8c in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#35 0x00007fb6c762e1b5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#36 0x00007fb6c7660f8e in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#37 0x00007fb6c7662a30 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#38 0x00007fb6c7663600 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#39 0x00007fb6c7663ff6 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#40 0x00007fb6c75f466c in ViewShell::ImplEndAction () from 
/opt/openoffice.org3/program/../basis-link/program/libswlx.so
#41 0x00007fb6c75ce8c0 in SwCrsrShell::EndAction () from 
/opt/openoffice.org3/program/../basis-link/program/libswlx.so
#42 0x00007fb6c7cd4c47 in SwWrtShell::DelLeft () from 
/opt/openoffice.org3/program/../basis-link/program/libswlx.so
#43 0x00007fb6c7bd481e in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libswlx.so
#44 0x00007fb6dd31d29c in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsfxlx.so
#45 0x00007fb6dd31abe5 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsfxlx.so
#46 0x00007fb6dd31b447 in SfxDispatcher::_Execute () from 
/opt/openoffice.org3/program/../basis-link/program/libsfxlx.so
#47 0x00007fb6dd30c131 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsfxlx.so
#48 0x00007fb6dd33b656 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsfxlx.so
#49 0x00007fb6dd33d112 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsfxlx.so
#50 0x00007fb6dc7b8555 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsvtlx.so
#51 0x00007fb6db556dea in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
#52 0x00007fb6db4f7258 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
---Type <return> to continue, or q <return> to quit---
#53 0x00007fb6d40bb1af in SalDisplay::DispatchInternalEvent () from 
/opt/openoffice.org/basis3.2/program/libvclplug_genlx.so
#54 0x00007fb6d40bb1d9 in SalX11Display::Yield () from 
/opt/openoffice.org/basis3.2/program/libvclplug_genlx.so
#55 0x00007fb6d40bc7b7 in ?? () from 
/opt/openoffice.org/basis3.2/program/libvclplug_genlx.so
#56 0x00007fb6d40b8242 in SalXLib::Yield () from 
/opt/openoffice.org/basis3.2/program/libvclplug_genlx.so
#57 0x00007fb6db3126ee in Application::Yield () from 
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so
#58 0x00007fb6db3127c7 in Application::Execute () from 
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so
#59 0x00007fb6de149494 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libsofficeapp.so
#60 0x00007fb6db317f26 in ?? () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
#61 0x00007fb6db318015 in SVMain () from /opt/openoffice.org3/program/../basis-
link/program/libvcllx.so
#62 0x00007fb6de18540c in soffice_main () from 
/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so
#63 0x000000000040118b in main ()

Stack frame #40 is quite interseting, because it's the last one with a symbol. 
If I continue in the debugger for some seconds and then break again and do a 
backtrace, stack frame #40 doesn't change, but the others do, so it "loops" 
somewhere between #0 and #40.

Sometimes pressing home and end or clicking with the mouse on that suspicious 
line in the document also hangs OO, in the Backtrace I always see the 
"ViewShell::ImplEndAction" function on the stack.

Hope you can reproduce and find the bug.

cheers, Marc
Comment 1 pengutronix_mkl 2010-07-16 13:35:51 UTC
Created attachment 70651 [details]
document to reproduce the bug
Comment 2 michael.ruess 2010-07-16 14:54:53 UTC
Cannot reproduce on WindowsXP, I'll try later on ubuntu64.
Comment 3 pengutronix_mkl 2010-07-16 16:23:28 UTC
Update:

seems to be a problem with the used font. If I remove the font from the system 
everything works as expected.
Comment 4 pengutronix_mkl 2010-07-16 16:43:09 UTC
The suspicious font is from the "LTProjekt" Family.

Damn! I think I'm not allowed to distribute the font. The only downloadable 
ltprject (http://fontside.com/index.php/ltprojekt) works.

However. If you have access to lt_project, it's these ttf file:

[frogger@hardanger:.fonts]$ md5sum lt_5471*
5805e6d08cd767fbe3c767b4581f7e2a  lt_54714.ttf
e618f99876cb109dee530bdd4266255b  lt_54716.ttf
907a44a7eba8d861af6f57843b4071e6  lt_54717.ttf
689fb104f292d9879747c8b2e1c6b5f7  lt_54718.ttf

cheers, Marc
Comment 5 eric.savary 2010-07-23 23:49:19 UTC
Please send MRU and I your font files per e-mail mentioning the issue ID in the
subject line.
Comment 6 pengutronix_mkl 2010-07-24 18:23:59 UTC
done

thanks, Marc
Comment 7 eric.savary 2010-09-02 16:43:25 UTC
@HDU: reproduced as described on Ubuntu (with *our* 330m5).
In the attached document, deleting the sentence "XXX: Liste erstellen, wo XXX
möglich ist" (page 8) leads to a loop when the LT Projekt font is installed on
the system.

I'll forward you the font files by e-mail.
Comment 8 Marcus 2017-05-20 11:13:17 UTC
Reset assigne to the default "issues@openoffice.apache.org".