Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 230054

Summary: segfault on closing a scripted template file.
Product: [Fedora] Fedora Reporter: Pawel Salek <pawsa>
Component: openoffice.orgAssignee: Jan Navratil <jnavrati>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: caolanm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.0.4-5.5.21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-17 15:58:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
none none

Description Pawel Salek 2007-02-26 11:12:53 UTC
Description of problem:
I received a template file with few fields to be filled and opened it with

Version-Release number of selected component (if applicable):

How reproducible:
I cannot reproduce it with few simple tests... I had some other files open as well.

Expected results:

Additional info:
SELinux status:                 disabled
...end sestatus details ...
...start stackreport details ...
0x20ebf28: /usr/lib/openoffice.org2.0/program/ + 0x22f28
0x20ecbbb: /usr/lib/openoffice.org2.0/program/ + 0x23bbb
0xf84420:  + 0x420 (__kernel_sigreturn + 0x0)
0x34efac1: /usr/lib/openoffice.org2.0/program/ + 0x98cac1
(SwWrtShell::StartInputFldDlg(SwField*, unsigned char, Window*, ByteString*) + 0xe1)
0x34efd32: /usr/lib/openoffice.org2.0/program/ + 0x98cd32
(SwWrtShell::UpdateInputFlds(SwInputFieldList*, unsigned char) + 0xe2)
0x330f253: /usr/lib/openoffice.org2.0/program/ + 0x7ac253
0x53c6488: /usr/lib/openoffice.org2.0/program/ + 0xdf488
(SfxBroadcaster::Broadcast(SfxHint const&) + 0x48)
0x63ee0b8: /usr/lib/openoffice.org2.0/program/ + 0x9c0b8
0x63ee168: /usr/lib/openoffice.org2.0/program/ + 0x9c168
0x5a755ac: /usr/lib/openoffice.org2.0/program/ + 0x9b5ac
(Timer::Timeout() + 0x1c)
0x5a75799: /usr/lib/openoffice.org2.0/program/ + 0x9b799
(Timer::ImplTimerCallbackProc() + 0x79)
0xe4614a: /usr/lib/openoffice.org2.0/program/ + 0x4814a
(X11SalData::Timeout() const + 0x2a)
0xc66ef6: /usr/lib/openoffice.org2.0/program/ + 0xfef6
0xc66f31: /usr/lib/openoffice.org2.0/program/ + 0xff31
0xa5fa16: /lib/ + 0x2ba16
0xa5f442: /lib/ + 0x2b442 (g_main_context_dispatch + 0x182)
0xa6241f: /lib/ + 0x2e41f
0xa62985: /lib/ + 0x2e985 (g_main_context_iteration + 0x65)
0xc68c31: /usr/lib/openoffice.org2.0/program/ + 0x11c31
0xe4f8a7: /usr/lib/openoffice.org2.0/program/ + 0x518a7
(X11SalInstance::Yield(bool, bool) + 0x37)
0x5a6f618: /usr/lib/openoffice.org2.0/program/ + 0x95618
(Application::Yield(bool) + 0x68)
0x5a6f6ec: /usr/lib/openoffice.org2.0/program/ + 0x956ec
(Application::Execute() + 0x3c)
0x5578359: /usr/lib/openoffice.org2.0/program/ + 0x26359
(desktop::Desktop::Main() + 0x1779)
0x5a751bc: /usr/lib/openoffice.org2.0/program/ + 0x9b1bc
0x5a752c5: /usr/lib/openoffice.org2.0/program/ + 0x9b2c5 (SVMain()
+ 0x35)
0x5569a69: /usr/lib/openoffice.org2.0/program/ + 0x17a69 (sal_main
+ 0x59)
0x5569af4: /usr/lib/openoffice.org2.0/program/ + 0x17af4 (main + 0x44)
0x33af2c: /lib/ + 0x15f2c (__libc_start_main + 0xdc)
0x80484a1: /usr/lib/openoffice.org2.0/program/swriter.bin + 0x4a1
...end stackreport details ...
...start sample ldd details ... =>  (0x004a0000) => /usr/lib/openoffice.org2.0/program/ (0x00110000) =>
/usr/lib/openoffice.org2.0/program/ (0x006dd000) => /usr/lib/openoffice.org2.0/program/ (0x0086d000) => /lib/ (0x002d4000) => /lib/ (0x0079a000) => /usr/lib/openoffice.org2.0/program/
(0x00b10000) => /usr/lib/ (0x00e1a000) => /lib/ (0x002d8000) => /lib/ (0x00d6d000) => /lib/ (0x00356000) => /lib/ (0x002ff000)
	/lib/ (0x80000000)
...end sample ldd details ...

Comment 1 Caolan McNamara 2007-02-26 11:21:38 UTC
Can we get the sample document which appeared to trigger this attached ?

SwWrtShell::StartInputFldDlg sounds indeed like this is related to clicking on
an input field.

caolanm->jnavrati: if we can get the document can you check clicking on the
various input fields in the document and see if this can be reproduced. Also do
a quick check of issuezilla at to see if there are any similar
stack traces of issues around "input fields" which might be relevant.

Comment 2 Pawel Salek 2007-02-26 11:29:29 UTC
Created attachment 148789 [details]

One of the files.

Comment 3 Pawel Salek 2007-02-26 11:30:59 UTC
Created attachment 148790 [details]

I had these two files opened at once.

Comment 4 Caolan McNamara 2007-02-26 12:52:36 UTC
caolanm->pawsa: There's a bit missing from the crash report, the top of the
report had some details as to whether you were using GNOME or KDE, and if
accessibility was enabled, so can you run...

/usr/lib/openoffice.org2.0/program/crash_report -stack /tmp/notthere

and attach the output of that so we can recover that missing info that might
help us figure out how to reproduce.

Comment 5 Pawel Salek 2007-02-26 13:02:54 UTC
My apologies:
(I) loaded video driver of...
(II) Loading /usr/lib/xorg/modules/drivers/
(II) Loading /usr/lib/xorg/modules/drivers/
(II) Reloading /usr/lib/xorg/modules/drivers/
(III)  Desktop is: GNOME
(IV)   libgcj version is: libgcj-4.1.1-51.fc6-i386
(V)    kernel is: Linux 2.6.19-1.2911.fc6 #1 SMP Sat Feb 10 15:51:47 EST 2007
i686 athlon i386
(VI) core rpm version is:
(VII)  depth of root window:    24 planes
(VIII) accessibility is: false
(VIV)  fedora release is: Fedora Core release 6 (Zod)
...start sestatus details ...
SELinux status:                 disabled

Comment 6 Caolan McNamara 2007-04-05 14:05:55 UTC
ran it in valgrind, didn't see anything major yet, upstreamed a minor fix as

Comment 7 Caolan McNamara 2007-04-05 14:33:16 UTC
got another more serious looking glitch with valgrind, might be the problem

Will include these valgrind fixes in the next FC-6 update if there is one. Will
be in the next rawhide/FC-7 build anyway. Would be awesome if there was a way to
reproduce this so as to verify that these fixes actually solve this problem.

Comment 8 Pawel Salek 2007-04-05 20:30:22 UTC
FWIW, I have not seen the bug ever since.

Comment 9 Caolan McNamara 2007-04-17 15:58:48 UTC
well, I've added the fixes that valgrind indicated might be relevant. We can
reopen if we have data to show the problem remains.