Bug 79981 - EDITING: Cannot paste cells from Calc into Writer [Hard to reproduce]
Summary: EDITING: Cannot paste cells from Calc into Writer [Hard to reproduce]
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: haveBacktrace, possibleRegression
Depends on:
Blocks:
 
Reported: 2014-06-13 13:11 UTC by leozylberman
Modified: 2015-12-15 10:55 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 leozylberman 2014-06-13 13:11:35 UTC
Problem description: 
I Cannot paste an amount of cells from Calc into Writer document.
Steps to reproduce:
1. With my writer document and my spreadsheet open I tried several times copy an area of the sheet an paste into the writer document. This is something that I use to do frequently but now it is impossible.

Current behavior:
Simply paste and let me edit the sheet in the writer document.
Expected behavior:
Crash the application. Both Writer and Calc.
              
Operating System: Mac OS X
Version: 4.2.4.2 release
Last worked in: 4.2.3.3 release
Comment 1 Yousuf Philips (jay) (retired) 2014-06-13 23:22:41 UTC
Could not reproduce it on Linux or Windows with 4.2.4. Likely a Mac OS limited issue.

What version of Mac OS X are you running?
Comment 2 Jorendc 2014-06-14 08:50:21 UTC
I fail to reproduce, tested using Mac OSX 10.9 with LibreOffice 4.2.4.2.

Can you please attach the crashlog of OSX to this bug report?
Thanks.
Comment 3 Alex Thurgood 2014-06-18 14:21:19 UTC
Works for me on OSX 10.9.3 with LO

Version: 4.2.4.2
Build ID: 63150712c6d317d27ce2db16eb94c2f3d7b699f8

I can enter data in a Calc sheet, select the cells, and drag and drop those cells into a Writer document.


Alex
Comment 4 leozylberman 2014-06-18 15:51:47 UTC
(In reply to comment #1)
> Could not reproduce it on Linux or Windows with 4.2.4. Likely a Mac OS
> limited issue.
> 
> What version of Mac OS X are you running?

Thanks for attention.
OS X Version 10.9.3
Comment 5 leozylberman 2014-06-18 16:00:20 UTC
Excuse me for the delay to post answer. I had uninstall LO 4.2.4.2 and reinstall 4.2.2.
In 4.2.2 everything runs fine. So I tried to reinstall 4.2.4.2 again, but again crash.
The report is too big, bellow is the main part. I hope this is enough. Let me know if you need anything else.

Process:         soffice [9188]
Path:            /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:      org.libreoffice.script
Version:         4.2.4002 (???)
Code Type:       X86 (Native)
Parent Process:  launchd [222]
Responsible:     soffice [9188]
User ID:         503

Date/Time:       2014-06-18 12:48:21.098 -0300
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11
Anonymous UUID:  84F831F1-1D9D-A312-580C-1B7C77AC94AD

Sleep/Wake UUID: BD4BC0B3-445F-476A-A963-454A28E9F485

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000005

VM Regions Near 0x5:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/LibreOffice.app/Contents/MacOS/soffice
    __TEXT                 0000000000001000-0000000000002000 [    4K] r-x/rwx SM=COW  /Applications/LibreOffice.app/Contents/MacOS/soffice

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsclo.dylib                 	0x10d5179c mdds::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<50, SvtBroadcaster> > >::position(mdds::__mtv::iterator_base<mdds::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<50, SvtBroadcaster> > >::iterator_trait, mdds::__mtv::private_data_forward_update<mdds::__mtv::iterator_value_node<unsigned long, mdds::mtv::base_element_block> > > const&, unsigned long) + 92
1   libsclo.dylib                 	0x10d911cb ScColumn::EndListening(sc::EndListeningContext&, long, SvtListener&) + 107
2   libsclo.dylib                 	0x10def6f7 ScDocument::EndListeningCell(sc::EndListeningContext&, ScAddress const&, SvtListener&) + 71
3   libsclo.dylib                 	0x10e91a0d ScFormulaCell::EndListeningTo(sc::EndListeningContext&) + 381
4   libsclo.dylib                 	0x10d33a04 (anonymous namespace)::UpdateRefOnNonCopy std::for_each<__gnu_cxx::__normal_iterator<sc::FormulaGroupEntry*, std::vector<sc::FormulaGroupEntry, std::allocator<sc::FormulaGroupEntry> > >, (anonymous namespace)::UpdateRefOnNonCopy>(__gnu_cxx::__normal_iterator<sc::FormulaGroupEntry*, std::vector<sc::FormulaGroupEntry, std::allocator<sc::FormulaGroupEntry> > >, __gnu_cxx::__normal_iterator<sc::FormulaGroupEntry*, std::vector<sc::FormulaGroupEntry, std::allocator<sc::FormulaGroupEntry> > >, (anonymous namespace)::UpdateRefOnNonCopy) + 1300
5   libsclo.dylib                 	0x10d37f9f ScColumn::UpdateReference(sc::RefUpdateContext&, ScDocument*) + 959
6   libsclo.dylib                 	0x10ec8aa2 ScTable::UpdateReference(sc::RefUpdateContext&, ScDocument*, bool, bool) + 242
7   libsclo.dylib                 	0x10ddee41 ScDocument::UpdateReference(sc::RefUpdateContext&, ScDocument*, bool, bool) + 961
8   libsclo.dylib                 	0x10e0a1e3 ScDocument::CopyBlockFromClip(sc::CopyFromClipContext&, short, long, short, long, ScMarkData const&, short, long) + 1571
9   libsclo.dylib                 	0x10e0ad71 ScDocument::CopyFromClip(ScRange const&, ScMarkData const&, unsigned short, ScDocument*, ScDocument*, bool, bool, bool, bool, ScRangeList const*) + 1265
10  libsclo.dylib                 	0x1115083d ScTransferObj::InitDocShell(bool) + 1293
11  libsclo.dylib                 	0x111513f0 ScTransferObj::GetData(com::sun::star::datatransfer::DataFlavor const&) + 1392
12  libsvtlo.dylib                	0x00daa826 TransferableHelper::getTransferData(com::sun::star::datatransfer::DataFlavor const&) + 406
13  libsvtlo.dylib                	0x00da4821 TransferableDataHelper::GetAny(com::sun::star::datatransfer::DataFlavor const&) const + 449
14  libsvtlo.dylib                	0x00da6384 TransferableDataHelper::GetSequence(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Sequence<signed char>&) + 52
15  libsvtlo.dylib                	0x00da7667 TransferableDataHelper::GetInputStream(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream>&) + 119
16  libsvtlo.dylib                	0x00daa2ed TransferableDataHelper::GetInputStream(unsigned long, com::sun::star::uno::Reference<com::sun::star::io::XInputStream>&) + 109
17  libswlo.dylib                 	0x17215186 SwTransferable::_PasteOLE(TransferableDataHelper&, SwWrtShell&, unsigned long, unsigned char, unsigned char) + 822
18  libswlo.dylib                 	0x17216f40 SwTransferable::PasteData(TransferableDataHelper&, SwWrtShell&, unsigned short, unsigned long, unsigned short, unsigned char, unsigned char, Point const*, signed char, unsigned char) + 1824
19  libswlo.dylib                 	0x172181c5 SwTransferable::Paste(SwWrtShell&, TransferableDataHelper&) + 133
20  libswlo.dylib                 	0x172a289d SwBaseShell::ExecClpbrd(SfxRequest&) + 253
21  libsfxlo.dylib                	0x0082adb8 SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) + 360
22  libsfxlo.dylib                	0x0058c443 SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) + 99
23  libsfxlo.dylib                	0x005c5f00 SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) + 3824
24  libsfxlo.dylib                	0x005c6fe5 SfxOfficeDispatch::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 341
25  libfwklo.dylib                	0x0ee688fc framework::MenuBarManager::Select(Menu*) + 668
26  libvcllo.dylib                	0x019f0c32 Menu::Select() + 98
27  libvcllo.dylib                	0x019ec4e8 Menu::ImplCallSelect(void*) + 24
28  libvcllo.dylib                	0x01a63ea0 ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) + 6080
29  libvcllo.dylib                	0x01a70ec8 AquaSalInstance::Yield(bool, bool) + 312
30  libvcllo.dylib                	0x017300b9 Application::Yield() + 73
31  libvcllo.dylib                	0x01730165 Application::Execute() + 53
32  libsofficeapp.dylib           	0x0006fa5b desktop::Desktop::Main() + 7403
33  libvcllo.dylib                	0x01736552 ImplSVMain() + 226
34  libvcllo.dylib                	0x01a6fee1 AquaSalInstance::handleAppDefinedEvent(NSEvent*) + 129
35  libvcllo.dylib                	0x01aab9bb -[VCL_NSApplication sendEvent:] + 123
36  com.apple.AppKit              	0x98e691dc -[NSApplication run] + 823
37  com.apple.AppKit              	0x98e52018 NSApplicationMain + 1165
38  libvcllo.dylib                	0x01a70839 ImplSVMainHook(int*) + 489
39  libvcllo.dylib                	0x0173658a SVMain() + 26
40  libsofficeapp.dylib           	0x0009bbc5 soffice_main + 277
41  org.libreoffice.script        	0x00001f4e main + 30
42  org.libreoffice.script        	0x00001f25 start + 53

Thread 1:
0   libsystem_kernel.dylib        	0x9205d7ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x95be4d1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       	0x95be6c25 pthread_cond_timedwait$UNIX2003 + 71
3   libuno_sal.dylib.3            	0x00013c8b rtl_cache_wsupdate_all(void*) + 267
4   libsystem_pthread.dylib       	0x95be25fb _pthread_body + 144
5   libsystem_pthread.dylib       	0x95be2485 _pthread_start + 130
6   libsystem_pthread.dylib       	0x95be7cf2 thread_start + 34

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x9205e992 kevent64 + 10
1   libdispatch.dylib             	0x9a8fa899 _dispatch_mgr_invoke + 238
2   libdispatch.dylib             	0x9a8fa532 _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x92058f7a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x9205816c mach_msg + 68
2   com.apple.CoreFoundation      	0x939e0c09 __CFRunLoopServiceMachPort + 169
3   com.apple.CoreFoundation      	0x939e01e1 __CFRunLoopRun + 1393
4   com.apple.CoreFoundation      	0x939df9fa CFRunLoopRunSpecific + 394
5   com.apple.CoreFoundation      	0x939df85b CFRunLoopRunInMode + 123
6   com.apple.AppKit              	0x99020b88 _NSEventThread + 283
7   libsystem_pthread.dylib       	0x95be25fb _pthread_body + 144
8   libsystem_pthread.dylib       	0x95be2485 _pthread_start + 130
9   libsystem_pthread.dylib       	0x95be7cf2 thread_start + 34

Thread 4:
0   libsystem_kernel.dylib        	0x9205cd2e __accept + 10
1   libuno_sal.dylib.3            	0x000071fa osl_acceptPipe + 58
2   libsofficeapp.dylib           	0x00099bd4 desktop::OfficeIPCThread::execute() + 276
3   libuno_salhelpergcc3.dylib.3  	0x004dcbe2 salhelper::Thread::run() + 34
4   libuno_salhelpergcc3.dylib.3  	0x004dcef2 threadFunc + 18
5   libuno_sal.dylib.3            	0x0000e03e osl_thread_start_Impl + 398
6   libsystem_pthread.dylib       	0x95be25fb _pthread_body + 144
7   libsystem_pthread.dylib       	0x95be2485 _pthread_start + 130
8   libsystem_pthread.dylib       	0x95be7cf2 thread_start + 34

Thread 5:
0   libsystem_kernel.dylib        	0x9205d7ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x95be4d1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       	0x95be6c25 pthread_cond_timedwait$UNIX2003 + 71
3   libuno_sal.dylib.3            	0x0002ea68 osl_waitCondition + 280
4   libupdchklo.dylib             	0x0ae58e6e (anonymous namespace)::UpdateCheckThread::run() + 398
5   libupdchklo.dylib             	0x0ae59132 threadFunc + 18
6   libuno_sal.dylib.3            	0x0000e03e osl_thread_start_Impl + 398
7   libsystem_pthread.dylib       	0x95be25fb _pthread_body + 144
8   libsystem_pthread.dylib       	0x95be2485 _pthread_start + 130
9   libsystem_pthread.dylib       	0x95be7cf2 thread_start + 34

Thread 6:
0   libsystem_kernel.dylib        	0x9205e046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x95be3dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x95be7cce start_wqthread + 30

Thread 7:
0   libsystem_kernel.dylib        	0x9205d7ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x95be4d1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       	0x95be6bd9 pthread_cond_wait$UNIX2003 + 71
3   libuno_sal.dylib.3            	0x0002e9b2 osl_waitCondition + 98
4   liblnglo.dylib                	0x131fca59 GrammarCheckingIterator::DequeueAndCheck() + 249
5   libuno_sal.dylib.3            	0x0000e03e osl_thread_start_Impl + 398
6   libsystem_pthread.dylib       	0x95be25fb _pthread_body + 144
7   libsystem_pthread.dylib       	0x95be2485 _pthread_start + 130
8   libsystem_pthread.dylib       	0x95be7cf2 thread_start + 34

Thread 8:
0   libsystem_kernel.dylib        	0x9205e046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x95be3dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x95be7cce start_wqthread + 30

Thread 9:
0   libsystem_kernel.dylib        	0x9205e046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x95be3dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x95be7cce start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x18fa5440  ebx: 0xbfffd1a0  ecx: 0x18fa5444  edx: 0x00000001
  edi: 0xbfffd134  esi: 0x00000000  ebp: 0xbfffd178  esp: 0xbfffd0e0
   ss: 0x00000023  efl: 0x00010297  eip: 0x10d5179c   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x00000005
  
Logical CPU:     2
Error Code:      0x00000004
Trap Number:     14

****


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 2
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 104487
    thread_create: 1
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=379.1M resident=200.7M(53%) swapped_out_or_unallocated=178.4M(47%)
Writable regions: Total=153.9M written=63.9M(42%) resident=102.5M(67%) swapped_out=4656K(3%) unallocated=51.4M(33%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                  7212K
CG image                             12K
CG raster data                      256K
CG shared images                    260K
CoreServices                        592K
Foundation                            4K
IOKit                                 8K
Kernel Alloc Once                     4K
MALLOC                            100.9M
MALLOC (admin)                       48K
MALLOC_LARGE (reserved)             256K        reserved VM address space (unallocated)
Memory Tag 242                       12K
OpenCL                               24K
Stack                              68.1M
VM_ALLOCATE                        28.9M
__DATA                             23.7M
__IMAGE                             528K
__IMPORT                              4K
__LINKEDIT                         98.8M
__OBJC                             3220K
__PAGEZERO                            4K
__TEXT                            280.3M
__UNICODE                           544K
mapped file                       175.7M
shared memory                         4K
===========                      =======
TOTAL                             789.1M
TOTAL, minus reserved VM space    788.9M
 

Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i7, 2.7 GHz, 8 GB, SMC 1.68f99
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0383, 0x202020202020202020202020202020202020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0383, 0x202020202020202020202020202020202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.4f1 13674, 3 services, 23 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: ST9500325ASG, 500,11 GB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: External USB 3.0
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: USB2.0 Hub
USB Device: Backup+ BK
USB Device: IR Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1


(In reply to comment #3)
> Works for me on OSX 10.9.3 with LO
> 
> Version: 4.2.4.2
> Build ID: 63150712c6d317d27ce2db16eb94c2f3d7b699f8
> 
> I can enter data in a Calc sheet, select the cells, and drag and drop those
> cells into a Writer document.
> 
> 
> Alex
(In reply to comment #2)
> I fail to reproduce, tested using Mac OSX 10.9 with LibreOffice 4.2.4.2.
> 
> Can you please attach the crashlog of OSX to this bug report?
> Thanks.
Comment 6 leozylberman 2014-06-20 15:01:40 UTC
I don't know if this can be useful but here are a screen recording of the crash.
https://dl.dropboxusercontent.com/u/3159648/V%C3%ADdeo/LO%20Crash%20screen.mov
I'm gonna re install the 4.2.2 and wait for a solution.
Thank you all.
Comment 7 Alex Thurgood 2014-06-22 14:32:03 UTC
(In reply to comment #6)
> I don't know if this can be useful but here are a screen recording of the
> crash.

Thanks for this. The only thing I can see that is different to my tests is that you are copying/pasting a formula in your selection, which is something that you didn't mention initially, I think. I will try and reproduce with a spreadsheet containing formulae to see if I get the same result.
Comment 8 Yousuf Philips (jay) (retired) 2014-06-22 15:03:23 UTC
Is it possible for you to send us the same teste.ods you used in the screencast, so we can test it for the same crash.
Comment 9 Alex Thurgood 2014-06-22 20:03:22 UTC
Just tried with my own spreadsheet containing :

Col A : digits 1 to 10
Col B : sin(A)
Col C : SUM(A+B)

Selected all of the cells A1 to C10 and dragged/dropped them into a blank Writer document, works fine, no crash.

So this would seem specific to leozylberman's particular file.
Comment 10 QA Administrators 2015-01-10 18:06:51 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

Message generated on: 10/01/2015
Comment 11 Robinson Tryon (qubit) 2015-01-12 07:29:49 UTC
Leozylberman:
The 4.2 branch is End-of-Lifed, so given that you're the only one who has seen this problem, please make sure that you can repro on the latest 4.3.x or (soon to be released) 4.4.x build:
https://www.libreoffice.org/download/

Status -> NEEDINFO

Thanks!
Comment 12 QA Administrators 2015-02-11 20:01:33 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 

Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO
Message generated on: 2015-02-11
Comment 13 Robinson Tryon (qubit) 2015-12-15 10:55:12 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]