PSoC Creator 4.2 crashes when Visual Studio is open

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_1669321
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

Hi,

I just found out that Creator will crash after a while when Visual Studio 2019 is open at the same time.

Has anyone experienced this as well?

Fred

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Yes, this is a known issue which occurs rarely and is hard to reproduce. Please find more information here: PSoC Creator May Crash when Run Concurrently with Visual Studio on Windows 10 - KBA226098

Regards,
Dheeraj

View solution in original post

6 Replies
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Fred-san,

I tried with Windows 10 64bit

(1) First after starting PSoC Creator I started Visual Studio 2019... Updater started >_<

000-installer-started.JPG

(2) After installing the update, I created a new project in Visual Studio 2019 (about 14:05)

001-Started.JPG

(3) Then I typed a place holder c++ source... and compiled (14:20)

002-after_a_while.JPG

(4) Just in case, I brought PSoC Creator to the front and rebuilt my project (14:22)

003-PSoC_Creator.JPG

(5) Right now, it's about 14:26 and PSoC Creator is gone !? (14:26)

004-PSoC_Creator_is_gone.JPG

So,  my first trial verified what you asked.

Best Regards,

18-Oct-2019

Motoo Tanaka

MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Fred-san,

I tried another run, this time I started Task-Manager to see the load

and let a screen capture application to record desktop screen shot every minutes.

WS000002.JPG

WS000022.JPG

WS000052.JPG

WS000068.JPG

WS000134.JPG

After more than two hours, both application are still alive.

I have not been able to reproduce the crash of PSoC Creator this time.

Best Regards,

18-Oct-2019

Motoo Tanaka

0 Likes

Hi Motoo,

It would seem that it's related to building a project in Visual Studio while PSoC Creator is open.

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Fred-san,

As the KBA Dheeraj-san pointed, the safest approach must be

Workaround: Cypress recommends that you use only one IDE at a time.

In my second round test, I was running the Task-Manager and switched between IDEs

and built both project rapidly but could not re-produce the problem.

So the interference of the task-manager might pacified the symptom a little.

But if you don't want to take a chance,

using only one IDE at a time seems to be the only suggested method for the time being.

Best Regards,

23-Oct-2019

Motoo Tanaka

DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Yes, this is a known issue which occurs rarely and is hard to reproduce. Please find more information here: PSoC Creator May Crash when Run Concurrently with Visual Studio on Windows 10 - KBA226098

Regards,
Dheeraj

Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Hi,

Dheeraj and Motoo are correct regarding the KBA.

It should be noted that Visual Studio 2019 is now at 16.3.6.   I received two update notifications within one week.  Maybe they fixed the issue.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes