Issue 13815 - OpenOffice 1.0.3.1 crashes when I select the menu Insert->Object
Summary: OpenOffice 1.0.3.1 crashes when I select the menu Insert->Object
Status: CLOSED DUPLICATE of issue 11040
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: OOo 1.0.3
Hardware: Sun Solaris
: P2 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: stefan.baltzer
QA Contact: issues@ui
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-04-25 14:16 UTC by Unknown
Modified: 2003-07-22 16:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-04-25 14:16:47 UTC
When I let the mouse hover over the menu entry Insert->Object in
OpenOffice Draw and other applications of the office suite,
OpenOffice 1.0.3.1 crashes when it normally would open another submenu.
My computer has an ultrasparc processor and I tested this with
Solaris 2.7-2.9. OpenOffice is only locally installed (I don't have
root access on my machine), but that doesn't seem to be the problem.
The crash message is only 'segmentation fault'.
The problem is nasty, because I cannot insert formulas anymore
(I study mathematics!). Additionally there is an problem, that cutting
formulas from OpenOffice Math and pasting them to Openoffice Draw results
in adding normal text.
For example: If I try to circumnavigate the problem above and type
'%alpha' in the formula editor and copy it afterwards, then
I get a text object '%alpha' in OpenOffice Draw and not the special
character I wanted.
Comment 1 dankegel 2003-05-13 07:27:37 UTC
In the "aw, for what it's worth" category, I get the following
error at exactly that point on Red Hat 7.2 or 8.0 on x86 running
OpenOffice1.1beta1 under Valgrind 1.9.6.  I'm going to confirm
this bug on the admittedly weak theory that whatever's causing
this valgrind error might be the same as what's causing Stefan's
problem.  Stefan, it would help if you could upload a stack
traceback to see if it's the same as this.  See
http://kegel.com/openoffice.org for instructions on how to
get a stack traceback if needed.

==5982== Reading syms from
/opt/OpenOffice.org1.1Beta/program/libpl644li.so
==5982==    object doesn't have a symbol table
==5982==    object doesn't have any debug info
==5982== 
==5982== pthread_mutex_destroy: mutex is still in use
==5982==    at 0x410D2D2D: pthread_error (vg_libpthread.c:292)
==5982==    by 0x410D3BEB: __pthread_mutex_destroy (vg_libpthread.c:1002)
==5982==    by 0x412EA2AE: closedir (in /lib/libc-2.2.93.so)
==5982==    by 0x49D1AF3C:
XPluginManager_Impl::getPluginDescriptions() (in
/opt/OpenOffice.org1.1Beta/program/libpl644li.so)
==5982== 
==5982== ---- Attach to GDB ? --- [Return/N/n/Y/y/C/c] ---- y

(gdb) bt
#0  vg_do_syscall3 (syscallno=4294966784, arg1=5997, arg2=0, arg3=0)
    at vg_mylibc.c:92
#1  0x0000176d in ?? ()
#2  0x410d2d2d in pthread_error (
    msg=0xfffffe00 <Address 0xfffffe00 out of bounds>) at
vg_libpthread.c:292
#3  0x410d3bec in __pthread_mutex_destroy (mutex=0xfffffe00)
    at vg_libpthread.c:1002
#4  0x412ea2af in closedir () from /lib/libc.so.6
#5  0x49d1af3d in XPluginManager_Impl::getPluginDescriptions() ()
   from /opt/OpenOffice.org1.1Beta/program/libpl644li.so
#6  0x4530e32a in SvxPluginFileDlg::IsAvailable(unsigned short) ()
   from /opt/OpenOffice.org1.1Beta/program/libsvx644li.so
#7  0x48de441b in CreateObjSwGlobalDocShellDll ()
   from /opt/OpenOffice.org1.1Beta/program/libsw644li.so
#8  0x48de17bd in CreateObjSwGlobalDocShellDll ()
   from /opt/OpenOffice.org1.1Beta/program/libsw644li.so
#9  0x4472720d in SfxDispatcher::_FillState(SfxSlotServer const&,
SfxItemSet&, SfxSlot const
*) () 
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#10 0x44731579 in SfxBindings::Update_Impl(SfxStateCache*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#11 0x4473181a in SfxBindings::Update(unsigned short) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#12 0x4474cba0 in SfxVirtualMenu::Activate(Menu*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#13 0x4474b9ef in SfxVirtualMenu::Bind_Impl(Menu*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#14 0x4474ba0c in SfxVirtualMenu::Bind_Impl(Menu*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#15 0x4474cd84 in SfxVirtualMenu::Activate(Menu*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#16 0x4474bd4d in SfxVirtualMenu::LinkStubActivate(void*, void*) ()
   from /opt/OpenOffice.org1.1Beta/program/libsfx644li.so
#17 0x404cfdec in Menu::Activate() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#18 0x404d5308 in PopupMenu::ImplExecute(Window*, Rectangle const&,
unsigned long, Menu*, un
signed char) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#19 0x404d6bdc in MenuFloatingWindow::HighlightChanged(Timer*) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#20 0x404d69ad in MenuFloatingWindow::LinkStubHighlightChanged(void*,
void*) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so

#21 0x403f66bc in Timer::Timeout() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#22 0x403f63c0 in ImplTimerCallbackProc() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#23 0x405965e2 in SalData::Timeout() const ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#24 0x40595fcf in SalXLib::CheckTimeout(bool) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#25 0x4059641a in SalXLib::Yield(unsigned char) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#26 0x4059f0ec in SalInstance::Yield(unsigned char) ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#27 0x403f0ae3 in Application::Yield() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#28 0x403f09e5 in Application::Execute() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#29 0x08064e87 in desktop::Desktop::Main() ()
#30 0x403f5767 in SVMain() ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#31 0x4059501a in main ()
   from /opt/OpenOffice.org1.1Beta/program/libvcl644li.so
#32 0x41255914 in __libc_start_main () from /lib/libc.so.6
Comment 2 dankegel 2003-05-13 08:42:14 UTC
Dup of issue 11040.  That issue has a stack dump
(which is quite different from the one I saw on x86, d'oh)
and a workaround, of sorts.

*** This issue has been marked as a duplicate of 11040 ***
Comment 3 stefan.baltzer 2003-07-16 18:00:33 UTC
Closed as duplicate.
Comment 4 dankegel 2003-07-22 16:32:34 UTC
The valgrind error I gave here was for a bug in glibc
that shows up on every run.  (I was just learning; sorry...)