Issue 31059 - dot makes crash in Table Object name (only caption dialog)
Summary: dot makes crash in Table Object name (only caption dialog)
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: crash, oooqa
: 42680 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-07-03 11:15 UTC by sparcmoz
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

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


Attachments
where to name object (86.54 KB, image/png)
2004-07-03 20:36 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2004-07-03 11:15:37 UTC
This was reported to debian-linux-intel but I can reproduce this with 1_1_2
upstream sources I have built on linux sparc. It seems any table--> caption-->
object name with a dot "." will make this crash

From debian report:
Bug#257398: openoffice.org: setting table name to tab-rc2.d while creating
caption results in a crash.
 From: Tomasz Motylewski <T.Motylewski+debian-bug@bfad.de>
 To: Debian Bug Tracking System <submit@bugs.debian.org>
 
Package: openoffice.org
Version: 1.1.1-4
Severity: normal

Fully reproducible:

Make new text document.

Insert table, all defaults, just click "OK".
Right-click inside of the table, select "Caption".
Change Object name to "rc2.d".
Click "OK". Openoffice will do emergency save and crash.

tom@pc63:~$ openoffice 

Starting configuration import into user data ..
.. importing layer file:///tmp/oooLocale.XXXXfYlVra - succeeded
/usr/lib/openoffice/program/crash_report: line 78:
/usr/lib/openoffice/program/crash_report_with_gtk.bin: No such file or
directory


Fatal exception: Signal 6
Stack:
/usr/lib/openoffice/program/libsal.so.3[0x40c002f4]
/usr/lib/openoffice/program/libsal.so.3[0x40c00481]
/usr/lib/openoffice/program/libsal.so.3[0x40c0054c]
/lib/libpthread.so.0[0x4116f825]
/lib/libc.so.6[0x41380658]
/lib/libpthread.so.0(raise+0x2b)[0x4116ca7b]
/lib/libc.so.6(gsignal+0x44)[0x413804d4]
/lib/libc.so.6(abort+0x178)[0x413819e8]
/usr/lib/libstdc++.so.5[0x4132f0e7]
/usr/lib/libstdc++.so.5[0x4132f124]
/usr/lib/libstdc++.so.5[0x4132f296]
/usr/lib/openoffice/program/libsw645li.so[0x457c378d]
/usr/lib/openoffice/program/libsw645li.so[0x45a9273d]
/usr/lib/openoffice/program/libsvx645li.so(_ZN17SvxStandardDialog7ExecuteEv+0x39)[0x439e026d]
/usr/lib/openoffice/program/libsw645li.so[0x45c2cce2]
/usr/lib/openoffice/program/libsw645li.so[0x45c1fade]
/usr/lib/openoffice/program/libsfx645li.so(_ZN13SfxDispatcher9Call_ImplER8SfxShellRK7SfxSlotR10SfxRequesth+0x60a)[0x442f8fd2]
/usr/lib/openoffice/program/libsfx645li.so(_ZN13SfxDispatcher14PostMsgHandlerEP10SfxRequest+0xe5)[0x442fba69]
/usr/lib/openoffice/program/libsfx645li.so(_ZN13SfxDispatcher22LinkStubPostMsgHandlerEPvS0_+0x26)[0x442fb97c]
/usr/lib/openoffice/program/libsfx645li.so(_ZN13SfxHintPoster5EventEP7SfxHint+0x2f)[0x4431e30d]
/usr/lib/openoffice/program/libsfx645li.so(_ZN13SfxHintPoster20LinkStubDoEvent_ImplEPvS0_+0x1b)[0x4431e2bf]
/usr/lib/openoffice/program/libvcl645li.so[0x40233d54]
/usr/lib/openoffice/program/libvcl645li.so(_Z19ImplWindowFrameProcPvP8SalFrametPKv+0x436)[0x402345b0]
/usr/lib/openoffice/program/libvcl645li.so(_ZN12SalFrameData19HandleClientMessageEP19XClientMessageEvent+0xb0)[0x40296258]
/usr/lib/openoffice/program/libvcl645li.so(_ZN12SalFrameData8DispatchEP7_XEvent+0x5c4)[0x40296b3a]
/usr/lib/openoffice/program/libvcl645li.so(_ZN10SalDisplay8DispatchEP7_XEvent+0x2a0)[0x402c3552]
/usr/lib/openoffice/program/libvcl645li.so(_ZN10SalDisplay5YieldEh+0x10a)[0x402c328c]
/usr/lib/openoffice/program/libvcl645li.so[0x402beed7]
/usr/lib/openoffice/program/libvcl645li.so(_ZN7SalXLib5YieldEh+0x3cc)[0x402bd9dc]
/usr/lib/openoffice/program/libvcl645li.so(_ZN11SalInstance5YieldEh+0x34)[0x402c6b94]
/usr/lib/openoffice/program/libvcl645li.so(_ZN11Application5YieldEv+0x61)[0x400e40d3]
/usr/lib/openoffice/program/libvcl645li.so(_ZN11Application7ExecuteEv+0x35)[0x400e3fe5]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x1f56)[0x80667a4]
/usr/lib/openoffice/program/libvcl645li.so(_Z6SVMainv+0x49)[0x400e8cc7]
/usr/lib/openoffice/program/libvcl645li.so(main+0x4c)[0x402bc3b0]
/lib/libc.so.6(__libc_start_main+0xc6)[0x4136cdc6]
/usr/lib/openoffice/program/soffice.bin(_ZN6Window11RequestHelpERK9HelpEvent+0x39)[0x805f541]
Aborted
tom@pc63:~$ 




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.23-pc63-p4
Locale: LANG=C, LC_CTYPE=C

Versions of packages openoffice.org depends on:
ii  dictionaries-common [openoffi 0.22.28    Common utilities for spelling dict
ii  openoffice.org-bin            1.1.1-4    OpenOffice.org office suite binary
ii  openoffice.org-debian-files   1.1.1-2+3  Debian specific parts of OpenOffic
ii  openoffice.org-l10n-en [openo 1.1.1-4    English (US) language package for 

-- no debconf information
Comment 1 lohmaier 2004-07-03 16:35:46 UTC
cannot confirm with official OOo 1.1.2 on linux.
Comment 2 sparcmoz 2004-07-03 20:36:13 UTC
Created attachment 16257 [details]
where to name object
Comment 3 sparcmoz 2004-07-03 20:44:27 UTC
sparcmoz-->cloph. Please be more specific as there could be many reasons why you
could not confirm. Did you find the commands as described  to name the object
(see screenshot now attached)? Can you name the object with a dot "." in the name? 

Which "offical" build do you have - please advise the name and date on the
tarball and where download from. I need this to get the versions since I have
build this from the official cvs sources at OpenOffice_1_1_2 and there may be a
patch in the release not committed to the cvs, or vice versa.
Comment 4 sparcmoz 2004-07-03 20:51:22 UTC
i can reproduce this on windows 98 v1.1.1, now i will get the latest windows and
check that too.
Comment 5 lohmaier 2004-07-03 21:06:24 UTC
Sorry, I didn't read your report carefully enough.
You're right, I put the dot in the wrong textfield.

When I try to set the name of the *object* (and not the caption) to something
containing a dot, OOo crashes (OOo 1.1.2 german (localized/de/1.1.2) and OOo
680m45 both crash).

So I'm confirming this issue.

There's no problem naming a graphic "some.thing" however, he Format|Table dialog
doesn't accep the "." as valid input, so you cannot make it crash this way..
Comment 6 lohmaier 2004-07-03 21:08:04 UTC
(remove me from cc, I'm subscribed to the sw-issues-list)
Comment 7 sparcmoz 2004-07-04 00:37:57 UTC
also seen on w98 1.1.2
Comment 8 michael.ruess 2004-07-05 09:09:25 UTC
Can also confirm this with 680 build. Dots are not allowed for table names, but
the caption dialog does not take care of this.
Comment 9 Oliver Specht 2004-09-01 11:42:57 UTC
Fixed in cws os36 in sw/source/ui/frmdlg/cption.cxx
Comment 10 Oliver Specht 2004-09-21 09:02:53 UTC
.
Comment 11 Oliver Specht 2004-09-21 09:03:23 UTC
.
Comment 12 Oliver Specht 2004-09-21 09:03:43 UTC
.
Comment 13 michael.ruess 2004-09-21 09:23:43 UTC
checked in CWS os36. Caption dialog will not allow dots for table names anymore.
Comment 14 michael.ruess 2004-12-03 15:02:03 UTC
Checked integration in 680m64.
Caption dialog has been rebuilt. Object names cannot be entered there anymore.
Comment 15 michael.ruess 2005-02-14 09:45:25 UTC
*** Issue 42680 has been marked as a duplicate of this issue. ***