Operating System - HP-UX
1753755 Members
4904 Online
108799 Solutions
New Discussion

porint code from J5600 PA-RISC B 11.0 to J2800 Integrity ia64 B 11.31 cause memory dump

 
xinhua fahy
Occasional Advisor

porint code from J5600 PA-RISC B 11.0 to J2800 Integrity ia64 B 11.31 cause memory dump

I am trying to port an application code written in c from J5600 PA-RISC to J2800 B11.31 ia64.

Here is the information of my J2800 machine:

 

$uname -a

HP-UX DRS2 B11.31 U ia64 1803289373 unlimited-user license

 

The code that caused memory dump is Motif code.

Here is the line that caused memory dump:

 

(Window) choice_menu= (Window)XmCreateRowColumn(screen_shell,"screen_menu2",args,n)

 

I also run gdb on the problem, please see the attachment for details.

Let me know if you need more information.

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: port code from J5600 PA-RISC B 11.00 to rx2800 Integrity ia64 B 11.31 cause memory dump

>I am trying to port an application code written in C from J5600 PA-RISC to J2800

 

(Please use the Options menu to to edit your post to change J2800 to rx2800.  The model(1) command will tell you the correct model.)

 

>The code that caused memory dump is Motif code.

(Window) choice_menu= (Window)XmCreateRowColumn(screen_shell, "screen_menu2", args, n)

 >I also run gdb on the problem, please see the attachment for details.

 

The first parm to _XmAddHashEntry is a pointer to a struct.  The 4th word is a pointer to a function and that's 0:

0x200000007e6203e0:1 <_XmAddHashEntry+0x01>:  addp4            ret0=12,r32

0x200000007e620440:2 <_XmAddHashEntry+0x62>:  br.call.sptk.many rp=b7;;

br7:                  0

 

Did you forget to call some initialization function?