Dbx - core file without symbolic info - from C++ app

I have multiple core files, written by a C++ application (with C++ shared libs also) which has been 'strip'ed of all symbolic info. I have been able to determine that all cores happen in the same method, with the same stack trace showing for each. Using the mdb $m cmd I can track the location down to a particular shared library.
Is there some way to now track it down further regarding where in the shared lib the event occured? Something like getting an offset map of the items in the shared lib, and using their offset into the library listing, match that against the offset of the address of the method which trapped as an offset from the process base address?
I am at a loss as to how to proceed any further here. Can someone enlighten me as to the next steps I can take?
Thx...

compiler: Sun Workshop 6 - update 2
OS: Solaris 5.8
When I do pstack or dbx-->where cmd, I get:
----------------- lwp# 15315 / thread# 1 --------------------
ffffffff7ec5653c ???????? (101d80ed0, 1, 6872b020c49ba5e3, 3fff9e353f7ced91, ffffffff7eca7db8, 0)
ffffffff7ec55374 ???????? (10125fac0, 101d86d30, 101c8be60, 101da03f0, 101da03f0, ffffffff7edab9e0)
ffffffff7ec47920 ???????? (101d86d30, ffffffff7fffe0e8, 101055900, 0, 1005cdca0, 1001dfd88)
ffffffff7ec5ed94 ???????? (101b6f620, ffffffff7fffe0e8, ffffffff7fffe530, 1003cab90, 101052040, 0)
ffffffff7e15a7c8 ???????? (1005cb2b0, 466, 1001e2710, ffffffff7fffe530, 1003cab90, 0)
ffffffff7ec5d49c ???????? (ffffffff7fffe530, 1005cb308, 1001dfd88, 1003cab90, 1003cab90, 1005cb2b0)
ffffffff7ec65ee4 ???????? (466, 1001e2710, ffffffff7fffe530, 1003cab90, 466, 1001e2740)
0000000100029dd0 ???????? (1001e2745, 466, ffffffff7fffee20, 0, 0, 0)
000000010002989c ???????? (0, 0, 0, 0, 0, 0)
No symbolic information. But trap happened at 7ec5653c .
Now if I do a dump -t on the process binary to dump the symbol table, I get a listing like:
ffffffff7c200000 ffffffff7c2a8000 a8000 /usr/lib/sparcv9/libnsl.so.1
ffffffff7c3a8000 ffffffff7c3b8000 10000 /usr/lib/sparcv9/libnsl.so.1
ffffffff7c3b8000 ffffffff7c3c0000 8000 /usr/lib/sparcv9/libnsl.so.1
ffffffff7c400000 ffffffff7cf1e000 b1e000 /ap/p/cc/oracle/product/9.2.0/lib/libclntsh.so.9.0
ffffffff7d01c000 ffffffff7d0d0000 b4000
ffffffff7d0d0000 ffffffff7d0e2000 12000
ffffffff7d100000 ffffffff7d102000 2000
ffffffff7d200000 ffffffff7d296000 96000 /ap/p/cc/tss/curr/lib/libwhatever1.so
ffffffff7d394000 ffffffff7d39c000 8000
ffffffff7d400000 ffffffff7d56c000 16c000 /ap/p/cc/tss/curr/lib/libwhatever2.so
ffffffff7d66a000 ffffffff7da72000 408000
ffffffff7db00000 ffffffff7db02000 2000 /usr/lib/sparcv9/libdl.so.1
ffffffff7dc00000 ffffffff7dc02000 2000
ffffffff7dd00000 ffffffff7dd02000 2000
ffffffff7de00000 ffffffff7de8c000 8c000 /ap/p/cc/tss/applib/libapputility64.so
ffffffff7df8a000 ffffffff7df92000 8000
ffffffff7e000000 ffffffff7e18a000 18a000 /ap/p/cc/tss/applib/libwhatever364.so
ffffffff7e288000 ffffffff7e296000 e000
ffffffff7e296000 ffffffff7e47e000 1e8000
ffffffff7e500000 ffffffff7e538000 38000 /ap/p/cc/tss/applib/libwhatever4.so
ffffffff7e636000 ffffffff7e63a000 4000
ffffffff7e700000 ffffffff7e71e000 1e000 /ap/p/cc/tss/applib/libdatabase64.so
ffffffff7e81c000 ffffffff7e820000 4000
ffffffff7e900000 ffffffff7e904000 4000 /ap/p/cc/tss/pcontrol/../bin/libtscalltcp014.so
ffffffff7ea02000 ffffffff7ea04000 2000
ffffffff7ea04000 ffffffff7ebec000 1e8000
ffffffff7ec00000 ffffffff7ecac000 ac000 /ap/p/cc/tss/curr/lib/libthis_is_it.so
--> note: happened in libthis_is_it.so at 7ec5653c
ffffffff7edaa000 ffffffff7f028000 27e000
ffffffff7f100000 ffffffff7f144000 44000 /ap/p/cc/tss/pcontrol/../bin/libwhatever5.so
ffffffff7f242000 ffffffff7f24e000 c000
ffffffff7f24e000 ffffffff7f258000 a000
ffffffff7f300000 ffffffff7f302000 2000
f
I see a shared lib occupying from 7ec00000 to 7ecac000, and my trap address falls within that range. So I believe I can narrow the event to that particular shared lib based on that. Correct?
Now I do a dump -t on that particular shared lib, and I wind up with another listing. Grep that listing for string values between 0x55 and 0x56, I find the unit within which the trap address falls, and I have my source location. Like so:
grep -i 0x55 dump_new_symtbl.txt
================================
[1621] 0x55020 24 1 0 0 0x9 ___const_seg_900000504
[1632] 0x55ac0 24 1 0 0 0x9 ___const_seg_900000904
[1634] 0x55f00 24 1 0 0 0x9 ___const_seg_900001102
[2807] 0x55050 2668 2 1 0 0x9 __1cMangledName_1_here
[2877] 0x55af0 1036 2 1 0 0x9 __1cMangledName_2_here
[3017] 0x55f18 3060 2 1 0 0x9 __1cMangledName_3_here
grep -i 0x56 dump_new_symtbl.txt
================================
[1643] 0x56b10 24 1 0 0 0x9 ___const_seg_900001901
[2584] 0x56b40 3656 2 1 0 0x9 __1cMangledName_4_here
I don't really need C++filt in this case, I can discern what the mangled name refers to in the source code.
So I think I have my problem area pin-pointed, I just want to make sure, and have someone knowledgable in this type of analysis to tell me that I an correct.
Thanks for the response.
-mc

Similar Messages

  • HT1918 Please help!!! I cannot update all my free installed programs on my iPhone 4S. I want to remove my credit card info from my Appe ID but there is no none !!!

    Please help!!! I cannot update all my free installed programs on my iPhone 4S. I want to remove my credit card info from my Appe ID but there is no none !!!

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

  • SWF-file not getting info from UI

    Hi All,
    I have a dialog that loads a flash-file. This swf-file gets info from my dialog and puts it in a datagrid.
    It works well, untill i try it the script on an other computer. The swf-file loads but is not receiving any information given through the UI.
    Is it a matter of installing extra options/software on the other pc?
    My computer (the script works) is a Windows XP with Adobe Design Premium.
    The other computer is also a Windows XP with indesign and flash player installed.
    Is there anyone who has an idea?
    THANKS
    Greetz,
    Glen

    Ok, i have the answer to my own question.
    I forgot that i had to change the settings in the settings manager of the flash player.

  • File drag and drop from java app to file system - Linux problem

    Hi all,
    I am developing an application for files archiving, with a graphical user interface. The files are showed in a JList, and I implemented drag and drop feature for it. It works well for Windows platform, but not at all for Linux (Ubuntu).
    Under Linux, file export with DND from the archive to file system does not work.
    To extract a file with DND, we can't know the target destination folder, so I create a temp file (file extracted from the archive is wrote to OS tmp dir), and the system is expected to handle the DND action.
    The temp file is correctly created (original data is well retrieved), but Ubuntu does not want to copy or move it via DND.
    I get a system dialog window (while extracting file "test1") :
    Error while moving
    There was an error getting information about "[tmp/60lp1t7egl/test1]".
    Show more details > Operation not supported
    (Cancel, Skip all, Skip, Retry)
    Can it be a rights problem ?
    Any idea ?
    Regards,
    Biibox

    Until the 3rd party image editor developers provide us with the Photos extensions for using their app from within Photo we'll have to export to the Desktop, edit there in the apps and either import the new file into Photos or use it elsewhere.

  • Copy file name and info from finder window

    I need to get the file name and file size for lots of files in lots of folders into a text file or excel file. I have found the way to copy the file path into text edit, but can't figure out how to copy all the info in a file window. Is there a way to do this?

    It's easily done with Terminal.
    cd (drag folder into Terminal window, press return). Then:
    ls -l > ~/Desktop/list.txt
    A file called "list.txt" will appear on your Desktop, containing a list of files from the folder, along with their modification dates, file sizes, and ownership/permission info.

  • How to print *.PRN file without print Dialog from Java

    hi friends
    I need to print *.PRN file from java code.*
    I need to print directely without open printer dialog box when i select .PRN file then it should able to direct print to default printer.
    Here is the Dos command to directely print the PRN file
    COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ
    (source: http://filext.com/faq/print_from_prn_file.php)
    i try to run that dos command through Process p = Runtime.getRuntime().exec("COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
    But is show that
    Here is the LOG of ERROR
    \\java103\HP LaserJet M1120 MFP
    java.io.IOException: Cannot run program "COPY": CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at Print2Printer.GetDefaultPrinter.main(GetDefaultPrinter.java:17)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         ... 5 more
    Here is the Source
    import java.io.IOException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    public class GetDefaultPrinter {
         public static void main(String args[]){
              PrintService printer = PrintServiceLookup.lookupDefaultPrintService();
              System.out.println(printer.getName());
              try {
                   Process p = Runtime.getRuntime().exec("COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
                   System.out.println(p);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();

    you need to specify which program you want to execute in Runtime.getRuntime().exec(). So try this one
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
    System.out.println(p);
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }

  • Applescript to open various files and add info from filename to the file

    Hi guys,
    first time using this forum...
    and first time trying to do a script for apple...
    I figured out how to do simple things... like open files and stuff to text files...  but don't know where to begin:
    I have a directory datalogs...
    within the directory i have multiple text files that have the following format:
    dataXXYYY_Waf2_7_19_11.csv
    dataXXYYY_Waf3_7_19_13.csv
    dataXXYYY_Waf25_7_19_16.csv
    typically 25 files, but sometimes less
    I would like to be able to take each file within the datalogs folder ...
    Scan the file name and look for the number afer Waf
    The number can be anywhere from (single digit) 1 to 25
    I would like to take that value after Waf  and then append a line in the txt file
    the line I would have to add will be 5 rows down and it shoulld say:
    wafer,1 
    the 1 above is the value that was in the file name....
    i.e.
    for the file
    dataXXYYY_Waf25_7_19_16.csv
    before append the file contains random data ... i.e.
    dummyline1
    dummyline2
    dummyline3
    dummyline4
    dummyline5
    dummyline6
    Then after the script...
    the file will be saved with same name:
    dataXXYYY_Waf25_7_19_16.csv
    and the data should look like:
    dummyline1
    dummyline2
    dummyline3
    dummyline4
    wafer,25
    dummyline5
    dummyline6
    any help will be appreciated
    -thanks

    Copy your source folder - named 'datalogs' to your home directory and run this script by copying into a new AppleScript Editor document and pressing Run. 
    I think I've followed your specification, and there will be other ways to do this, but ask if you have questions.  (I have put comments in the code which should explain some of it!)
    There is no error checking, but I have made copies of the original files in the source directory.  (You can comment out the line "duplicate theFile" by prefixing with "--" when you are sure it's working.
    As always, ensure your data is backed-up before proceeding.
    --starts here
    --sets path to datalogs folder
    set theDirectory to (path to home folder as text) & "datalogs"
    set fileNames to {}
    tell application "Finder"
      --gets all the files in the source directory
              set fileList to files of folder theDirectory
      --iterates through the files
              repeat with theFile in fileList
      --makes a duplicate
      duplicate theFile
      --puts the fileName and fileLocation into records in a list of lists
                        set end of fileNames to {fileName:name of theFile, fileLoc:theFile as alias}
              end repeat
      --iterates thru the files
              repeat with theFile in fileNames
      --gets offset of the string "Waf"
                        set WafOffset to offset of "Waf" in (fileName of theFile)
      --trims the name so that it now starts with the character after "Waf"
                        set fileName to text (WafOffset + 3) thru end of fileName of theFile
      --gets offset of the next underscore
                        set UScoreOffset to offset of "_" in fileName
      --stores the desired number by trimming off the end of the file name
                        set fileNumber to text 1 thru (UScoreOffset - 1) of fileName
      --sets up the text to insert by prefixing with "Wafer," and suffixing with return
                        set insertText to "Wafer," & fileNumber & character id 10
      --opens the file with write permission
                        set FileRef to open for access (fileLoc of theFile) with write permission
      --initialise container
                        set fileContents to ""
      --puts first five lines into container
                        repeat 5 times
                                  set fileContents to fileContents & (read FileRef until character id 10)
                        end repeat
      --adds the new text to the container
                        set fileContents to fileContents & insertText
      --adds the rest of the file to the container
                        set fileContents to fileContents & (read FileRef)
      --effectively empties the file
      set eof FileRef to 0
      --writes contents of the container to the file
      write fileContents to FileRef
      --closes the file
      close access FileRef
              end repeat
    end tell
    --ends here

  • Accessing Instance info from external app

    We would like to provide a view of the instance information in BPEL within another web app. Specifically, a list of Instances, with the ability to click and get the Audit info.
    This would allow us some production visibility of our processes, without giving access to BPEL console directly.
    Anyway recommended "easiest" route to this?
    - Direct calls to BPEL DB?
    - Are there existing .jsps/components within BPEL that we can simply invoke?
    _mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Excellent, anyone have a link to the 10.1.2 JAVA BPEL API docs??
    _mike                                                                                                                                                                                       

  • How can I delete my credit card info from the apps store?

    Ever since I put my credit card info into the system it won't let me download anything even if it's free. It keeps saying to verify card info and when I do it ask for the card security number but when I put it in then it says it's not right. I don't know what else to do besides delete the card info but I'm not sure how to do that. I have been downloading free stuff with no problem until last Sunday I put my card info in to buy something and it let me make my purchase with no problem and now I'm trying to download free stuff and it keeps wanting me to verify my credit card info and telling me it's wrong info. Please can someone help me out?

    I don't mind having my card info on there but now I can't download anything and it's frustrating. All it ask for is the card security number and when I put it in it says it's invalid. So now while I'm trying to delete it, it just won't let me. The visa part stays checked all the time and I can't unmarked it. I tried to just erase the card number and security code and stuff but it says I have to have it filled in. Do you know how I can check to see if it says I owe money?

  • Does anyone know how to open file '.balance' which made from 'Balance' app that I downloaded from App Store and now it's discontinue?

    I have my expense file which made by 'Balance' app. Now I cannot find the app in App Store and cannot open the file.
    If anyone has a way to open the file, please share.

    watanasak wrote:
    I cannot find any way to contact the developer.
    I thought only IOS app is back up to iTunes. Mac apps are not, am I right?
    I can't find the app anywhere in my system and all the Mac app download websites.
    I really need the data in the file.
    I'm not sure if any other apps can open '.balance' file extension.
    I'm confused. I thought you were talking about this Balance - it is an iOS-only app. If you are talking about some other app, then you will have to look on your Time Machine backup.
    I am quite certain that only that app will be able to open the data.

  • HT3775 My iMovie isnt working cause i deleted a file that was transferring from another app, into iMovie and now its frozen, what do i do?

    .

    When i open it back up, its still there. Is there any way i can reboot the whole thing?

  • Reload web-inf/web.xml file without restarting tomcat

    Please help me if any one have a solution .
    I am doing development in jsp, servlet. I am using tomcat5 as a webserver.
    i want to reload web-inf/web.xml file without restarting tomcat.

    From the tomcat admin page you can stop/start and refresh individual applications. See the tomcat documentation. Which, when you have a question about tomcat, you should always do first.

  • Problem Attaching CORE files in to SunStudio12

    I am working in Redhat Linux x86-64 bit machine and using Sunstudio12. When I am running my C++ application , CORE DUMP occures . But when I tried to attach the core file through Sun Studio the following error occurs :
    dbx: core file read error: address 0x1895 not in data space
    dbx: attempt to read frame failed -- cannot get return address
    dbx: core file read error: address 0x1895 not in data space
    dbx: attempt to read frame failed -- cannot get return address
    Too many errors ...Please can anyone help me in this regard ? I am urgently required to solve this issue

    Please find my comments in this thread:
    http://forum.java.sun.com/thread.jspa?threadID=5262865

  • Core file

    Hi Guys...
    I am running Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production on Solaris.
    Today this morning my O/S creates a core file and when I check the information about that file.
    The details of the file using "file core" commands are like this:
    core: ELF 64-bit MSB core file SPARCV9 Version 1, from 'oracle'
    This clearly show me that the file comes from oracle.
    Now I want obtain more information about that file.
    Please help!!!!!!!!!!!!!!!!!!!!!!

    Dear user11979518,
    If you do have a core file or similiarly an ORA-600 error that needs to be analyzed from a technical support guy. We, at least i am not the Oracle support so that is why you need to check metalink or even raise an SR call.
    By the way, i will be glad if you can post the solution (not the metalink article) here.
    Regards.
    Ogan

  • How to send info from Win32 Application to C# application

    I develop two separate application Win32 and C# (WPF). I would like to send some info (such as a list of words) from Win32 application to a window in C# application. How to do this?
    We have SendMessage and PostMessage Win API but not sure how to catch these messages from C# application's window. Or do we have other methods to send info to C#?
    Actually I would like to send a list of words from Text Service (Win32) to a keyboard (C#-WPF).
    Thanks,
    ntquy99

    Hi,
    This may be funny but may work and meet your requirement.
    http://www.c-sharpcorner.com/UploadFile/6f0898/simple-way-to-establish-interaction-between-two-visual-studi/
    Here I used To communicate Two Different Window Forms application using a text file as communication mode to as a connection database
    Regards,
    Selva Ganapathy K
    Thank you Selva. Your solution is to polling the update from another application.
    My situation is a little different. I just simply want to send message/info from Win32 app to C# app and wonder how to do this?

Maybe you are looking for

  • Interactive report based on complex view

    firefox 24 , apex 4.0 , db11gxe , hi all, i created an interactive report with this code :   select c.client_id , c.client_name , c.age , c.email , c.phone , p.payment_date , sum(p.amount) "summary" from clients c , payments p where c.client_id = p.c

  • ICal wont stay on the second monitor

    Hi all, right now I´m working with a two monitor setup - my MBP and a display. I would like to have iCal on the display - but everytime I start iCal it starts up on the MBP display and I have to drag in manually to the display, so it can´t remember i

  • Discoverer 11g EUL command line error granting privileges

    I'm testing Discoverer 11g (Desktop and Administrator 11.1.3) in order to upgrade from 10g. On 10g we have some scripts that automate many things using EUL command line. The first difference I've found is than in 10g we used directly eulbuilder.jar,

  • Some visitors unable to access my iWeb site

    Need some help please! I have an iWeb site with a blog that some of my friends are having trouble accessing. I know that the Safari and Firefox users are not having any issues, but the strange part is that SOME of the IE users have trouble, but not a

  • Distorted sound after power is suspended on IBM Thinkpad with XP

    I am experiencing a problem with itunes on my IBM thinkpad with windows XP. After power is suspended, songs are distorted, the sound seems to be warbling. After I restart XP things are fine again until I suspend power, the problem returns. Any sugges