From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ff84bc504c55be5b,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-10-29 21:33:23 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!stingray.cincom.COM!not-for-mail From: "BillLi" Newsgroups: comp.unix.tru64 Subject: unaligned access error on Tru64 5.1A Date: Thu, 30 Oct 2003 16:33:17 +1100 Message-ID: NNTP-Posting-Host: stingray.cincom.com (198.8.67.3) X-Trace: news.uni-berlin.de 1067492001 38148442 198.8.67.3 (16 [174003]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.unix.tru64:10868 Hello ALL, I have a question about the famous "unaligned access" error and wonder if someone can give me some advices on how to fix this. I have an in-house developed application which will be invoked by an TASK1.COM script file. Inside TASK1.COM, there is a line executeSL Task1.sl where executeSL is written in C and Task1.sl is written in MicroFocus Cobol. The problem is whenever we run the TASK1.COM script, it always come back with several warning/error messages Unaligned access pid=356799 va=0x65658ab6 pc=0x24c61438 ra=0x24c75a14 inst=0xa18a0000 Using "uac" to disable the "unaligned access" message is not acceptable as this is a mission critical task and these "unaligned access" will affect the performance. Question: I want to how to find out which statement or program (executeSL or Task1.sl) cause the Unaligned access? I wonder if someone can tell how to use dbx, ladebug or any other debugging tools to trap the statement that cause this errors? Something like "ladebug executeSL Task1.sl" etc? Thanks and regards, Bill