How to understand the strange parameter values shown by 'pstack core'
I encounterred a problem that led to a core dump. I use 'pstack core' to shown the calling stack.
However I could hardly understand some of the parameter values below:
core 'core.150108' of 5016: cmcfun
ff1e1370 __1cLComEndPointFsendv6MpnFiovec_i_i_ (c, ffbfedf8, 2, 2, c, 0) + 4
Why did the 'this' pointer of the instance of class ComEndPoint become 0xc? I don't think it is a valid value of pointer. Does anybody have any idea about this problem?
ff1e5b00 __1cYComTransaction_Icallback6FpnPpdo_transaction_pcii_v_ (6ab90, 0, 0, 0, ffbff1b8, 0) + dc
According to the source code, the 3rd parameter in the function below, which value is 0x66, was not changed in the scope of the function. However it became 0x0 when it was used as the 4th parameter to call the function above. What't the matter?
ff1528e8 pdo_dispatch (6ab90, ad, 66, 0, 0, 0) + dc
I heard that Sun C++ uses 'register windows' to pass the parameters, i0~i5 are used for the first 6 ones. Somebody told me that what I saw in the pstack might not be creditable because the registers might be changed within the function. Is that so? Would anybody plz tell me more details?
Thanks in advance.
Edited by: DirtyBear on Feb 15, 2008 1:17 AM
Register windows are a property of the SPARC computer architecture, not a property of a compiler. SPARC has multiple sets of registers. The function call instruction advances the "register window" to reveal the next set of registers, if there is one. If not, the registers are spilled to the stack to free up a window. The function return instruction moves the window back. (It's a purely hardware feature.) Eight of the registers in adjacent windows overlap, the origin of the "window" term. Registers %o0 thorugh %o7 in the caller become registers %i0 through %i7 in the called function.
On SPARC and x64, some function arguments are passed in registers, depending on how many arguments there are and their types. (The x86 architecture has no registers available for passing arguments.) On entry to a function, the parameters passed in registers might be saved on the stack, but do not necessarily need to be saved on SPARC. The Solaris ABI requires that space for the registers be allocated, but the space is not necessarily used.
In a core dump, the actual registers, particularly for functions other than the current one, are not available. The pstack operation doesn't know how many parameters a function has or what type they are. It shows the contents of the first 6 words on the stack that would hold arguments, if there were arguments, and if they were actually saved on the stack.
In optimized code on any platform, the stack area for a variable or argument is not kept up to date. Computations are kept in registers to the extent possible, and saved in memory only when necessary.
On SPARC in particular, the argument values shown in a stack trace need not be accurate.
Similar Messages
-
How to get the selection parameter values to Posting logic method
How can i read the selection parameter values at " posting logic" method, which are given in " Select Option function module"?
max bianchi wrote:
Hi
>
> The selection-screen data are stored in ABAP memory, so it need to clear it .
>
> Now how set ID parameter can depend on SAP release, anyway in ECC 6 this should work:
>
>
INITIALIZATION.
> DATA: BEGIN OF MEMKEY,
> REPORT TYPE SY-REPID VALUE SY-REPID,
> VARIANT TYPE RSVAR-VARIANT,
> INT_MODE(2) TYPE N,
> KIND(1) TYPE C,
> END OF MEMKEY.
>
> SYSTEM-CALL INTERNAL MODE INTO MEMKEY-INT_MODE.
> FREE MEMORY ID MEMKEY.
>
> But in this way it'll clea whole selection-screen...do you wnat do it?
>
> Max
@Max : The above hack seem to work fine unless you assign a 'DEFAULT' value to the selection fields.
@OP : Here is an other work around, however, this approach needs an additional effort to create
new PF-STATUS('MYLIST') and assign a function code of your choice to the function keys in the standard toolbar and handle them in the 'AT USER-COMMAND' event as shown below. Let us know if you have/find any issues with this.
PARAMETERS:
p_test TYPE char5 DEFAULT '123'.
AT USER-COMMAND.
CASE syst-ucomm.
WHEN 'MBACK'.
SUBMIT zytest WITH p_test = '' VIA SELECTION-SCREEN.
ENDCASE.
START-OF-SELECTION.
SET PF-STATUS 'MYLIST'.
-Rajesh. -
How to get the URL parameter value when navigating from JSP Page to portal
Hi All,
I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
How do we resolve this problem?
Regards,
Boopathi MHi
Please try these link might helpful for you
1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
Best Regards
Satish Kumar -
Hi,
How should I understand the parameters/argument values in the {} and [] right after a function?
For instance the {[Name="control"]}[Content] part in the
control=Excel.CurrentWorkbook(){[Name="control"]}[Content]
and also the [Control]{0} part in the periodctrl=control[Control]{0}.
Thanks.
Regards,The "[]" operator in M is like the "." operator in C-like languages, if that helps. It takes an aggregate value with named components and it selects one of those components. In the case of the record "Foo", "Foo[Bar]"
returns the field named Bar. In the case of the table "Baz", "Baz[Quux]" returns the column named Quux.
Similarly, the "{}" operator in M does subscripting of lists -- like the "[]" operator in C-like languages. If "Foo" is a list, then "Foo{0}" returns the first element of the list, "Foo{1}" returns the second
element of the list, and so on.
In the case of tables, it's also possible to use "{}" with a record argument, in which case it will return the row which matches the record criteria -- provided there is exactly one. So if "Foo" is a table, then "Foo{[Bar = 1]}"
will return the row for which the Bar column has a value of 1.
Many of the data access functions in Power Query return what we call "navigation tables". Sql.Database, for instance, returns a table with columns named Name, Schema, Object, Kind and Data. Each table in the database has a single entry in this
navigation table. When we index into the table with "table{[Schema="dbo", Object="table"]}", we're selecting the single row that matches those criteria. This gives us a record. We then want to pick the "Data" field of
that record, which contains the actual table data. That's why there's typically a "[Data]" at the end of expressions which fetch data from the SQL table. -
In OBIEE 11G, how to get the special parameter created by JAVA?
Hi Experts,
In OBIEE 11G, how to get the special parameter created by JAVA?
For example:
In JAVA , it has set one parameter named 'test'.
So how to get the parameter in filter area in OBIEE?Hi Kobe,
No P2 holds the parameter name like PresentationTable.ColumnName, in your form you may go for complete name or just column name and before submitting the form you can define the Action url.
I would suggest to read section 6.3.2.1.
ex:
<SCRIPT LANGUAGE="JavaScript">
changeAction(url) {
var TestVar = form.inputbox.value;
document.this_form.action="saw.dll?Go&Path=/Shared/Test/SB2&Action=Navigate&P0=1&P1=like&P2=Customers.Region&P3="+TestVar;
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR>
<INPUT TYPE="text" NAME="inputbox" VALUE=""><P>
<INPUT TYPE="button" NAME="button" Value="Click" onClick="changeAction(this.value)">
</FORM>
If helps pls mark.
Edited by: veeravalli on Oct 24, 2012 10:25 AM -
How to understand the STAD relevant for RFC
Hello performance experts.
I have question about how to understand the STAD relevant for RFC.
I want to know how to calculate the response time of action of "Push save buttion"
which call function module by RFC.
In our system, the screen is created using web dynpro and after push the button,
function module for application will be called.
When I push Save button, 2 STAD line is created.
One is for function code " SAVE" and the other is for "RFC".
Line for "SAVE" include RFC as client, and RFC line has RFC info as server (also client)
I wonder how I should calculate the response time of action"Save" button in following case.
Should I add the 2 response time?
1) 5,867 ms + 5,797 m is collect?
2) 5,867 ms include RFC time, so no need to sum the value and 5,867 ms is collect??
3) 590 ms + 5,797 ms is collect?
4) Or other calculation is correct ?
1) STAD for function code:
CPU time 578 ms
RFC+CPIC time 5,280 ms
Total time in workprocs 594 ms
Response time 5,867 ms
Processing time 590 ms
Load time 1 ms
Wait 5,273 ms
Roll (in+wait) time 5,274 ms
as Client
Number Connections 1
Destinations 1
Users 1
Calls 2
Time Calling 5,280 ms
Remote execution 10,527 ms
Idle 11,110 ms
Data Sent 135,836 Bytes
Received 620 Bytes
2) STAD for RFC
CPU time 1,406 ms
RFC+CPIC time 9 ms
Total time in workprocs 5,080 ms
Response time 5,797 ms
Processing time 2,132 ms
Load time 50 ms
Roll (in+wait) time 718 ms
Database request time 2,882 ms
Enqueue time 16 ms
Roll time
Wait 717 ms
as Client
Number Connections 1
Destinations 1
Users 1
Calls 4
Time Calling 9 ms
Remote execution 1 ms
Idle 0 ms
Data Sent 686 Bytes
Received 1,360 Bytes
as Server
Number Connections 1
Destinations 1
Users 1
Calls 2
Time Calling 5,272 ms
Remote execution 5,269 ms
Idle 11,118 ms
Data Sent 620 Bytes
Received 135,760 Bytes
Thanks for your cooperation in advance.
KeiichiroHi Keiichiro,
I wonder how I should calculate the response time of action"Save" button in following case.
Should I add the 2 response time?
1) 5,867 ms + 5,797 m is collect?
2) 5,867 ms include RFC time, so no need to sum the value and 5,867 ms is collect??
3) 590 ms + 5,797 ms is collect?
4) Or other calculation is correct ?
It depends of what you mean with response time of action "Save" button.
If you mean ALL time, the value is 5.867 because the local time from save was 594ms, the "external" RFC time was 5280ms.
If you want separete analysis, the 594ms is your option since the 5280ms is in other part...
Also, analysing the other part there's another other part which represents a good part of processing time:
Database request time 2,882 ms
Hope this help youl.
Regards, Fernando Da Ró -
How to get the anchor tag values in next jsp
Hey all,
I have two jsp files.
in first jsp,
I am getting the resultset.
I am setting the resultset to the anchor tag.
below is the code...
<a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp"><%=rSet.getString(1) %></a></td>
whenever he click on any anchor tag,
It will goes to ACSMasterTwo.jsp page for edit the compleate record.
how to get the anchor tag value in that page...
Please help me on this.You have to pass a parameter. An id is good.
Of course you have to get an id from somewhere in the result set right?
<a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp?id=<%= rSet.getString("id") %>"><%=rSet.getString(1) %></a></td>Then you call
request.getParameter("id");
and look up the values related to that id in the database. -
How to pass the FORM Fields value by Form Personalization
Hi ALL,
I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
can any one suggest what to do???
i tried with these syntax
TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
Regards
RaviHi,
Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
Regards,,
Anil. -
Disabling the Enter Parameter Value dialog box
I'm developing Crystal Reports in a WPF application using CRVS2010
The issues I'm having are the following:
I am attempting to pass parameter values to a report. I have been able to set a several paramater values by using the following syntax:
ReportObject.SetParameterValue("ParameterName1", ParameterValue1);
ReportObject.SetParameterValue("ParameterName2", ParameterValue2);
ReportObject.SetParameterValue("ParameterName3", ParameterValue3);
ReportObject.SetParameterValue("ParameterName4", ParameterValue4);
Issue #1:
Each time I run the application sometimes the report will display with the report data and parameter values; Other times, just before the report displays, it will prompt me to "Enter Parameter Value".
How do I prevent this dialog box from displaying so that the programmed parameter values will display instead?
Issue #2:
When the Refresh button on the Viewer control menu is clicked a dialog box prompts ask if the new parameter values should be used or to use the old parameter values.
How do I prevent this dialog box from displaying and refresh the paramater values?
I know that there is a ReuseParameterWhenRefresh property that's part of the ViewCore class but I'm not sure how to use it to eleviate the issue I'm having on the refresh.
Any help that can be provided with this most urgent matter (on my part of course) would be most appreciated.
MarlonOne issue per thread please see See [Rules Of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
Take a look at the [sample applications for CR for VS 2010|http://www.sdn.sap.com/irj/boc/samples?rid=/library/uuid/5050d3d0-19dd-2d10-ffb2-ddcd30a3e655].
Passing parameter sample app woould be able to resolve your issue.
Hope this helps,
Bhushan. -
How to get the table of value field? and can we expand the technical limits
Dear
I have created value field in COPA with KEA6. And now, I need the table which the value fields are saved. Yet, I have tried a lot to find it and get failure? Can any guy help me? Please tell me how to get the table of a value field.
And another question is that, can we extend the technical limits for the number of value field for ECC6.0?
We have a note for R.4.x Please see below:
OSS note 160892
You can display the length of a data record using Transaction KEA0 ('Maintain Operating Concern'). After you have navigated to the 'Characteristics Screen' or to the 'Value field Screen' choose menu path 'Extras -> Technical Limits'.
The maximum displayed here under 'Length in bytes on the DB' is the maximum length permitted by the Dictionary. The reserve required for the release upgrade must be subtracted from this value.
To increase the allowed number of the value fields, increase the value that is assigned to field ikcge-bas_max_cnt (FORM init_ikcge_ke USING fm_subrc, approx. line 165) in Include FKCGNF20. It specifies the number of the possible value fields. The corresponding part of the source code is attached to the note as a correction.
David Sun
Regards!how to extend the limit of value numbers? please see the original question.
-
How to use the "out" parameter in idl
hello.idl:
module HelloApp
interface Hello
string sayHello();
void getPass(in string name,out string pass);
HelloServer:
public class HelloServer
class HelloServant extends _HelloImplBase
public void getPass(String name,org.omg.CORBA.StringHolder pass)
System.out.println("Server pass = " + pass);
if (name.equals("lxh"))
pass = new org.omg.CORBA.StringHolder("1234");
if (name.equals("cbj"))
pass = new org.omg.CORBA.StringHolder("5678");
HelloClient:
public class HelloClient
public static void main(String args[])
try{
org.omg.CORBA.StringHolder Pass = null;
if (args.length == 1)
System.out.println("Client pass = " + args[0]);
helloRef.getPass(args[0],Pass);
System.out.println(Pass);
} catch(Exception e) {
When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
How to use the out parameter in client?Does this error only occurs if you pass "lxh" or always?
Did you try passing a StringHolder Object rather than a NULL Object?
Perhaps you can post the error message!? -
How to get the current month value for a customer exit variable?
How to get the current month value for a customer exit variable?
And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
Thanks!Hi Kevin,
Check here........
Re: Customer Exist for "From Current Date To Month End"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
Cal month
Regards,
Vijay. -
How to get the previoulsy selected value in a combobox
How to get the previoulsy selected value in a combobox. i WANT the current and the previously selected value of the combobox.
Just add to combobox ItemListener. When item is changing in itemStateChanged arrives 2 events. ItemEvent.DESELECTED and ItemEvent.SELECTED with corresponding item's values. Just write something like this:
comboBox.addItemListener(new ItemListener() {
Object prevValue;
public void itemStateChanged(ItemEvent e) {
if (e.getStateChange() == ItemEvent.SELECTED) {
//do what you need with prevValue here
} else {
prevValue = e.getItem();
}); -
How to change the Credential domain Value in XML gateway?
How to change the Credential domain Value in XML gateway?
configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
<Header>
<From>
<Credential domain="olgridap1.lan">
<Identity>53369415-cxml</Identity>
</Credential>
</From>
Desired XML header
<Header>
<From>
<Credential domain="DUNS">
<Identity>53369415-cxml</Identity>
</Credential>
</From>You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.
-
How to use the out parameter of a transformation
Hi All,
I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
Thansk in advanceHi,
I'm not quite sure what you are trying to do.
What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
Regards,
Carsten.
Maybe you are looking for
-
I cannot add a Wi-Fi guest network. Gone to Utilities>Airport Utilities and all I get is an image/browser of my Airport Extreme. Looking for the browser window which has the title Wireless but cannot find anywhere. What am I doing wrong?
-
Hi everyone! I'm a new macbook user, and i'm really happy, but I still need to learn a lot... hope you can help me. when I try to open my ichat, inmediatly it disconnects and says "the connection has been lost unexpectedly" (well, or something like t
-
How to make a new line item appear in a sales order in VA01 transaction?
Dear All, I am trying to create a SO with single line item with quantity 100. Upon hitting the 'Enter' key, if the available quantity is less than the requested quantity (say 20), it takes me to an availabilty control screen which has a push-button '
-
How to Take source value remove zero and use it In receiver Determination
Hi I am working On IDOc to Soap channel. In idoc Fields ,I am using EMPST field from IDOC and accordingly I am putting Condition in Receiver Determination. IF EMPST 111 Then Revceive1 IF EMPST 222 Then Revceive2 IF EMPST 333 Then Revceive3 But someti
-
Lion client OD bind to Lion server - Authentication Failed
Authenticated bind enabed via terminal command. Client and server are up to date. I've been able to bind Leopard, Snow Leopard, and Lion clients over the last few weeks before this MacBook Air but for some reason it keeps failing with an authenticati