Loading symbols for the Linux user process

Hello

I'm trying to debug an application multi-threaded running inside a virtual machine, both in live replay mode. The virtual machine is running RHEL 5, kernel 2.6.18 - 164-2-1. I tried the gdb remote running on the host computer for this virtual machine (also a RHEL 5 machine) as well as of a box of Ubuntu 8.04. The results in both cases are identical. I am running VMWare Workstation 6.5.3.

I can attach it to the virtual machine and, after issuing the command "linuxoffsets" monitor", see all the processes. I can switch between them using the command 'thread '. However, I can't see backtrace. I suspect that it is because the symbols are not loaded correctly.

If I try to debug a live application, gdb tries not to load the symbols at all, no matter what I do.

If I try to debug a session of proofreading, gdb tries to load the symbols after that I run the command 'remote target. However, it seems for them on the machine running gdb, and not on the host being debugged. I tried to copy all libraries to the machine where gdb is running and setting the solib-search-path and solib-absolute-prefix options. If I do this, gdb claims load all symbols libraries successfully, but the batteries are largely deformed. If I try to set breakpoints, they never get triggered.

I was wondering what is the correct procedure to make it work. The user manual has instructions for some of this, but they seem to be for Windows. GDB and Linux are not mentioned at all.

Thank you

Ray

Hi Ray,

6.5.3 workstation does not support replay debugging gdb.  Do us, however, publish a new Workstation Release Candidate, that supports Linux gdb debugging replay.  You can download from http://communities.vmware.com/community/beta/workstation?view=overview.  The gdb user manual debugging replay is http://communities.vmware.com/docs/DOC-10714.  Let us know how it goes.

Thank you

Eric

Tags: VMware

Similar Questions

  • Not able to access sqlplus command-line linux for the new user added

    Hi all

    We have a strange problem with a new user of linux Redhat , trying to to connect to Oracle 10 g from the command line and would like any suggestions you have.

    -other users are able to connect via sqlplus fine to their respective Oracle accounts, both for the new user account.
    -I know the user and the password works because we can connect through Oracle SQL Developer from a terminal Windows.

    -----

    The monitoring of symptoms:

    Since terminal linux+:

    [user@server]$ sqlplus
    Error Initializing SQL 6 * more
    SP1 file < lang > .msb not found message
    SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory

    [user@server]$ echo $ORACLE_HOME
    / opt/oracle/10 g

    [user@server]$ echo $ORACLE_SID
    ~ also define as in other users without db connection problems

    [user@server]$ pico * .bash_profile]
    ~ the value as in other users without db connection problems

    [user@server]$ testconnection.pl perl

    Series of tests in connection...

    ORA_HOME: "/ opt/oracle / 10g.
    AMERICAN

    DBI connect('local.domain.name','db_username',...) failed: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS parameters etc.) to the line /www/testconnection.pl 21
    has failed: ERROR OCIEnvNlsCreate (check the ORACLE_HOME and NLS parameters etc).


    [user@server]$ pico testconnection.pl

    ! / usr/bin/perl

    Use DBI;

    $this_var [0] = "dbi:Oracle:local.domain.name";
    $this_var [1] = 'db_username ';
    $this_var [2] = 'db_password ';

    print 'Test Run of connection...\n\n';
    print ' ORA_HOME: '$ENV {ORACLE_HOME}' \n ";
    print ' NLS_LANG: '$ENV {NLS_LANG}' \n ";
    Print "ORA_NLS: '$ENV {ORA_NLS}' \n ';"
    Print "\n\n";

    #connect DB
    $dbh = DBI-> connect ($this_var [0], $this_var [1] $this_var [2]);
    {if ($DBH)}
    Print "OK \n";
    $dbh-> disconnect;
    }
    else {}
    Print "failed: $DBI: errstr\n";
    }


    Thanks for your help!

    >
    [user@server]$ ls - lt /opt/oracle/10g/sqlplus/mesg/sp*.msb
    -rw - r - 1 oracle oinstall 31744 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp2us.msb
    -rw - r - 1 oracle oinstall 11776 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp1us.msb
    >

    It seems that if you have a permissions problem. If your username is not a member of the oinstall group, he or she has no access to the necessary sql * more files. I recommend you read MOS 420083.1 Note for a more in-depth discussion to set the file permissions on the Oracle home.

  • WMIC command fails for the domain user

    Hi all

    I use windows 7 and testing commands wmic as below

    WMIC/node: "Computer1" / User: "domain\username" / Password: "password" PROCESS CALL Create "calc.exe"

    Most of the time control fails with RPC server unavailable to users in the domain (default of 75%). Working sometimes and mostly failing to time.

    Error code

    0x800706BA-online the RPC server is unavailable.

    If I use the local user, she is successful, command below still works (100% success)

    WMIC/node: "Computer1" / User: 'Nom_ordinateur\Nom_utilisateur' / Password: 'password' PROCESS CALL Create "calc.exe"

    I have two computers running windows 7, the firewall is disabled

    Executing command from computer2 as below

    WMIC/node: "Computer1" / User: "domain\username" / Password: "password" PROCESS CALL Create "calc.exe"

    1 computer settings

    1. Adds the domain under group administrator user
    2. Configure dcom through DCOMCNFG.exe and got all rights to domain user

    (DCOM remote launch and activation permissions for a user, the remote DCOM access permissions)

    1. Rights granted to wmi namespace (root, cimv2) of domain user using wmimgmt.msc (all rights to the namespace namespace and sub)
    2. Firewall settins according to the - http://msdn.microsoft.com/en-us/library/aa822854%28v=vs.85%29.aspx

    Note: The firewall is disabled

    1. UAC disabled
    2. Check rpcss and associated to the computer and all services are running

    What could be the reason of failure for the domain user (work awhile and is Server Unavailable RPC over time). Tried to restart that wmic user system and field control did not exist, after awhile like 30-45 minutes user field the wmic commands work and default again. How to solve this problem (such as checking the logs)?

    Thank you

    Mani

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en/winserverDS

    It will be useful.

  • Order is created for the anonymous user without persistence of profile

    Hi all

    Could you please specify o how to implement below scenario

    Order is created for the anonymous user without persistence of the profile using cookies. So that when the user visits the site next time we can load

    order/cart previous from browser cookies.

    Yes, you can do that, the orders can be persisted without persistence of profile, but persistence of anonymous orders will increase the number of orders in the table quickly and can have an impact on performance, so if you plan to do it this way then make sure that your AbandonOrderScheduler job is running to clean up orders.

  • Permission of files and folders for the same user on multiple computers

    Is it possible to set permissions files and folders different for the same user when he connect on different computers in the same domain?

    Example:

    There is a folder named "Folder1".
    When "User1" enter this folder by "Computer1" must have "Read & Execute" permission
    When "User1" enter this folder in "Computer2" must have permission 'change '.

    Thank you

    Hello

    Your question is beyond the scope of this community.

    Please post your question on the TechNet forums:

    https://social.technet.Microsoft.com/forums/Windows/en-us/home

    Kind regards

  • I have a little problem with my HP KU0841 keyboard I used to be able to hold two keyes to get the symbol for the pound sterling but it won´t work now all the ideas that I hit to stop this work?

    Can anyone help please.  I used to be able to get the symbol for the pound Sterling by pressing ALT and 0163 at the same time, maybe you'll know

    That's how you used to make the binary code on non-electric machines punch original card.  This will make me sound old?

    It's very frustrating that nothing bought here in Spain is not consistent with the rest of Europe, it is purely for the Spanish market.  I need to use this and other symbol that don't appear on my keyboard, but it is very - very sensitive touch and I think I must have hit another function key for stopping this work but can find nothing written on the computer and the manual was not in the box. as usual.

    Please let know us if possible thank you.

    Start > all programs > Accessories > system tools > character map

    http://symbolcodes.TLT.PSU.edu/accents/Charmap.html

    You can drag the key and drop it in your report or use the code indicated in the bottom right of the application

    Key codes Alt Windows

    http://symbolcodes.TLT.PSU.edu/accents/codealt.html

  • How to make the updates of operating system for the limited user account?

    original title: how to make the updates of operating system for the limited user account?  Limited user account cannot access the Windows Update page, see instead cautioned against MS the most recent must be installed.

    XP Pro SP3 slipstreamed.  New a DBAN nuked HDD installation

    All the OS updates installed from Admin acct before creating the LUA

    AV installed AVAST

    all dot net uninstalled and then reinstalled to resolve a problem installing Quicken

    Updates to auto lit

    Active Windows Firewall

    Three solutions of workaround for Windows XP running as a limited user

    http://blogs.Computerworld.com/16502/three_workarounds_for_running_windows_xp_as_a_limited_user

    Survive a Windows XP Limited user account

    http://techknack.NET/surviving-a-Windows-XP-limited-user-account/

    See the response from Michael Kuntz - re: HAL files

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/thread/e8612ac4-b881-4FB3-85e7-32004932fb5f

    There is an available for installation of SP3 Cd

    Manually installing SP3 using the Microsoft Download Center or a CD

    If you have problems to receive the service pack from Windows Update, you can download SP3 as a standalone package from the Microsoft Download Center Web site, and then install SP3 manually. The installation package is intended for it professionals and developers, but you can always download and install this file.

    You can also order a CD from Microsoft containing SP3. For more information, go to the Microsoft site.

    To manually install SP3 using the standalone package installation or CD

    1. Do one of the following:

      • If you downloaded SP3 from the Web site, to install it immediately, click Open or run and follow the instructions on the screen. To install the program later, click on save and download the file to install it on your computer. When you are ready to install the service pack, double-click the file.

      • If you install SP3 from the Service Pack 3 CD, insert the disc into your computer with your current version of Windows XP running, and Software Update Installation Wizard should appear automatically. If this wizard does not appear, click Start, double-click my computer, click on your CD or DVD drive and then click AutoPlay.

    2. In Windows XP Service Pack 3 page, click Next.

    3. Follow the instructions that appear on your screen.

    4. Once the installation is complete, click Finish to restart your computer.

    5. If you disabled your antivirus software, turn it back on.

  • The message I get is Microsoft word has not been installed for the current user. Please run set up to install the application. I reinstalled the software, but get the same message.

    The message I get is Microsoft word has not been installed for the current user.   Please run set up to install the application.   I reinstalled the software, but get the same message.

    Hello

    See the methods listed in the articles below and check.
    You receive an error "Microsoft has not been installed for the current user" message when you try to start an Office 2003 program or an Office XP program for the first time
    http://support.Microsoft.com/kb/898512
     
    You receive a message "Microsoft has not been installed for the current user" when you start an Office XP program or start of Microsoft Office Maintenance mode
    http://support.Microsoft.com/kb/298022

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I forgot the password for the authorized user account. How am I able to get on the authorized user account

    If I forgot the password for the authorized user account. How am I able to get on the authorized user account? I am the authorized user btw.

    Hello

    1. What do you mean exactly when you say 'authorized user account password'?

    2. who are you referring?

    Are you a person referring Windows user name and password, refer to the article that you give

    In addition, technical support engineers Microsoft cannot help you recover passwords files and Microsoft who are lost or forgotten product features.

    Microsoft's strategy concerning lost or forgotten passwords

  • How to give administrative rights for the domain users (user is outside organization).

    Hello

    How to give administrative rights for the domain users (user is outside organization).

    If the employee works in the company of xxxx but it supports the client project and is located on the place of the customer, but it does not use the client computer and not on the client domain as well, but the employee is in the company of xxxx must be given administrative rights to the computer. can someone help me on this ASAP.

    Thank you

    MURUGESAN Rudy,

    This issue is beyond the scope of this site and to make sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
  • ACS 5.4 ASA 8.2.5 disable AAA for the particular user

    Hello!

    I want to disable journaling Ganymede + for the particular user. This user is used only for automated (python script) pooling of vpn tunnel ASA (limited command set - permission on ACS) group to verify the number of users authenticated via VPN. The problem is that this user generate a bunch of logs according to authentication authorization and accounting on ACS. Is there a solution, disable Ganymede + newspapers on ACS for this particular user? Maybe it is possible to modify the AAA on ASA to not connect this particular user?

    Thanks in advance.

    Hi Pawel,

    You can create filters collection for that specific user. When you configure monitoring filters & Report Viewer does not record these events in the database.

    Navigate to: Configuration of the analysis > System Configuration > filters Collection > add a filter

    What follows is the attributes that can be used. You must use the user.

    -Access service

    -User

    -Mac-add

    -Nas - IP

    Example: We get several hits of ASA by 'user' and we want ACS to ignore it. Create a filter by using the user. ACS must now ignore any attempt from the IP Address of the NAS.

    Jatin kone
    -Does the rate of useful messages-

  • I installed DirectX Runtime for the end user, but I have DirectX 11, there will be a problem?

    I have Windows 7 and so I always got DirectX 11, but someone on this forum recommended update DirectX and I didn't know how to so I just downloaded this thing official Web sites, called for the final user DirectX Runtime Web install which is apparently for version 9.29.1974. I want to know if this will become a problem for my computer.

    Hi WiccanxHulkling,

    No it will not become a problem you already have Direct X 11 on the computer.
     
    Some games or software may require an earlier version of DirectX so you can install the earlier version and it wouldn't effect the version of DirectX that is installed on the computer.
     
    However, in accordance with the following article x 11 Direct include Direct X 10 and 10.1
    How to download and install DirectX
    Note this includes all components of the DirectX 10.0 and 10.1 runtimes
     
    I hope this helps.
  • is it possible to restrict access to a particular application for the particular user?

    is it possible to restrict access to a particular application for the particular user

    for example, if an application will not be editable for user mode

    or it will be only editable for a user

    We gave access as a developer of a workspace to a single user

    but we don't want him to change a single application.

    Oracle Application Express 5.0

    Your terminology is mixed - looks like you're talking about limiting applications, a developer can edit in the application builder in a workspace.

    No, you can't.

  • What is the name of file Loader (FBL) for the loading of languages to the employee?

    What is the name of file Loader (FBL) for the loading of languages to employees?

    Hi, the best place to search for questions like these is OTN, Oracle Technology Network. If you have any questions about the CLOUDS and in partnership with Oracle, we will be more than happy to help! Thank you!

  • Mismatch in number of index n/b dba_segments and dba_indexes for the same user in the database.

    Hi all

    I had incompatibility number n/b dba_indexes and dba_segments index. Please find the details below.

    SQL > select SEGMENT_TYPE, count (*) from dba_segments where owner = group 'VIM_SCH01' of SEGMENT_TYPE.

    LOBINDEX 11

    LOBSEGMENT 11

    TABLE 68

    INDEX 52-> I see 52 index are here

    SQL > select count (*) from dba_indexes where owner = 'VIM_SCH01 ';  --> See 63 index here for the same user in dba_indexes

    63

    SQL > select count (*) from dba_tables where owner = "VIM_SCH01"; -> showing the same number of tables from dba_segments

    68

    Why it's showing the different number for the index.

    Thank you

    Bhavani.

    No doubt, because your LOBINDEX 11 segments are has index in DBA_INDEXES.  You have 52 index and 11 LOB for a total of 63.  Corresponds to DBA_INDEXES entries.

    You can validate the fact that.  Run something like

    SELECT index_name FROM dba_indexes WHERE owner = 'VIM_SCH01'
    MINUS
    SELECT segment_name FROM dba_segments WHERE  owner = 'VIM_SCH01' and segment_type = 'INDEX'
    

    Which will return 11 index names in DBA_INDEXES but not in DBA_SEGMENTS with a segment_type of the INDEX.  If you compare these indices against the 11 sectors LOBINDEX, I expect you to see them at the height.

    Justin

Maybe you are looking for