473,395 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Purify error on solaris

A purify error while doing build is setup
--------------------------------------------------------------------------------

Hi all,

I was facing a strange error while trying to run my labeled build once after the make depend and make all was sucessful in solaris.

When I tried to attach dbx and run the build on solaris 5.4 release , it shows a wrong a menory address which is cascaded. Neither of the memory is freed.

dbx: cannot access address 0xffffffffffffffd4

When I tried to run with purify it shows

UMR: Uninitialized memory read:
* This is occurring while in:
_writev [libc.so.1]
ts_tcp_writev [ts_tcp.c:401]
ts_send [trans.c:512]
check_pending_writes [perm.c:956]
PermPoll [perm.c:2233]
flush_perm [cfg.c:839]
* Reading 2092 bytes from 0xff322fdc (misaligned) between the heap and the stack (2060 bytes at 0xff322ffc uninit).
* Address 0xff322fdc is global variable "pack_buff".
This is defined in perm.c.


SBW: Stack array bounds write:
* This is occurring while in:
memcpy [rtlib.o]
smcallback [mgmt_sm.c:2415]
MakeCallback [perm.c:1814]
client_read [perm_client.c:295]
ts_poll [ts_poll.c:336]
PermPoll [perm.c:2263]
* Writing 2000 bytes to 0xffbed130.
* Frame pointer 0xffbed530
* Address 0xffbed130 is local variable "mymsg" in function smcallback.

MSE: Memory segment error:
* This is occurring while in:
MakeCallback [perm.c:1826]
* Accessing a memory range that crosses a memory segment boundary.
Addressing 0xffffffdc for 4 bytes ending at 0xffffffe0,
which is neither in the heap nor the main stack.

COR: Fatal core dump:
* This is occurring while in:
MakeCallback [perm.c:1826]
* Received signal 11 (SIGSEGV - Segmentation Fault)
* Faulting address = 0xffffffdc
* Signal mask: (SIGSEGV)
* Pending signals:

Purify: Searching for all memory leaks...

Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)

Purify Heap Analysis (combining suppressed and unsuppressed blocks)
Blocks Bytes
Leaked 0 0
Potentially Leaked 1 8200
In-Use 282 970327
----------------------------------------
Total Allocated 283 978527

Can anybody please let me know

1.why this happens and why this error occurs.

Accessing a memory range that crosses a memory segment boundary.
Addressing 0xffffffdc for 4 bytes ending at 0xffffffe0,
which is neither in the heap nor the main stack.

2. Why this cascading of memory address is happening.
Apr 16 '07 #1
4 2982
bartonc
6,596 Expert 4TB
I see that you are ALL OVER the site with this question.
Let's try one of the sys/admin forums...

[from Member Introductions]
Apr 16 '07 #2
I see that you are ALL OVER the site with this question.
Let's try one of the sys/admin forums...

[from Member Introductions]

Hi ,

Please let me know where I can post this question and get the reply for this
Apr 18 '07 #3
Can anyone help me out from this issue
Apr 19 '07 #4
Delete this thread please
Apr 25 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tomer Ben-David | last post by:
Hi I downloaded purify. Im running a simple hello world through purify on windows2000 machine. However whenever the purify runs it i get in the console window: Error occurred during...
1
by: Eric | last post by:
I am sending a structure over a socket, and so the structure is copied into a message buffer first. The structure has some spare fields in order to align the fields properly. Since those spare...
4
by: hcc | last post by:
Hi, Does anyone have experience with using Purify with db2 CLI application? We're using Purify to diagnose some problem in our multi-thread CLI application, and we're getting lots of the "UMR:...
6
by: sangeetha_b | last post by:
Hello, I've writen one simple program to automate some manual process. I've written that in c program. It works fine so far no problem reported on this. Last week, i get chance to run my program...
10
by: eyh5 | last post by:
Hi, My C code (running on Soalris Unix) has some "segmentation fault" that I wish to use purify to do it. I poked around the web, and found some information about adding some lines in a Makefile...
2
by: saby | last post by:
Can anybody knowing Rational Purify help me? I am instrumenting an exe on solaris using Rational Purify. While building the exe, known as "DPSRun", it does not give any problem. But while I...
1
by: Teddy | last post by:
Hey guyes I am getting problem with purify. I am using g++ compiler on Solaris 5.10 and linking it with purify. Whenever I compiled program with purify option I get CORE DUMP error with message...
2
by: Achint Mehta | last post by:
Hi, I am running purify on my program (on linux with gcc ver. 3.4.6) I have installed a signal handler (for timer) using sigaction. I am passing a pointer (data) into the sival_ptr which I...
1
by: sudheer786 | last post by:
Hi all, I was facing a strange error while trying to run my labeled build once after the make depend and make all was sucessful in solaris. When I tried to attach dbx and run the build on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.