Bug 33864 - CALC crashes when trying to copy a style in the Template Management window
Summary: CALC crashes when trying to copy a style in the Template Management window
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: x86 (IA32) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 36212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-02 23:45 UTC by Felix
Modified: 2012-08-31 10:05 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix 2011-02-02 23:45:30 UTC
How to reproduce the crash:
On a new spreadsheet, click File - Templates - Organize... to open the Template Management window.
On the left, double-click MediaWiki, then mediawiki, then Styles to expand it. 
On the right, expand Untitled 1, then Styles.
While holding down the Ctrl, drag-and-drop Heading3 from the left to the right to crash Calc. The same happens without Ctrl. But works on some other styles...

OS: Windows XP Professional Version 2002 SP2
HW: Intel Core2 Duo CPU E6750, Asus P5KC motherboard, 4 GB RAM
App: LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
Custom install with only English and Hungarian dictionaries/language packs
Comment 1 Thorsten Behrens (allotropia) 2011-02-07 08:23:35 UTC
Tor, I can confirm the crash on win32, it's some stack guard exception being thrown, seemingly from sal (a string class?) - cannot reproduce on linux, valgrind is silent as well - any chance to have a look into this with a debug build?
Comment 2 digital ant 2011-03-18 19:34:23 UTC
confirmed on Windows XP sp3 build 2600, jre 1.6.0_24 and LibO 3.3.2 rc2...also attempted on OSX 10.5.8 with same LibO version - calc crashed as well.
Comment 3 Olivier Hallot 2011-06-07 13:20:57 UTC
*** Bug 36212 has been marked as a duplicate of this bug. ***
Comment 4 Don't use this account, use tml@iki.fi 2011-06-08 06:02:41 UTC
Attempting to debug this now with a sfxmi.dll built with debugging, I get an assertion failure in SfxObjectShell::LoadFrom( SfxMedium& /*rMedium*/ ) in sfx2/source/doc/objstor.cxx when expanding the "mediawiki" under "MediaWiki" at the left. No idea if that assertion failure is related to the crash reported here or not. I will ignore it for now.
Comment 5 Don't use this account, use tml@iki.fi 2011-06-08 07:21:40 UTC
The crash happens in SfxEnumItemInterface::operator ==(const SfxPoolItem & rItem) in svl/source/items/cenumitm.cxx . Apparently the cast is bogus, or something, so that the code follows a zero vftable pointer, or something like that.
Comment 6 Don't use this account, use tml@iki.fi 2011-06-08 08:08:09 UTC
Anyway, this problem seems to happen only for the MediaWiki template things?
Comment 7 Rainer Bielefeld Retired 2011-06-12 00:35:50 UTC
I modified Status to Assigned due to facts.
Comment 8 Björn Michaelsen 2011-12-23 11:47:16 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 9 Florian Reisinger 2012-03-25 06:58:23 UTC
Please test with latest LibO version...

Florian
Comment 10 Julien Nabet 2012-05-12 05:58:26 UTC
On Windows 3.5.3.2 (installed this morning with a brand new LO profile), I reproduced the crash.

On pc Debian x86-64, no crash with master or 3.5 branch (both updated today). However, "heading 3" doesn't appear in Untitled after the drag and drop.

I noticed these messages on console with master :
a) during the opening "mediawiki" at left (not the folder, the element in it)
warn:legacy.osl:5652:1:/home/julien/compile-libreoffice/libo/sfx2/source/doc/objstor.cxx:2807: Base implementation, must not be called in general!

b) during the drag and drop with ctrl (trying to put it at the end, we can see a thin black line)
warn:svl:5652:1:/home/julien/compile-libreoffice/libo/svl/source/items/itempool.cxx:682: SFxItemPool: wrong item type in Put, with ID/pos 103
warn:svl:5652:1:/home/julien/compile-libreoffice/libo/svl/source/items/cenumitm.cxx:51: unequal type, with ID/pos 103

b1) during the drag and drop without ctrl (with another brand new profile) (trying to put it at the end, we can see a thin black line)
warn:svl:5824:1:/home/julien/compile-libreoffice/libo/svl/source/items/itempool.cxx:682: SFxItemPool: wrong item type in Put, with ID/pos 103
warn:svl:5824:1:/home/julien/compile-libreoffice/libo/svl/source/items/cenumitm.cxx:51: unequal type, with ID/pos 103
warn:legacy.tools:5824:1:/home/julien/compile-libreoffice/libo/svtools/source/contnr/treelist.cxx:1621: Entry already in Table
Comment 11 Florian Reisinger 2012-08-14 14:00:21 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 12 Florian Reisinger 2012-08-14 14:01:29 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 13 Florian Reisinger 2012-08-14 14:06:12 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 14 Florian Reisinger 2012-08-14 14:08:14 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian