interpreting debug log

in my debug log i get the following message:

Memory warning: 2 unfreed allocations:
  0083365c size 0x0008 (#476) from  in ? line -1
  008336b4 size 0c0008 (#485) from  in ? line -1


i gather the (#476) is the allocation number (throughout the log there
are different refernce numbers). i cannnot find either number in the log
.. i gather the 0083365c is a memory location.
any suggestions on finding out what is not being freed??

peter
0
Peter
4/16/1998 5:36:46 PM
sybase.power++.general 2129 articles. 0 followers. Follow

8 Replies
468 Views

Similar Articles

[PageSpeed] 44

From my understanding, when you receive a line number of -1, this
indicates a memory leak occurred in the Power++ framework.  Possibly a
something from the Watcom C++ library, one of the Power++ components or
something from the base classes for your target.   With version 2.0, a
debug DLL was made available (not there now) to help locate these. 
However, a version for 2.1 hasn't become available yet.  (You would get
this in version 2.0 when using a splitbar)

  To trouble shoot, you may have to turn on tracing and slowly remove or
disable some components or code until it disappears.

LOL
Glenn


Peter Eberhardt wrote:
> 
> in my debug log i get the following message:
> 
> Memory warning: 2 unfreed allocations:
>   0083365c size 0x0008 (#476) from  in ? line -1
>   008336b4 size 0c0008 (#485) from  in ? line -1
> 
> i gather the (#476) is the allocation number (throughout the log there
> are different refernce numbers). i cannnot find either number in the log
> . i gather the 0083365c is a memory location.
> any suggestions on finding out what is not being freed??
> 
> peter
0
Glenn
4/16/1998 10:22:21 PM
thanks. 
i get the message when i access a form with some dw's and a command
button. only get the error when i make some changes on the dw. figured
it must have something to do with something i have little control over!

by turning on tracing... you mean display allocs-deallocs in the log??
or the heapwalk (i am not sure i would live long enough to go through
it)
peter
0
Peter
4/17/1998 8:31:07 AM
Trace each memory allocation as it happens.  This way you may be able to
locate the number (#476) of the allocation to narrow it down further. 
Then you can also break before any code is executed etc and single step
until you get to that point.  I can't say if this will help in your case
but it is an option.

Glenn

Peter Eberhardt wrote:
> 
> thanks.
> i get the message when i access a form with some dw's and a command
> button. only get the error when i make some changes on the dw. figured
> it must have something to do with something i have little control over!
> 
> by turning on tracing... you mean display allocs-deallocs in the log??
> or the heapwalk (i am not sure i would live long enough to go through
> it)
> peter
0
Glenn
4/17/1998 1:33:25 PM
Peter Eberhardt schrieb in Nachricht <353641AE.F83ED529@wave.home.net>...
>in my debug log i get the following message:
>
>Memory warning: 2 unfreed allocations:
>  0083365c size 0x0008 (#476) from  in ? line -1
>  008336b4 size 0c0008 (#485) from  in ? line -1
>
>
>i gather the (#476) is the allocation number (throughout the log there
>are different refernce numbers). i cannnot find either number in the log
>. i gather the 0083365c is a memory location.
>any suggestions on finding out what is not being freed??
>
>peter

I think,  they are memory leaks in the WCM, caused by a object that is not
deleted

For the following code

WBool Form1::Form1_Create(
  WObject *             source,
  WCreateEventData *    event )
{
  WString * str = new WString( "text" );
    return FALSE;
}

the debug log shows:

 00884464 size 0x0024 (#115) from Form1::Form1_Create in Form1.cpp line 179
 0088453c size 0x00c4 (#116) from  in ? line -1

hope this helps
herbert menke


0
Herbert
4/17/1998 2:48:52 PM
The debug DLL has just been made available for ver 2.1 at
https://support.sybase.com/cust_prim/cgi-bin/Logon.cgi.
Download it and replace WCMDDA24.dll in your system directory with it to
enable debugging of the Framework.  Using the debug DLL will slow the
execution in the development environment so you should only use it when
neccessary.  The way I keep track of it is by renaming WCMDDA24.dll to
WCMDDA24small.dll or WCMDDA24big.dll, depending on which is not active,
and keeping both in the Windows system directory.  

HTH
Glenn
0
Glenn
4/17/1998 6:31:45 PM
i was tracing each memory allocation. unfortuantely (#476 ) was not
explicitly referenced. However, i am able to track it down to the action
on a datawindow.

i have a dw which is a list from which the user selects. if i click on
the list, i can lose my memory (so to speak). in particular i find it
happens when i have a dw->SetRow() call. 

i am attemting to reproduce the problem using a simple dw and the sample
database. 

thanks for the info on the debug stuff from powersoft. i was also
wondering about numega's bound checker. they (numega) say the compiler
needs to generate codeview  debug info. i haven't checked that out yet,
though i found it exremely useful years ago doing dos/msc work.

peter
0
Peter
4/17/1998 7:13:44 PM
Glenn Pope wrote in message <3537A011.934BC8C7@carman.com>...
>The debug DLL has just been made available for ver 2.1 at
>https://support.sybase.com/cust_prim/cgi-bin/Logon.cgi.
>Download it and replace WCMDDA24.dll in your system directory with it to
>enable debugging of the Framework.  Using the debug DLL will slow the
>execution in the development environment so you should only use it when
>neccessary.  The way I keep track of it is by renaming WCMDDA24.dll to
>WCMDDA24small.dll or WCMDDA24big.dll, depending on which is not active,
>and keeping both in the Windows system directory.


One way to prevent slowing down the Power++ IDE when you use a debugging
component library is to copy the non-debug wcmdda24.dll into your
Power24\system directory. This way, Power++ will use the non debug-mode WCM
but your applications you will use the debug-mode wcmdda24.dll. This is how
I generally use Power++ when I need a debug-mode WCM.

The reason that Power++ normally uses wcmdda24.dll instead of having its own
copy is to reduce the overall memory requirements when debugging
applications: the system only needs one wcmdda24.dll loaded into physical
memory while debugging an application. Now that memory is becoming cheaper,
this might not be as much of an issue. Originally, we wanted the environment
to operate on a 486 with 16MB of memory; sharing the debug mode .dll was one
trick that made that somewhat possible.

Regards,

- Ivan


0
Ivan
4/17/1998 8:43:01 PM
Ivan Bowman wrote:

> One way to prevent slowing down the Power++ IDE when you use a debugging
> component library is to copy the non-debug wcmdda24.dll into your
> Power24\system directory. This way, Power++ will use the non debug-mode WCM
> but your applications you will use the debug-mode wcmdda24.dll. This is how
> I generally use Power++ when I need a debug-mode WCM.

Thanks for that, it is a big help to have the debug-mode WCM.

BTW, one can't tell it too often: Don't forget to clean the project
after changing the DLLs. It took me half an hour to figure out why my
breakpoints get ignored in the debug version while still working for the
release version...

Steffen

-- 

/**
 * Steffen Uhlig <Steffen.Uhlig@htwm.de>   __o
 * phone +49 3727 58-1350                _ \<_
 * http://www.htwm.de/~suhlig/          (_)/(_)
 */
0
Steffen
4/20/1998 9:18:58 AM
Reply:

Similar Artilces:

Log interpreter
I want to "roll my own" log interpreter. I have run dbcc log and womewhat understand what I am seeing...where however is the text for the command. I some of it but its not contiguous.. any tips LOG SCAN DEFINTION: Database id : 6 Forward scan: starting at begining of log log records for object id 48003202 maximum of 10 log records. LOG RECORDS: OAMINSERT (450,3) attcnt=1 rno=3 op=39 padlen=0 sessionid = 449,17 len=60 odc_stat=0x0040 (0x0040 (LHSX_SLRXACT)) loh_status: 0x40 (0x00000040 (LHSX_SLRXA...

log interpretation
--____DRDMUWAPIWMZCWFFBPMW____ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; modification-date="Fri, 4 Feb 2010 03:05:17 -0500" QWZ0ZXIgcmVhZGluZyB1cCBvbiBob3cgSURNIGhhbmRsZXMgZGF0YSAoVGhhbmtzIEdlb2ZmcmV5 IENhcm1hbikgSSByYW4gYSB0cmFjZS4gIEkgYmVsaWV2ZSB0aGUgbWF0Y2hpbmcgcG9saWN5IGlz IGtpY2tpbmcgb3V0IGFsbCBkYXRhIGJvdW5kIGZvciBBRC4NCg0KQmVsb3cgYXJlIHR3byBzbmlw cGV0cyBmcm9tIHRoZSBsb2cuICBXaGF0IEkgYW0gaWdub3JhbnQgb2YgaXMgd2hhdCBkb2VzICJS dWxlIFNlbGVjdGVkIiBhbmQgIlJ1bGUgUmVqZWN0ZWQiIG1lYW4/ICBBbHNvIHdoZXJlIHRoZSAi UnVs...

Log interpretation
I have gone through the whole Help list of topics and do not see where it tells how to read (interpret) a Log file. FWIN,2002/04/05,15:20:30 -8:00 GMT,134.147.115.114:2748,66.121.240.206:1214,TCP (flags:S) 66.121.240.206 is my IP, 134.147.115.114 is the probing IP. To whom does the port 2748 belong? port 1214? What does Flag S denote? The reason I ask is that I received some 58 probes from this same address in just over an hour. When I complained to the probing IP's "owner" they told me that port 1214 belonged to me. All probes were trying to get into the sa...

Logging log
Hi! I try to accomplish task described in http://forums.novell.com/novell-product-support-forums/zenworks/configuration-management/zcm-server-install/422609-mixed-login.html?pagenumber= and wonder I don't know how to keep log of logging? I mean, does ZCM is capable to keep logging log? As Altiris NS does? More thanks, Alar. -- NovAlf ------------------------------------------------------------------------ You look like you want to log in to your zone as a user from either a eDIR or AD. And yes this is possible, it will search both Directories. http://www.theurbanp...

power in Power
What does the ^ operator? I thought that it was the powering operator, but when I got 3^2=1 instead of 9... OK, I know there is pow function somewhere, but anyway... Saso On Sat, 5 Sep 1998 15:56:35 +0200, "Saso Zivanovic" <zivanovic@fmf.uni-lj.si> wrote: >What does the ^ operator? I thought that it was the powering operator, but >when I got 3^2=1 instead of 9... OK, I know there is pow function somewhere, >but anyway... > >Saso > > Hi, Saso The '^' operator is bitwise exclusive or. Although you can do some things with Po...

Log Interpreter
I had some data corruption in a char(16) field on an ase 11.5.1. (Solaris 2.6). My app vendor uses a stored procedure to update 2 tables with the same field passed in. According to the vendor this corruption is because Sybase hickupped. We have had problems with this vendor and would like to look at the updates to the table in question. I have backups of my tran log for that day. What I would like to do is to interpret these logs ala SQL Anywhere. Are there any freeware log intrepreters out there. Any help with this is welcome. Carey wrote: > > I had some data cor...

What generals generally do
Reading a McChrystal thread elsewhere, I came across someone quoting a US general http://en.wikipedia.org/wiki/Smedley_Butler > I spent 33 years and four months in active military service and > during that period I spent most of my time as a high class thug for > Big Business, for Wall Street and the bankers. In short, I was a > racketeer, a gangster for capitalism. I helped make Mexico and > especially Tampico safe for American oil interests in 1914. I helped > make Haiti and Cuba a decent place for the National City Bank boys to > collect revenues in. I ...

To log or not to log
Hello foremen, on a large database, trillions of SELECTs and DELETEs are going to be performed. After that, the database is going to be unloaded. The database uses a transaction log. Should I keep the log there along this process or "unmount" it after some parts of it (or even before the beginning)? In this case, nothing but the speed is important. The database is ASA 7.0.4.3498. Thanks Pavel LOG... ALWAYS LOG. Performance is dependent on the use of the log. Recommendations: 1) Ensure that the file system is not excessively fragmented 2) Host the db f...

debug log
I'm trying to implement Sun's Message Queue with ASA 9.0.2. Sun Message Queue is dying while doing an insert. Is there an option I can set in Sybase that will show the the attempted SQL in some sort of log? I think the problem has something to do the jdbc driver and having a log would help to narrow it down. I translated the transaction log, but that did not show anything. Preston The "request level log" is what you want. To start it, from dbisql... CALL sa_server_option('Request_level_log_file','C:\\temp\\rlog.txt' ); CALL sa_serv...

Debug Log
I can't seem to get the Debug Log to display anything; I set up its options and have it open when my program is running, but when the program exits the Debug Log is still empty. I know you need some sort of network support; I have Dial-Up networking installed (Win95), and I know the Debug Log used to work for me, but for some reason it doesn't do anything now. Any ideas? Bill Klein <bk@cheerful.com> - http://bk.base.org/ "Extraordinary claims require extraordinary evidence." -David Hume I've found that the d...

Logged In As: Not Logged In
I installed ZCF 10.0.1 on a Win 2K3 server and when I install the ZEN client on a workstation the ZENWORKS client login comes up and I cannot log into it. It shows me the realm name of my tree and Zenworks Zone and I have tried both to no avail. When I look at the details of the adaptive agent it says, "Logged In As: Not Logged In" Any ideas? On Fri, 11 Jan 2008 14:55:21 GMT, Jayson E. Hahn wrote: > Any ideas? Debug logs in ZCM http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=3418069&sliceId=SAL_Public&dialogID=51010132...

No log output despite various debug prefs and app.update.log = true
I am trying to debug a failing update process on OSX but I don't get any de= cent log output indicating what's going wrong.=20 Added this prefs: /* debugging prefs */pref("browser.dom.window.dump.enabled", true); pref("javascript.options.showInConsole", true); pref("javascript.options.strict", true); pref("nglayout.debug.disable_xul_cache", true); pref("nglayout.debug.disable_xul_fastload", true); pref("app.update.log", true); And running the app with "-jsconsole". But despite this, the app starts, th...

Interpreting Transaction logs
Hi, Looking for some information about Interpreting transaction log files on platform Sybase 5.5.05 #2764. Take a look at this snippet from a transaction log. %%UPDATE-1010-0036946606 UPDATE "dba".ADVISER SET Code='LMc' WHERE Code='LM' The header of this update sql statement where %%UPDATE-1010-0036946606 exists, does this provided sql remote message agent with Confirm received header information, or something else ? please can you tell me what it means. Also, 1010 in %%UPDATE-1010-0036946606, is this the id for SQL remote message agent, or ...

interpreting log files
i'm not sure if this is the right forum for this thread, but i was curious if anyone knew of a utility that allows an end user to interpret a log file. obviously right now we can have our users send us their log file and we can convert it to SQL and then search for a particular date/SQL command. basically, does anyone know of a utility with a user interface that would allow someone who is not too database savvy to do this on their own? You could write you own GUI for this (if you are up to writting C code to access our dbtools API) but dbtran is it. Is there a specific bus...

Web resources about - interpreting debug log - sybase.power++.general

Telephone interpreting - Wikipedia, the free encyclopedia
Telephone interpreting is a service that connects human interpreters via telephone to individuals who wish to speak to each other but do not ...

Interpreting Data - CSO - The Resource for Data Security Executives
The recent article by Cristian Florian, Most vulnerable operating systems and applications in 2014', was a huge hit, generating hundreds of comments ...

Benjamin Netanyahu cautious about interpreting Syrian fighter jet shooting
Toronto Star Benjamin Netanyahu cautious about interpreting Syrian fighter jet shooting CBC.ca Shooting down a Syrian fighter jet doesn't ...

Interpreting the eight issues of the G20 summit
Interpreting the eight issues of the G20 summit People's Daily Online As is appropriate in the global economic context, the presiding host ...

Is DreamSphere is the best dream journaling and interpreting app yet?
DreamSphere Dreamcatcher Project Is DreamSphere is the best dream journaling and interpreting app yet? is a story by AppAdvice.

Interpreting poll results on Maryland gambling - baltimoresun.com
Polls on Maryland gambling are all black or white with few shades of gray

Guest Post: Interpreting The Indian Election
This guest post was contributed by Arvind Subramanian, a senior fellow at the Peterson Institute for International Economics. He notes two surprises ...

"Whether the Fifth Circuit’s re-endorsement of the University of Texas at Austin’s use of racial preferences ...
... of Texas at Austin’s use of racial preferences in undergraduate admissions decisions can be sustained under this Court’s decisions interpreting ...

Who Remembers Weasel Words? Interpreting Ro Khanna
We often hear Republicans particularly Paul Ryan and his cult followers saying things like “I don’t think we ought to be cutting benefits that ...

Interpreting Tweets: Written on Seashore Sand, Until The Next Wave vs. Cuneiform Tablets
Are your tweets simple sentences in a chat you have with someone on Twitter? Are they mini- thoughts carefully framed and considered? Are they ...

Resources last updated: 12/5/2015 9:30:19 AM