Page 1 of 3

ZS 12.0.1 64 Bit copy and paste bug

Posted: Mon Dec 15, 2014 8:32 pm
by tedtiger
I've encountered a non responsive Zend Studio 12 64 Bit during a copy and paste operation
Build ID: 12.0.1.v20141117-20141210-1054-293
Windows 8.1 64 Bit

I've made some memory dumps:

https://www.dropbox.com/s/ktbx43bvfgi0q ... 4.zip?dl=0

first one is right after the start
second dump is during during event
thrid dump is right after studio was responsing again
I've included the support file, too.

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Mon Dec 15, 2014 8:55 pm
by kaloyan_r
Thanks!
I am downloading it and will look at it.

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Thu Dec 18, 2014 7:03 pm
by tedtiger
Any news on this? Do you need more dumps?

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Fri Dec 19, 2014 9:56 am
by kaloyan_r
I am busy right now with completing some important activities before the holidays.

It might be helpful to attach a thread dump (taken during he freeze) - just in case the root cause is not a memory issue, but thread locking.

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Fri Dec 19, 2014 11:17 am
by tedtiger
Ok. How can I do that?

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Fri Dec 19, 2014 12:45 pm
by mich6938
Instruction how generate thread dump:)
http://forums.zend.com/viewtopic.php?f= ... 73#p233358

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Fri Dec 19, 2014 1:15 pm
by tedtiger
Thanks. I'm more the PHP, C++, LUA, C# and Objective-C guy ;-)

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Tue Jan 20, 2015 10:15 am
by tedtiger
I was able to make some heap and thread dumps for the Copy and Past hanging problem.
I've had 6 projects open and tried CTRL-C operations on different opened files (files were already open after launch).
After the fourth or fifth operation the bug occured (tried selecting single variables and multiline).

The ZIP-File contains a the ZS Support ZIP, 4 heapdumps and 4 threaddumps.
The files with the 0 in the name is before the bug. The 1 and 2 are right after and during hang. Number 4 is after ZS got responsive.

Zend Studio 12.0
Build ID: 12.0.2.v20141117-20150117-0233-313

https://www.dropbox.com/s/ls30bw02efgri ... m.zip?dl=0

Let me know if you need anything else.

Thorsten

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Tue Jan 20, 2015 2:53 pm
by mich6938
Thanks for dumps! For now I had just time to look at the thread dumps. From your data it looks that freeze was caused by hyperlinking (Ctrl+Mouse Hover) mechanism. It is possible that when you were trying copy/paste something (Ctrl+C/V) you activated hyperlink for part of code and this operation freeze Studio. If you still can reproduce issue can you try just press Ctrl and move mouse over region you tried to copy earlier?

Re: ZS 12.0.1 64 Bit copy and paste bug

Posted: Tue Jan 20, 2015 3:53 pm
by tedtiger
Exactly this is it. I can reproduce it 100%. But it only hangs the first time. I guess some cache is preventing it happening the second time.
But after a while it happens again. Maybe it is possible to speed things up here. The waiting time is a little annoying.

Internally we call it the Zend Studion Mourning Minute. :-)