Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problems with QNX or to stupid?: (5 Items)
   
Problems with QNX or to stupid?  
Hallo,
I'm new to QNX and have a difficult problem or maybe not.
I am using a QNX Host on a x86 Plattform and a Windows XP Host system.
When connecting the Momentics IDE with the Hostsystem (qconn) the "Hello World" Programm is running in the IDE.

But when i starting the programm in the shell on my QNX Host, i getting this error message. "Memory fault (core dumped)"
.

I hope anybody knows this problem and can help me.

Thanks

Carsten
AW: Problems with QNX or to stupid?  
Hmmm strange. Can You post the output of 

qconfig

command from out of Your Windows DOS cmd-shell ?

And the output of 

uname -a

and if possible 

qconfig

from Your target ?

Just want to exclude a host - target version mismatch.

Jeevan


-----Ursprüngliche Nachricht-----
Von: Vielstädte Carsten [] 
Gesendet: Freitag, 23. Mai 2008 11:21
An: momenticsgs-community
Betreff: Problems with QNX or to stupid?

Hallo,
I'm new to QNX and have a difficult problem or maybe not.
I am using a QNX Host on a x86 Plattform and a Windows XP Host system.
When connecting the Momentics IDE with the Hostsystem (qconn) the "Hello
World" Programm is running in the IDE.

But when i starting the programm in the shell on my QNX Host, i getting this
error message. "Memory fault (core dumped)".

I hope anybody knows this problem and can help me.

Thanks

Carsten

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post8397
Re: Problems with QNX or to stupid?  
Have you modified the program at all? If you run it from IDE if it 
actually crashes error message would not be visible.

Vielstädte Carsten wrote:
> Hallo,
> I'm new to QNX and have a difficult problem or maybe not.
> I am using a QNX Host on a x86 Plattform and a Windows XP Host system.
> When connecting the Momentics IDE with the Hostsystem (qconn) the "Hello
World" Programm is running in the IDE.
>
> But when i starting the programm in the shell on my QNX Host, i getting
this error message. "Memory fault (core dumped)".
>
> I hope anybody knows this problem and can help me.
>
> Thanks
>
> Carsten
>
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post8397
>
>   
Re: Problems with QNX or to stupid?  
It looks like I ran into the same problem. 
I have qnxsdp-6.5 installed on my host pc (Vista), and installed QNX on VMware player 4.0. 
run qconfig on host pc:

QNX Installations

  Installation Name: QNX Software Development Platform 6.5.0
            Version: 6.5.0
     Base Directory: C:/QNX650
           QNX_HOST: C:/QNX650/host/win32/x86
         QNX_TARGET: C:/QNX650/target/qnx6

Additional Packages

run qconfig on qnx 
QNX Installations

Installation Name: QNX Software Development Platform 6.5.0
Version: 6.5.0
Base Directory: /usr/qnx650/
QNX_Host: /usr/qnx650/host/qnx6/x86
QNX_target: /usr/qnx650/target/qnx6

The default c++ QNX project can be compiled and run from IDE OK, and I can see the program out "Welcome to the QNX 
Momentics IDE". but when I transfer the executable file to qnx, and run it from the terminal, I got memory fault (core 
dumped) message. 

If I transfer the source file (.cc) files to qnx and compile the source file on QNX instead of IDE, the binary file can 
run without memory fault. 

 

Re: Problems with QNX or to stupid?  
Is chksum of files (on windows and in qnx) the same?