Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - cygpath.exe - Application error: (15 Items)
   
cygpath.exe - Application error  
Hi,

Attached archive contains 2 pics about the error.

The error occurs when doing a make through the IDE. When the MAKE is run using a DOS prompt then no errors occur. 
Another error
occurs less often but also during the same build!
It is a QNX C Project.


OS: WinXP SP2
Ram 3GB
Processor: Intel Core2 CPU6600 @ 2.4GHz

On building the project I noted that the average CPU usage was in the region of 55% and initially peaking at about 75%.

The output of qconfig is as follows:

QNX Installations

  Installation Name: QNX Momentics 6.3.0 Service Pack 3
            Version: 6.3.0 SP3
     Base Directory: C:/QNX630
           QNX_HOST: C:/QNX630/host/win32/x86
         QNX_TARGET: C:/QNX630/target/qnx6

Additional Packages

          Package Name: QNX Momentics Professional Edition IDE
               Version: 4.0.1
                  Base: QNX Momentics 6.3.0 SP1, SP2 or SP3
          Install Path: C:/Program Files/QNX Software Systems/Momentics/IDE4

Any clue ?
What is the root cause for this kind of error ?
Howto to debug ?

THX,
Jeevan


Attachment: Compressed file CygpathError.zip 27.69 KB
Re: cygpath.exe - Application error  
> What is the root cause for this kind of error ?
> Howto to debug ?

Do you have an existing cygwin installation? If I remember correctly, someone else encountered this before when they had
 two different versions of the cygwin1.dll on their system.

If there are two cygwin1.dll on the system, make sure there is only one and eliminate the oldest one as cygwin is 
backwards compatible but not forwards compatible.

Regards,

Ryan Mansfield
Re: cygpath.exe - Application error  
I have scanned both C and D drives and found only one cygwin1.dll and one cygpath.exe file! There were others which I 
have already eliminated.

This project is built on six other developer's PC with only mine having this issue!

This error also happens when performing a project clean.

I have also completely cleared the windows prefetch folder and rebooted.

I have attached a file marked with the region when the error first occurs. It is difficult to catch it exactly as it 
happens. Maybe this will shed more light on the subject. However this does not happen on other PCs!

Regards,
Gordon


Attachment: Image Cygpath Error.JPG 339.92 KB
Re: cygpath.exe - Application error  
Sorry, I captured the whole screen  - I have two monitors on this PC!

Try again!

Rgds,
Gordon
Attachment: Image Cygpath Error.JPG 173.23 KB
Re: cygpath.exe - Application error  
I have found a log file in one of three workspaces. Please see the attached file! This file has no name but is a .log 
file!

I have removed this log file from the .metadata directory to my desktop and since starting the IDE again I see no trace 
of another .log file being created! I wander if I am looking in the right places!?

I also had Cantata installed which I have not removed and have some smartbear stuff which I believe is associated with 
CodeCollaborator which used java! Can this perhaps have anything to do with the above issue?

A further point to note is the fact that I am not able to debug remotely. My peers are able to do this without any 
problem, just my system which cannot do this!

Thanks again and hope the above is of more help to those looking into this issue!

Regards,
Gordon


Attachment: Text .log 55.62 KB
Re: cygpath.exe - Application error  
> 
> I also had Cantata installed which I have not removed and have some smartbear 
> stuff which I believe is associated with CodeCollaborator which used java! Can
>  this perhaps have anything to do with the above issue?
> 


This HAS been removed!
Re: cygpath.exe - Application error  
Does the .log file gives anyone any clue ?

THX,
Jeevan
Re: cygpath.exe - Application error  
n it Maybe more useful would be if you create simple qnx project and in properties instead of regular make use cygpath  
-v, run it, then do the same from command line. I have a big suspicious that these are  two different instances of 
utility you are launching from IDE and from command line. Even if they display the same, you can also try to rename the 
one which lives in qnx63x/host/...and launch it once again from command line  and from IDE.
Re: cygpath.exe - Application error  
Hi Alex,

I get the following output through the IDE:
cygpath -v all --file=C:/DLS/cygpath_test/QMakefile37979.tmp 
Cygwin pathconv version 1.0
Copyright 1998 Cygnus Solutions


...and the from the command prompt:
Cygwin pathconv version 1.0
Copyright 1998 Cygnus Solutions


I only have one copy of cygpath. I have scanned both drives a number of times and each time I make sure I clear out the 
prefetch folder.
Re: cygpath.exe - Application error  
Is it possible to have your project for the testing purposes?

Gordon Reineke wrote:
>
> Hi Alex,
>
> I get the following output through the IDE:
> cygpath -v all --file=C:/DLS/cygpath_test/QMakefile37979.tmp
> Cygwin pathconv version 1.0
> Copyright 1998 Cygnus Solutions
>
>
> ...and the from the command prompt:
> Cygwin pathconv version 1.0
> Copyright 1998 Cygnus Solutions
>
>
> I only have one copy of cygpath. I have scanned both drives a number 
> of times and each time I make sure I clear out the prefetch folder.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5509
>
Re: cygpath.exe - Application error  
> Is it possible to have your project for the testing purposes?
> 

The problem is the project with all files zipped is almost 80MB - I don't know what to include and what not to in order 
to give to you!

The other issue is I have copied this project to my laptop and it works there with none of the above problems occuring! 
I don't believe giving you the project will prove anything, well at least not for this problem!

I am stumped! There must be some other fundamental underlying issue I am either overlooking or am doing or not doing for
 that matter!

Chances are it is not even an IDE issue! I just don't know! Currently I simply live with the error pop-up as the 
programs still compile and run as they should!
Re: cygpath.exe - Application error  
Alex wrote:
> > Is it possible to have your project for the testing purposes?
> > 
> 

Gordon wrote:

> The problem is the project with all files zipped is almost 80MB - I don't know
>  what to include and what not to in order to give to you!
> 
> The other issue is I have copied this project to my laptop and it works there 
> with none of the above problems occuring! I don't believe giving you the 
> project will prove anything, well at least not for this problem!
> 
> I am stumped! There must be some other fundamental underlying issue I am 
> either overlooking or am doing or not doing for that matter!
> 
> Chances are it is not even an IDE issue! I just don't know! Currently I simply
>  live with the error pop-up as the programs still compile and run as they 
> should!

Hi Gordon,

Is it possible for You to try with the latest IDE4.5 ?

From here:
http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/Whats_New_IDE_Tau

Thanks,
Jeevan

  
  
Re: cygpath.exe - Application error  
> Hi Gordon,
> 
> Is it possible for You to try with the latest IDE4.5 ?
> 
> From here:
> http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/
> Whats_New_IDE_Tau
> 
> Thanks,
> Jeevan
> 
>   
>   

Jeevan, thanks for the call!

I installed the IDE above and there in no more error poping up! Thanks for that!

I note this is not an install but simply an unzip and use.  Is there an install to update the current IDE and if not, 
when will it be available.

Alex, Jeevan, thanks for all your help above, calls and emails too!

Cheers
Gordon



Re: cygpath.exe - Application error  
> > Hi Gordon,
> > 
> > Is it possible for You to try with the latest IDE4.5 ?
> > 
> > From here:
> > http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/
> > Whats_New_IDE_Tau
> > 
> > Thanks,
> > Jeevan
> > 
> >   
> >   
> 
> Jeevan, thanks for the call!
> 
> I installed the IDE above and there in no more error poping up! Thanks for 
> that!
> 
> I note this is not an install but simply an unzip and use.  Is there an 
> install to update the current IDE and if not, when will it be available.
> 
> Alex, Jeevan, thanks for all your help above, calls and emails too!
> 
> Cheers
> Gordon
> 

I am happy that this works for You Gordon,

And thank You Alex for Your help.

What made me suggest You the IDE45 was that in the above link this bug fix is mentioned:
--
C/C++ Development: fixed out of memory problem when loading huge binaries for navigation in C/C++ View 
--
And You told that Your project is zipped somewhat 80MBs in size.

@Alex: Perhaps You can see more in this direction ?

However. I think we can leave this as is, isn't it Gordon ?

> I note this is not an install but simply an unzip and use.  Is there an 
> install to update the current IDE and if not, when will it be available.

Not yet. Maybe someone else can comment on this.

Regards,
Jeevan
  



Re: cygpath.exe - Application error  
OK, please send me length and chksum of suspicious utility together with 
environment. I don't have other ideas for now, sorry.

Gordon Reineke wrote:
>
> > Is it possible to have your project for the testing purposes?
> >
>
> The problem is the project with all files zipped is almost 80MB - I 
> don't know what to include and what not to in order to give to you!
>
> The other issue is I have copied this project to my laptop and it 
> works there with none of the above problems occuring! I don't believe 
> giving you the project will prove anything, well at least not for this 
> problem!
>
> I am stumped! There must be some other fundamental underlying issue I 
> am either overlooking or am doing or not doing for that matter!
>
> Chances are it is not even an IDE issue! I just don't know! Currently 
> I simply live with the error pop-up as the programs still compile and 
> run as they should!
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5606
>