OOo freezes after trying to insert a picture

Bug #151221 reported by turox
14
Affects Status Importance Assigned to Milestone
gnome-themes (Ubuntu)
Confirmed
Undecided
Unassigned
openoffice.org (Ubuntu)
New
Undecided
Unassigned

Bug Description

OOo Version: latest

Try to insert a png/jpg picture in a blank writer document by insert->pictures OOo freezes.
Try to insert a picture over the gallery button, is still the same problem.

After starting the OOo writer over the console (ooffice -writer), I get the following message:

[code]turox@tserver:~$ *** glibc detected *** /usr/lib/openoffice/program/soffice.bin: munmap_chunk(): invalid pointer: 0x0877bca0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb6a7f92b]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb6361961]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5783d29]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11SalGraphics22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueR16SalControlHandleRKN3rtl8OUStringERS0_SC_PK12OutputDevice+0x17b)[0xb7d46a8b]
/usr/lib/openoffice/program/libvcl680li.so(_ZN6Window22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueN3rtl8OUStringERS0_S8_+0x103)[0xb7e07633]
/usr/lib/openoffice/program/libvcl680li.so(_ZN7ListBox6ResizeEv+0x18c)[0xb7e50d9c]
/usr/lib/openoffice/program/libvcl680li.so[0xb7dedd14]
/usr/lib/openoffice/program/libvcl680li.so(_ZN6Window4ShowEht+0xca)[0xb7df04ea]
/usr/lib/openoffice/program/libsvx680li.so[0xb1f4736f]
/usr/lib/openoffice/program/libsvx680li.so(_ZN25SvxGrafModeToolBoxControl16CreateItemWindowEP6Window+0x41)[0xb1f47411]
/usr/lib/openoffice/program/libsfx680li.so(_ZN17SfxToolBoxControl16createItemWindowERKN3com3sun4star3uno9ReferenceINS2_3awt7XWindowEEE+0x47)[0xb3025237]
/usr/lib/openoffice/program/libfwk680li.so[0xb29ad349]
/usr/lib/openoffice/program/libfwk680li.so[0xb29b5172]
/usr/lib/openoffice/program/libfwk680li.so[0xb29a41a4]
/usr/lib/openoffice/program/libfwk680li.so[0xb299f7d3]
/usr/lib/openoffice/program/libfwk680li.so[0xb28ff7ff]
/usr/lib/openoffice/program/libfwk680li.so[0xb28a6416]
/usr/lib/openoffice/program/libfwk680li.so[0xb28c1356]
/usr/lib/openoffice/program/libfwk680li.so[0xb28bff8b]
/usr/lib/openoffice/program/libsfx680li.so[0xb2e9dd16]
/usr/lib/openoffice/program/libsfx680li.so[0xb2e9e01b]
/usr/lib/openoffice/program/libsfx680li.so[0xb2fe2cfb]
/usr/lib/openoffice/program/libsfx680li.so[0xb2fdb1fe]
/usr/lib/openoffice/program/libsfx680li.so[0xb2fdb4c8]
/usr/lib/openoffice/program/libvcl680li.so(_ZN5Timer7TimeoutEv+0x1c)[0xb7c0784c]
/usr/lib/openoffice/program/libvcl680li.so(_ZN5Timer21ImplTimerCallbackProcEv+0x79)[0xb7c07a39]
/usr/lib/openoffice/program/libvclplug_gen680li.so(_ZNK10X11SalData7TimeoutEv+0x2a)[0xb5365aba]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5763236]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5763271]
/usr/lib/libglib-2.0.so.0[0xb635a8d6]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb635a11c]
/usr/lib/libglib-2.0.so.0[0xb635d55f]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x65)[0xb635dac5]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5765201]
/usr/lib/openoffice/program/libvclplug_gen680li.so(_ZN14X11SalInstance5YieldEbb+0x37)[0xb5373927]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11Application5YieldEb+0x59)[0xb7c01559]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11Application7ExecuteEv+0x3c)[0xb7c0167c]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x145d)[0x806f07d]
/usr/lib/openoffice/program/libvcl680li.so[0xb7c0734c]
/usr/lib/openoffice/program/libvcl680li.so(_Z6SVMainv+0x35)[0xb7c07455]
/usr/lib/openoffice/program/soffice.bin(main+0xcf)[0x806150f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb6a28050]
/usr/lib/openoffice/program/soffice.bin(_ZN6Window15SetPosSizePixelEllllt+0x365)[0x80613d1]
======= Memory map: ========
08048000-0809d000 r-xp 00000000 08:01 5112586 /usr/lib/openoffice/program/soffice.bin
0809d000-0809e000 rw-p 00054000 08:01 5112586 /usr/lib/openoffice/program/soffice.bin
0809e000-08a6c000 rw-p 0809e000 00:00 0 [heap]
ad84a000-ad947000 r--p 00000000 08:01 5112973 /usr/lib/openoffice/help/en/swriter.ht
ad947000-ada69000 r--p 00000000 08:01 5112972 /usr/lib/openoffice/help/en/swriter.db
ada69000-ada83000 r-xp 00000000 08:01 5112775 /usr/lib/openoffice/program/svtmisc.uno.so
ada83000-ada85000 rw-p 00019000 08:01 5112775 /usr/lib/openoffice/program/svtmisc.uno.so
ada85000-adab8000 r-xp 00000000 08:01 5032010 /usr/lib/libxslt.so.1.1.21
adab8000-adab9000 rw-p 00032000 08:01 5032010 /usr/lib/libxslt.so.1.1.21
adac5000-adb24000 r-xp 00000000 08:01 5112785 /usr/lib/openoffice/program/libucpchelp1.so
adb24000-adb26000 rw-p 0005f000 08:01 5112785 /usr/lib/openoffice/program/libucpchelp1.so
adb26000-adb32000 r-xp 00000000 08:01 5112718 /usr/lib/openoffice/program/libevtatt.so
adb32000-adb33000 rw-p 0000c000 08:01 5112718 /usr/lib/openoffice/program/libevtatt.so
adb33000-adb51000 r-xp 00000000 08:01 5112702 /usr/lib/openoffice/program/reflection.uno.so
adb51000-adb53000 rw-p 0001e000 08:01 5112702 /usr/lib/openoffice/program/reflection.uno.so
adb53000-adb72000 r-xp 00000000 08:01 5112735 /usr/lib/openoffice/program/introspection.uno.so
adb72000-adb73000 rw-p 0001f000 08:01 5112735 /usr/lib/openoffice/program/introspection.uno.so
adb73000-adcd4000 r-xp 00000000 08:01 5112630 /usr/lib/openoffice/program/libdbtools680li.so
adcd4000-adcde000 rw-p 00160000 08:01 5112630 /usr/lib/openoffice/program/libdbtools680li.so
adcde000-adf6b000 r-xp 00000000 08:01 5112631 /usr/lib/openoffice/program/libfrm680li.so
adf6b000-adf8b000 rw-p 0028d000 08:01 5112631 /usr/lib/openoffice/program/libfrm680li.so
adf8b000-adf8d000 rw-p adf8b000 00:00 0
adf8d000-adfa2000 r-xp 00000000 08:01 5111830 /usr/lib/openoffice/program/vbaevents680li.uno.so
adfa2000-adfa3000 rw-p 00015000 08:01 5111830 /usr/lib/openoffice/program/vbaevents680li.uno.so
adfa3000-adfa4000 ---p ad*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: double free or corruption (out): 0x089c7fd0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6b09d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6b0d800]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb63ef961]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5811d29]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11SalGraphics22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueR16SalControlHandleRKN3rtl8OUStringERS0_SC_PK12OutputDevice+0x17b)[0xb7dd4a8b]
/usr/lib/openoffice/program/libvcl680li.so(_ZN6Window22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueN3rtl8OUStringERS0_S8_+0x103)[0xb7e95633]
/usr/lib/openoffice/program/libvcl680li.so(_ZN7ListBox6ResizeEv+0x18c)[0xb7eded9c]
/usr/lib/openoffice/program/libvcl680li.so[0xb7e7bd14]
/usr/lib/openoffice/program/libvcl680li.so(_ZN6Window4ShowEht+0xca)[0xb7e7e4ea]
/usr/lib/openoffice/program/libsvx680li.so[0xb177d36f]
/usr/lib/openoffice/program/libsvx680li.so(_ZN25SvxGrafModeToolBoxControl16CreateItemWindowEP6Window+0x41)[0xb177d411]
/usr/lib/openoffice/program/libsfx680li.so(_ZN17SfxToolBoxControl16createItemWindowERKN3com3sun4star3uno9ReferenceINS2_3awt7XWindowEEE+0x47)[0xb27a8237]
/usr/lib/openoffice/program/libfwk680li.so[0xb2130349]
/usr/lib/openoffice/program/libfwk680li.so[0xb2138172]
/usr/lib/openoffice/program/libfwk680li.so[0xb21271a4]
/usr/lib/openoffice/program/libfwk680li.so[0xb21227d3]
/usr/lib/openoffice/program/libfwk680li.so[0xb20827ff]
/usr/lib/openoffice/program/libfwk680li.so[0xb2029416]
/usr/lib/openoffice/program/libfwk680li.so[0xb2044356]
/usr/lib/openoffice/program/libfwk680li.so[0xb2042f8b]
/usr/lib/openoffice/program/libsfx680li.so[0xb2620d16]
/usr/lib/openoffice/program/libsfx680li.so[0xb262101b]
/usr/lib/openoffice/program/libsfx680li.so[0xb2765cfb]
/usr/lib/openoffice/program/libsfx680li.so[0xb275e1fe]
/usr/lib/openoffice/program/libsfx680li.so[0xb275e4c8]
/usr/lib/openoffice/program/libvcl680li.so(_ZN5Timer7TimeoutEv+0x1c)[0xb7c9584c]
/usr/lib/openoffice/program/libvcl680li.so(_ZN5Timer21ImplTimerCallbackProcEv+0x79)[0xb7c95a39]
/usr/lib/openoffice/program/libvclplug_gen680li.so(_ZNK10X11SalData7TimeoutEv+0x2a)[0xb53f3aba]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb57f1236]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb57f1271]
/usr/lib/libglib-2.0.so.0[0xb63e88d6]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb63e811c]
/usr/lib/libglib-2.0.so.0[0xb63eb55f]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x65)[0xb63ebac5]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb57f3201]
/usr/lib/openoffice/program/libvclplug_gen680li.so(_ZN14X11SalInstance5YieldEbb+0x37)[0xb5401927]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11Application5YieldEb+0x59)[0xb7c8f559]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11Application7ExecuteEv+0x3c)[0xb7c8f67c]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x145d)[0x806f07d]
/usr/lib/openoffice/program/libvcl680li.so[0xb7c9534c]
/usr/lib/openoffice/program/libvcl680li.so(_Z6SVMainv+0x35)[0xb7c95455]
/usr/lib/openoffice/program/soffice.bin(main+0xcf)[0x806150f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb6ab6050]
/usr/lib/openoffice/program/soffice.bin(_ZN6Window15SetPosSizePixelEllllt+0x365)[0x80613d1]
======= Memory map: ========
08048000-0809d000 r-xp 00000000 08:01 5112586 /usr/lib/openoffice/program/soffice.bin
0809d000-0809e000 rw-p 00054000 08:01 5112586 /usr/lib/openoffice/program/soffice.bin
0809e000-08a66000 rw-p 0809e000 00:00 0 [heap]
ad9af000-adac9000 r-xp 00000000 08:01 5031340 /usr/lib/libdb-4.5.so
adac9000-adacc000 rw-p 0011a000 08:01 5031340 /usr/lib/libdb-4.5.so
adacc000-adae0000 r-xp 00000000 08:01 5111886 /usr/lib/openoffice/program/libdeploymentmisc680li.so
adae0000-adae1000 rw-p 00014000 08:01 5111886 /usr/lib/openoffice/program/libdeploymentmisc680li.so
adae1000-adb6b000 r-xp 00000000 08:01 5112755 /usr/lib/openoffice/program/deployment680li.uno.so
adb6b000-adb7100
[/code]

turox (tuxturox)
description: updated
Revision history for this message
marcogoni (cogoni) wrote :

hi,
thanks for submitting the bug.
I tried to reproduce your bug but here OOwriter works perfectly.
I can insert whatever picture.

Do you still see the bug?

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Please, can you attach information about your PC, operating system and Open Office version?

Revision history for this message
turox (tuxturox) wrote :

OK, the bug is only happen by using the crux theme.

Version and System Info:
Ubuntu Gutsy 7.10 - kernel: 2.6.22-14-generic
openoffice.org-core 1:2.3.0-1ubuntu2 Fri Sep 28 13:40:23 GMT 2007
model name: Intel(R) Pentium(R) M processor 1.86GHz
cache size: 2048 KB

Is it needed, I'll attach a gdb stack trace.

Revision history for this message
marcogoni (cogoni) wrote :

Thanks turox for chasing the bug.
Changing to confirmed since using the crux theme I can reproduce exactly the bug.
I think importance should be low since nobody uses that ugly crux theme! :D
Just joking!

Changed in openoffice.org:
status: New → Confirmed
Revision history for this message
Forlong (forlong) wrote :

I can reproduces this too. Works fine with the Human theme.

> I think importance should be low since nobody uses that ugly crux theme! :D

Haha, I was thinking the same thing. On any other theme it would be critical. ^^

Revision history for this message
turox (tuxturox) wrote :

There are some more problems with OOo-writer and the crux theme:
- go to ->Format->Page->crash
- try to export a document to a PFD-File over ->File->Export as PDF...->crash
- impossible to start OOo-impress
- spellcheck does not work

Revision history for this message
Chris Cheney (ccheney) wrote :

It appears that the crux theme is causing this problem and it also causes firefox to hang when switched to crux theme, so it doesn't seem to be isolated to just OOo.

Revision history for this message
FunkyHeniek (czerwinski-poczta) wrote :

I have the same issue with VistaBut custom theme.

Revision history for this message
sleg (ceduf) wrote :

Hi.

I also have the same problems with elegance theme. I was very surprise to see that my ooffice did not keep crashing ...

With human them, it doesn't crash.

It's a real very important bug. I'm affraid many people (new ubuntu users) will be affected.

Thanks for you're job.

Revision history for this message
Montana Harkin (montanaharkin) wrote :

Confirmed using Emerald and Compiz extensions

Revision history for this message
Montana Harkin (montanaharkin) wrote :

Also breaks when using the Gray theme. Confirmed fixed using the Human theme.

Revision history for this message
maikelmeyers (mr-meyers) wrote :

I have also big problems since using ubuntu 7.10. When I use the symbol in the toolbar for printing, everything works fine, but when I use the symbols for Print or Printer Settings in the file menu -> crash. Also Open Draw doesn't work. It crashes immediately after starting.
I saw (in german forums) that many people have the same problems with open office.

Ubuntu Gutsy 7.10 - kernel: 2.6.22-14-generic
openoffice.org-core 1:2.3.0-1ubuntu5 Mo Oct 15
model name: Intel(R) Pentium(R) M processor 1.3GHz

Revision history for this message
kaefert (kaefert) wrote :

I can confirm the bug with theme "crux" and that it doesnt appear with theme "human"
is there a fix yet?

Revision history for this message
sleg (ceduf) wrote :

You can bypass this bug by removing the 2 lines :

GtkOptionMenu::indicator_size = {...}
GtkOptionMenu::indicator_spacing = {...}

From the gtkrc file of your theme (gedit ~/.themes/crux/gtk-2.0/gtkrc)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.