https://bugs.freedesktop.org/show_bug.cgi?id=65823

--- Comment #2 from Mark Wielaard <[email protected]> ---
I tried with an official beta2 build and it does indeed not crash.
LibreOfficeDev_4.1.0.0.beta2_Linux_x86-64_rpm.tar.gz 
Version: 4.1.0.0.beta2
Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6

Apparently asserts are not triggered on release builds, but they are in my
debug build. There is definitely an issue though. When running with --valgrind
you will see the following when selecting "bedankt":

==18656== Invalid read of size 2
==18656==    at 0x2D4DD963: SwScanner::SwScanner(SwTxtNode const&,
rtl::OUString const&, unsigned short const*, ModelToViewHelper const&, unsigned
short, int, int, unsigned char) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libswlo.so)
==18656==    by 0x2D4E1D3C: SwTxtNode::CountWords(SwDocStat&, unsigned short,
unsigned short) const (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libswlo.so)
==18656==    by 0x2D1D9561: SwDoc::CountWords(SwPaM const&, SwDocStat&) const
(in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libswlo.so)
==18656==    by 0x2D2E082D: SwEditShell::CountWords(SwDocStat&) const (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libswlo.so)
==18656==    by 0x2D93460C: SwView::StateStatusLine(SfxItemSet&) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libswlo.so)
==18656==    by 0x6522FF9: SfxShell::CallState(void (*)(SfxShell*,
SfxItemSet&), SfxItemSet&) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsfxlo.so)
==18656==    by 0x651CBC3: SfxDispatcher::_FillState(SfxSlotServer const&,
SfxItemSet&, SfxSlot const*) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsfxlo.so)
==18656==    by 0x627F232: SfxBindings::Update_Impl(SfxStateCache*) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsfxlo.so)
==18656==    by 0x6280FA7: SfxBindings::NextJob_Impl(Timer*) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsfxlo.so)
==18656==    by 0x81AC564: Timer::ImplTimerCallbackProc() (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvcllo.so)
==18656==    by 0x153AE0F2: sal_gtk_timeout_dispatch (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvclplug_gtklo.so)
==18656==    by 0x327DC38F0D: g_main_context_dispatch (gmain.c:1960)
==18656==    by 0x327DC3C937: g_main_context_iterate (gmain.c:2591)
==18656==    by 0x327DC3CA39: g_main_context_iteration (gmain.c:2654)
==18656==    by 0x153AE329: GtkData::Yield(bool, bool) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvclplug_gtklo.so)
==18656==    by 0x81A49F0: Application::Yield(bool) (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvcllo.so)
==18656==    by 0x81A4AA6: Application::Execute() (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvcllo.so)
==18656==    by 0x4E943D1: desktop::Desktop::Main() (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsofficeapp.so)
==18656==    by 0x81AAEA7: ImplSVMain() (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvcllo.so)
==18656==    by 0x81AAEDF: SVMain() (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libvcllo.so)
==18656==    by 0x4EBF719: soffice_main (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/libsofficeapp.so)
==18656==    by 0x4007CA: main (in
/home/mark/libreoffice-4.1.0.0.beta2/opt/libreofficedev4.1/program/soffice.bin)
==18656==  Address 0x1ef4293e is not stack'd, malloc'd or (recently) free'd
==18656==

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to