Changing stack determination behavior

Hi.
I see the code in os::Linux::capture_initial_stack() checks the __libc_stack_end symbol to try to discern where the initial stack section is for the VM. I have a case where an executable (over which I have no control) loads a shared library I've written, but does so in a "stack sandbox". My shared library creates a VM through a JNI call. The VM gets the stack section for the main program, but is running in this sandbox and a crash occurs pretty quickly. Specifically in the guarantee(get_thread() == thread) assertion.
Are there any mechanisms for helping in this situation? From my reading of the code, my only option is to recompile the VM with a modified capture_initial_stack(), which is a little daunting (the recompile process -- not the code modification).
Is this even the right forum to be asking this question?
Thanks.
nall.

Hi Nall,
While porting OpenJDK I found a number of cases in which os::Linux::capture_initial_stack() fails, when guard pages are in force, on Itanium, and with 64kb pages. Looking into it I found that the reason os::Linux::capture_initial_stack() exists at all was that the stack capturing code for all other threads apparently did not work. I checked with our glibc maintainer and he assured me it would work, so I simply rewrote the normal code to cope with the failing cases and stopped using os::Linux::capture_initial_stack() entirely. There's a thread about it starting here.
Cheers,
Gary

Similar Messages

  • How to change stacks icon in dock?

    I love the stacks feature in Leopard. However, it seems to choose the first application in the stack alphabetically as the one to show in the dock. This is logical (if you stacked all the apps by alphabet, the top one would be the first in alpha order), but I as a user remember a group of apps by a particular signature app. For me, the Graphics stack is more immediately recognizable if the icon is of GraphicConverter than if it is of DigitalColor Meter; don't ask me why.
    Is there a way to change the default behavior of stacks icon display in the dock, letting me select the Graphic Converter icon for my Graphics stack? (This would be similar to the "Make Key Photo" command in iPhoto.) I understand that if I ever were to remove my chosen application from the stack, the displayed icon would revert to the default alpha selection.

    Actually, I may have spoken too soon. I did as directed, setting it to Display as Folder. Then I went to the actual folder, invoked the Get Info command, and pasted the Graphic Converter icon into the icon preview. This worked just great in the Finder window, but the dock icon remains a folder icon.

  • The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    If the mouse clicks something on its own then it looks like you have a hardware problem with the trackpad or possibly the battery that is right underneath the trackpad.
    I have read that the battery can swell and that would put pressure on the trackpad.

  • How to change price determination form blank to 2 on the material master?

    Hi expert,
    I had a difficult problem:
    Material ledger is active in our company Normally, in material master data accounting view 1, we always set price determination 2 and price control V. Price determination 2 is set default if creating a material master by entering no price determination.
    Today, my Key user came accross a prblem: In our company, for batch processing of material master, we made a mistake that  price determination were set blank (neither 2 or 3, In MBEW table, field MLAST is blank) when inputting material master. all data were imported without error warnings. But ,acturally, all materials' price determination in accounting view 1 was set Blank! This is a big problem that we can not release standard price or do any other price changing~~~.
    I have used CKMM to try to change price determination. But it failed: it can not identify this situation because old price determination must be set a word rather than blank in CKMM.
    I don't know any other solutions to change price determination from Blank into 2.
    Hope you can help me out. Very thankful!

    Hello,
    I have the same problem with a type material, the material ledger is active but the price determination were set blank.
    I already checked the OMX1 transaction... and all configurations of ML and type material and apparently is ok.
    Has anyone knows the solution?
    (maybe with applying a program or SAP note).
    Please help.
    Regards,
    Eliana

  • How to change Price determination from blank to 2

    Hi expert,
         I had a difficult problem:
         Material ledger is active in our company Normally, in material master data accounting view 1, we always set price determination 2 and price control S.  Price determination 2 is set default if creating a material master by entering no price determination.
         Today, my Key user came accross a prblem: In our company, for batch processing of material master, we use a IDOC to process inputting material master fields including the price determination field. But, because absence of the key user, price determination were set blank (neither 2 or 3, In MBEW table, field MLAST is blank) when inputting material master. all data were imported without error warnings. But ,acturally, all materials' price determination in accounting view 1 was set Blank! This is a big problem that we can not release standard price or do any other price changing~~~.
         I have used CKMM to try to change price determination. But it failed: it can not identify this situation because old price determination must be set  a word rather than blank in CKMM.
          I don't know any other solutions to change price determination from Blank into 2.  Specially, some materials that had already lots of movements and prices changing.
         Hope you can help me out. Very thankful!

    Hi,
    Currently the materials are inconsistent and there is no way to repair them with the standard
    programs. The problem should be corrected by Sap Support. Please create a oss message
    providing a detailed description of the incidence and the remote connection to check the problem
    in the system.
    Sorry for not giving you a better alternative.
    Regards,
    MLM

  • To create/change material determination records using VB11/VB12 transaction

    To create/change material determination records using VB11/VB12 transactions, do you know any relevant FM's or BAPI's for these transactions instead BDC?
    Thanks in advance.
    regards,
    vamshi

    Thanks for the response. I wrote the BDC.
    Have some problems in BDC for VB12.Uploading ten thousand records at a time.
    Following problems exist.
    Before updating i am reading existing data.
    In   selection condition, if i give ten thousand records
    i am getting dump.
    (ii) In the change material determination third screen
         to delimit the date ( Valid on and Valid to) it does for header not at item level. No option to do at item level.
    thanks,
    vamshi

  • Change Acct determination in an asset

    Hi,
    I think I know the answer, but there is ANY possibility to change Acct determination (ANLA-KTOGR) in an existing and with movments asset?
    We need a massive change (like 10k assets) that was been created with a wrong KTOGR.
    Thanks

    Srinivasa Maruvada wrote:
    Here the Key is Account Determination, which is assigned to Asset Class
    > If you try to change GL Account, system looks for assets posted with Account Determination
    > If any assets were posted, system will guide to change account determination.
    > If you try to change Account determination in Asset class, system looks for assets posted or not and if posted, system will not allow changes and guides to use separate Asset Class.
    >
    > So you are right and there is no other way except to creation of new Asset Class
    I know that... Uff.
    Thanks anyway

  • Changing (overriding) default behavior of  af:inputText

    Hi all,
    Is it possible to change the default behavior of the <af:inputText> or add a new one by overriding CoreInputText . e.g: like oracle forms, enter button to navigate to next item.
    Thanks in advance,
    Ahmad Esbita

    InputTexts are more than enough for me, but I was wondering if I can add some kind of functionality to them and if yes, how ?
    In my post the example was :"enter button to navigate" , some people are used to the idea of enter button navigation such as accountants ,they also relay on the mouse poorly when they are working,and what if we are asked to provide this property, and thats all.
    Regards,
    Ahmad Esbita

  • How do I change mouse button behavior in firefox to make new mouse shortcuts?

    Hi,
    For some time now I've wondered if it is possible to easily change the default behavior of mouse buttons in Firefox. What I'd like to do is define a new mouse button combination which replicates the function of an already-defined keyboard shortcut. In particular, currently, when one holds down the shift key while left-clicking the mouse while over a link, that link is opened in a new window. What I'd like to do is to have exactly the same behavior occur when I click and hold the left mouse button while pressing and releasing the right mouse button. This then makes opening a link in a new window a menu-less, one-handed operation.
    Anyone have any ideas how this might be done? Thanks!

    Hello,
    Does this addon - https://addons.mozilla.org/en-US/firefox/addon/mousecontrol/ meet your requirement? Also, you can check the list of mouse shortcuts here [[Use mouse shortcuts to perform common tasks in Firefox]]
    Hope this helps.

  • How to change account determination in sap asset accounting when there is a

    Dear experts,
    how to change account determination in sap asset accounting when there is a posting in previous one.
    thanks in advance
    Deboleena Ganguly

    HI:
    You can easily change the account determination of asset class . There is an OSS note regarding the correction of issue which you will face while changing account determination for which there are already posted fixed assets
    Error message AC476 upon change of account in AO90  can be customized now
    via transactions OBMSG...Application Area-AC
    Note 202746
    Under certain circumstances, it may still be necessary to make a change
    to this account.By implementing this note, the above error message is
    replaced by a warning message.Following account maintenance, you may
    need to carry out manual intracompany transfers in FI in accordance with
    Note 69225.
    Regards
    Edited by: Atif Farooq on Oct 31, 2011 11:44 AM

  • Change keyboard tab behavior

    This one is tough to search for, with so much duplicity of meaning in the words key, tab, navigate, etc.
    I have a tabular form where the optimal way to navigate is to go down each column instead of across each row; i.e. when the tab key is pressed, I want the focus to change from the current cell to the cell in the same column but immediately below the current cell.
    I looked at html tabindex, and I'm not sure how to make that work.
    So: can tabindex be used to change the navigation behavior of the tab key? Or, is there another way to change the tab key behavior to go column by column instead of row by row?
    TIA.
    Rick.

    Rick - I know that is possible (in theory) to trap the keystroke using JavaScript and replace it (or, do a focus() call or similar to move the focus to another element), but figuring out where you are in the table can get quite hairy.
    To be honest, it's one of these things we've been meaning to implement on one of our apps (our issue is moving to the next element when the user presses ENTER), but haven't got round to yet.
    I'd therefore be very interested to hear if you crack it (either using JS or some other method).
    Cheers,
    John.

  • How do I change the download behavior so that the "save as" radio button is selected by default instead of "open with" in the download window?

    For most file types whose download behavior is set to "always ask" the "save as" option is selected by default in the download window. However, for a few others the "open with" option is selected instead.
    Note that Firefox is not automatically opening some files instead of saving them. I still get to choose between saving or opening them, but certain file types start with "open" selected whereas for others "save" is the default.
    What I'm looking for is a way to change all file types to default to "save as" in the download window.

    see : [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    see also : [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types Set how Firefox handles different types of files]
    thank you

  • Changes to mailbox behaviors not being saved.

    Hey guys,
    I have two Google accounts set up on Apple Mail. When I try to edit the Mailbox Behaviors (under Preferences>Accounts>Mailbox Behaviors) they are never saved. My steps are:
    1. Go to Mailbox Behaviors
    2. Uncheck Drafts & Sent
    3. Click the other account, choose another tab, or close preferences
    4. Dialog appears asking if I want to save the changes
    5. I choose to SAVE.
    6. Go back into Mailbox Behaviors - the changes were not saved (i.e. everything is still checked).
    Any ideas? I'm running 10.9 on a retina Macbook Pro.

    OK...my previous attempt didnt work as the settings came back after a full sync.  However, I found another thread that solved my problem.  Hope this helps!
    https://discussions.apple.com/thread/5468664?start=15&tstart=0
    Steve Rhyne Oakland, CA
    Re: Mavericks Mail app and Gmail Drafts folder 
    Oct 24, 2013 10:30 AM (in response to Igor D.)
    I had the same problem and it was causing dozens of versions of autosaved drafts to appear in my Trash. (Gmail autosaves drafts at the server level and trashes previous saves. The feature is not customizable.)
    This fixed it for me, at least for the time being:
    1) Quit Mail.app.
    2) Log into Gmail in your favorite web browser.
    3) Click on the gear menu and select "Settings".
    4) Click on the "Labels" tab.
    5) Under "System Labels", next to "Drafts", click on "show if unread" and uncheck the "Show in IMAP' box.
    Now disable "Store draft messages on the server":
    6) Launch Mail.app.
    7) Select Mail > Preferences...
    8) Click on the "Accounts" button in the toolbar.
    9) Click once on the account name and then click the "Mailbox Behaviors" tab.
    10) Uncheck the "Store draft messages on the server" box.
    11) Close the window and opt to save your changes when prompted.
    A few other Gmail / Mavericks Mail.app discoveries:
    * You must enable the "Show in IMAP" option for the "All Mail" label in Gmail if you had it disabled before. (Google this tip for explanations and ramifications.)
    * Mail.app now seems to automatically map the Sent, Junk, Trash and Drafts folders, i.e. you can't use this menu command anymore: Mailbox > Use This Mailbox For > Drafts / Sent / Junk / Trash
    * I used to add the "[Gmail]" prefix under the "Advanced" tab of my mail account to eliminate it from the IMAP view, but it doesn't seem to be necessary any more, and might even have been causing some weirdness.

  • Changes in ACR Behavior

    Today I was notified of updates to Bridge and Camera RAW when I rebooted in Win7 64, and changes to Camera RAW only in XP 32.
    In Win7 I allowed the updates, and then opened  a file to see what I could see. I was shocked by what I saw.
    Apparently, the update took some xmp data from a file previous to the update, and applied it as a new default setting for my camera, as if I had myself done that, which I can assure you I did not, as I want to be sure my starting place for the evaluation was consistent, even if incorrect for the particular image.
    Here's the changes:
    1) All images now read 2010, including images never before opened anywhere and showed 2003 when first opening these in the current ACR. Ok, I can live with that.
    2) The Detail menu reflects a set of sharpness and noise settings I applied during my most recent runs for a particular ISO value which I had saved. Again these showed up on images from February never before opened anywhere. Not so acceptable at all.
    3) The "Enable Lens Profile Corrections" is now checked...total disagreement here! I have never saved (clicked Done) on any image I used to check the behavior of Lens Corrections.
    So, I reset all to the former defaults and saved as new camera raw defaults.
    I switched to XP CS5 and the notification of the update showed up. It only said Camera raw updates. I did not allow the updates, but went immediately to the same image I used to check the behavior in Win7 64. They all were at my selected defaults...no sharpening, noise or checked "Enable Lens Profile Corrections" IOW business as usual which I had so carefully selected and matched to the Win7 version.
    I ran the updates, and the only change I saw here was that the 2010 now ran without my selecting it, but all the other settings remained at MY default settings.
    I am at a loss to explain or accept. There is, of course, the remote possibility I did change the default settings in ACR Win7 version, but the change in "Enable Lens Profile Corrections" would have been excluded.
    Or my Fairy Godmother decided I  didn't know what the F I am doing and did it for me!
    So, it behooves the user to maintain a check on all default settings when updates are applied. I do that anyway, but I can get lazy or in a schedule conflict and simply run it.
    Note: What I had hoped I would see:  New lens data in ACR is provided including the 18 to 105 is now available. It isn't.
    Lawrence
    I posted this in error in the Lens Correction Creator thread. My bad!

    This is the Lens Profile Creator forum.  You might have better luck with a post like this one in the Camera Raw forum.

  • Mail not saving changes in Mailbox Behaviors

    For one of my accounts since the upgrade to Mavericks when I enter the Mailbox Behaviors section, I found that Drafts, Junk and the one under Trash named Store Deleted messages on the server is checked.
    I uncheck them because I doon't want them checked. I Save the changes I made then go back to that account and the same ones I just unchecked are now checked again. Its not saving what I just unchecked.
    What the heck is wrong?
    Also noticed that in OSX 10.8 I could drag all my email accounts to a different order than the way they are now listed. Can't do that now.

    Thanks for discovering this issue being connected to drafts. I have trouble with this for a couple of months as well.
    Since you assume it to be connected to "drafts", I suggest to deselect "Store draft messages on the server" for your IMAP-Account. I just did this for myself, to see if it helps, and can't give you results yet. Maybe you just wanna try simultaneously. I guess, the reason for our problem could me some messy communication between Mail and the server, where one party get's confused.
    Greetings
    Paul

Maybe you are looking for