473,626 Members | 3,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Purify error on solaris

5 New Member
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 0xfffffffffffff fd4

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_w rites [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:2 95]
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 2991
bartonc
6,596 Recognized Expert Expert
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
sudheer786
5 New Member
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
sudheer786
5 New Member
Can anyone help me out from this issue
Apr 19 '07 #4
sudheer786
5 New Member
Delete this thread please
Apr 25 '07 #5

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

Similar topics

2
3805
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 initialization of VM Unable to load native library: Access is denied
1
2428
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 fields are never set, I expect Purify to report an Uninitialized Memory Read when the structure is copied into the message buffer, but Purify actually waits until the message buffer is read before reporting the error. So Purify doesn't report an...
4
2024
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: Uninitialized memory read" error reported by Purify. I wrote a very short test CLI program that simply calls SQLAllocHandle, SQLConnect, SQLDisconnect and SQLDisconnect; and Purify still reports the same error. The following is one of them:
6
2547
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 on purify tool. I'm very new to purify tool use. Q1. Purify reports Uninitialized memory read in the following line A and Line B
10
14039
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 file to use purify. However, my code is a rather simple single-source C program, and I didn't write a Makefile for it. I'm wondering if anybody can tell me which commands are to be entered at the Unix prompt to use purify. And, I don't know if...
2
3245
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 use Rational Purify, it gives a link error as given below. Linking Undefined first referenced
1
1648
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 that terminate() was called recursively by getprotobyname() function. Without purify program compiles without error. Please help me to solve problem.
2
2266
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 intend to access later in the signal handler. timer_event.sigev_notify = SIGEV_SIGNAL; timer_event.sigev_signo = SIGRTMIN; timer_event.sigev_value.sival_ptr = data;
1
5544
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 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
0
8196
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8705
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8504
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4197
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2625
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.