Dbx cannot locate the (DLM) source codes correctly for 64bit app

It's hard for me to prepare a test case. Because it seems for a simple "hello world" it works.
The reason I raise this issue here is because my project was recently upgraded to compile with 64bit. And since then dbx cannot locate the source codes correctly, especially for some DLM codes. (sometimes it shows to "/usr/include/iso/..." which it should never be!). While it works fine on a 32bit compiled mode.
Did anyone experience the similar situation and can share your idea?
Thanks in advance.

Can't think of any good reason why going to 64 bit would confuse dbx (except for unknown bug in dbx, which is not impossible).
I'd first look for changes in your build - for example, 32-bit code used to go to bin/ directory, but 64-bit goes to bin/sparcv9, which happens to be a symlink somewhere else or something like that. Symlinks might sometimes confuse dbx, please read
(dbx) help finding-filestopic (in dbx console, type "help finding-files").
Since you are using CC 5.9 that generates DWARF info by default, location and even presence of .o files is not important. All debug info should be in the shared library itself.
Here's another idea: inspect DWARF info by hand and see if it looks correct to you.
$ dwarfdump a.out | lessLook for
                DW_AT_name                  a.ccand
                DW_AT_comp_dir              /home/maxim/tempThose two should give location of source file (/home/maxim/temp/a.cc in my case). Maybe this will give you some clue.

Similar Messages

  • Cannot write the suitable source codes for running program

    I want to write a program that help student to compile program and run program by using some test cases. For the compiled part, i have been wrote it successfully, but for the run part, i cannot pass the test cases to the program for running. Could any ppl help me to find the problem on the followng codes, why the error will on there? how do i change it? Thanks!
    //<!--start get Program Test Case File-->
    java.io.BufferedReader TestCaseBuf = null;
    Connection con = null;
    Statement stmt = null;
    ResultSet rs = null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:compas", "sa", "password");
    stmt = con.createStatement();
    String strSQL = "SELECT testValue FROM TEST_CASE WHERE progID='"+progID+"'";
    stmt = con.createStatement();
    rs = stmt.executeQuery(strSQL);
    try
    while (rs.next())
    TestCaseBuf = new java.io.BufferedReader(new java.io.InputStreamReader(rs.getBinaryStream("testValue")));                         
    finally
    if (rs != null)
         rs.close();
    if (stmt != null)
         stmt.close();
    //<!--end get Program Test Case File-->
    //<!--start run program -->
    String[ ] args2 = new String[ ]
         "java", "-cp", System.getProperty("user.dir"), FileName
    try
         Runtime rt = Runtime.getRuntime();
         Process proc = rt.exec(args2);
         java.io.BufferedReader ireader = new java.io.BufferedReader(new java.io.InputStreamReader(proc.getInputStream()));
         java.io.PrintWriter pwriter = new java.io.PrintWriter(proc.getOutputStream());
    String atestcase = null;
         String line= null;
         try
    while ((atestcase = TestCaseBuf.readLine()) != null) <------------I found that error seems on here!!!!
         pwriter.write(atestcase+"\r");
    pwriter.flush();     
    if (atestcase != null)
              if ((line = ireader.readLine()) != null)
              FileOutput = FileOutput + line +"\r\n";
    else {break; }
         } //while
         catch (java.io.IOException e)
         out.println("[IOException]. Printing Stack Trace");
         e.printStackTrace();
         pwriter.close();
         ireader.close();
    catch (java.io.IOException e)
    out.println("[IOException]. Printing Stack Trace");
    e.printStackTrace();
    //<!--end run program -->

    Whats the error message??
    Just a guess, but could be (without seeing the error) that you've already closed the TestCaseBuf reader by closing the result set, hence when you go to read it, you're reading on closed reader.
    Give this a go...Put the //<!--run program --> code into the result set while loop
    while (rs.next())
    TestCaseBuf = new java.io.BufferedReader(new java.io.InputStreamReader(rs.getBinaryStream("testValue")));
    //<!--start run program -->
    ...some code
    //<!--end run program -->
    } Hard to tell without the error message

  • JAVA Class error .. cannot locate the issue (my code included)

    I am diving into JAVA, and I am experiencing a little bit of difficulty. The code below is not working ::
    package therectangeclass;
    public class Rectangle {
    private double length;
    private double width;
    public Rectangle(double l, double w) {
    length = l;
    width = w;
    public double calculateArea() {
    return length * width;
    public class RectangleUser
    public static void main(String argv[]) {
    Rectangle rectangle1 = new Rectangle(30,10);
    Rectangle rectangle2 = new Rectangle(25,20);
    System.out.println("rectangle1 area" +
    rectangle1.calculateArea());
    System.out.println("rectangle2 area" +
    rectangle2.calculateArea());
    This is the error I am getting::
    public static void main(String argv[]) {
    1 error
    BUILD FAILED (total time: 0 seconds)
    Im in the wrong category

    Hi everybody... Im studing too.. I think thats error is because you cannot declare static into inner classes. I re-write your code and work... I just declare the inner class inside the static main.
    What you think about...
    /***************** CODE ************************************************/
    public class Retangulo
         private double largura ;
         private double altura ;
         Retangulo( double lar, double alt)
              System.out.println("Altura: " + alt);
              System.out.println("Largura: " + lar);
         public static void main(String[] args)
              Retangulo myRetan = new Retangulo(5.55,5.55) ;
              class AreaRetangulo
                   AreaRetangulo(double douLar , double douAlt)
                        System.out.println("Area: " + douLar*douAlt);     
              new AreaRetangulo(5.55,5.55) ;
    /****************************** END CODE *********************************************************************/
    PS:. Sorry about my english im studing too.

  • Failed to open package file due to error 0x800C0006 "The system cannot locate the file in C# code.

    Hi, Am facing issue when I try to run SSIS package via C# code, I have given full access to all the folder in which the package is available.
    In the below line am getting error,
    using Microsoft.SqlServer.DTS.Runtime;
    Application app=new Application();
    Package package=null;
    package=app.LoadPackage("PackageFullPath",null) --error line
    Failed to open package file "C:\SSIS\Package.dtsx" due to error 0x800C0006 "The system
    cannot locate the object specified.".  This occurs when loading a
    package and the file cannot be opened or loaded correctly into the XML document

    Are you trying to run this code from job or something? Check if account executing the package has access to the path. Also check if path value passed is correct. If its a remote system path pass it in UNC format (ie //machine/...)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • ITunes cannot locate the source

    I moved my iTunes sources (the original MP3s) from disk C to disk E; then iTunes told me it cannot locate the source. I can either move the source back or locate them myself. However, I just don't want to move the source back but I got like hundreds of songs... Is there a better way than locating them 300 times? It's like one thousand clicks if I do that...

    I recommend you put them back and then let iTunes move the files across drives. Follow the instructions in this article: http://support.apple.com/kb/HT1364 .

  • I purchased Adobe sc6 master collection from software city and i cannot locate the redemption code, but I do have the serial number for mac, do i still need the redemption code and where would i find it?

    I purchased Adobe sc6 master collection from software city and i cannot locate the redemption code, but I do have the serial number for mac, do i still need the redemption code and where would i find it?

    Hello,
    please have a look there: https://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    >>> Redeem your redemption code in three easy steps.
    Hans-Günter

  • SNOTE (Note Assistant) list expected "source code corrections" of a note?

    Is it possible, in current versions of SNOTE, to print the "source code corrections" that the note is supposed to contain?
    This was possible in "good old OSS" and also, I think, in early versions of SNOTE.
    Why do I ask?
    Sometimes you have a note that SNOTE cannot handle by itself. You must then open the "splitscreen editor" and guide SNOTE through the process.
    In such cases I like to have a listing, on paper, of the expected changes, so that I keep some overview and that I can check the corrections as I go through them.

    I have found a second possibility - the following little program based on some code found in the 4.6C implementation of SNOTE.
    report  zztmp_snote_displ line-size 080.
    type-pools bcwbn.
    parameter p_note like cwbnthead-numm.
    data gs_note type bcwbn_note.
    start-of-selection.
      clear gs_note.
      select numm versno
        from  cwbnthead
        into (gs_note-key-numm,gs_note-key-versno)
             where  numm        = p_note
             and    incomplete  = space
             order by primary key.
      endselect.
      if not ( gs_note-key is initial ) .
        call function 'SCWB_NOTE_READ'
          exporting
            iv_read_attributes                = 'X'
            iv_read_short_text                = 'X'
            iv_read_all_texts                 = 'X'
            iv_read_validity                  = 'X'
            iv_read_corr_instructions         = 'X'
            iv_read_customer_logfile          = 'X'
            iv_use_fallback_languages         = 'X'
            iv_read_loghndl                   = 'X'
            iv_read_fixes                     = 'X'
            iv_read_customer_attributes       = 'X'
    *   IV_READ_READ_BY_USER              = ' '
    *   IV_READ_SOL_MGR_REFERENCE         = ' '
    *   IV_READ_SAP_STATUS                = ' '
          changing
            cs_note                           = gs_note
          exceptions
            note_not_found                    = 1
            language_not_found                = 2
            unreadable_text_format            = 3
            corr_instruction_not_found        = 4
            others                            = 5
        if sy-subrc eq 0.
          call function 'SCWB_NOTE_DISPLAY'
            changing
              cs_note = gs_note.
        endif.
      endif.

  • My iTunes account says that it cannot locate the original file for all of my songs.  My iPhone still has all the music and is able to play the songs, if I sync and backup my iphone will the songs be replaced with the empty copies from my itunes library?

    So basically I tried to back up my itunes library to my external hard drive and when I followed the instructions and then went to play a song it said Orginal file cannot be found. It said that for all of the songs. I'm not sure how to fix what I did, I already tried consolidating and all of that stuff and it didn't locate the files.  I'm guessing that I somehow deleted the original songs along the way.  I synced my iPhone without knowing what I did and surprisingly all of the music is still on my phone.  So now that I've completely screwed up my iTunes account, I need to know how to get all my music back onto my iTunes account and have that library only on my external hard drive, not my computer. Everything looks fine on my iTunes besides the fact that it cannot locate the files but what I'm afraid of is me syncing and backing up my iPhone and then being left with no music because it syncs to the empty songs.  How can I fix this? and if I can't fix my iTunes library is there anyway for me to still be able to backup my iphone and all the music on it, without erasing my music?

    Well I'm not sure if I correctly backed up my itunes library because when trying to open itunes from that back up it keeps saying original file not found. Okay this is going to sound confusing but bear with me.  I "backed up" my itunes, meaning I just dragged and dropped the iTunes folder into my external hardrive, and then I changed the destination on iTunes to open from my external hardrive.  It was working fine when I did that, however I did that just on my own, I didn't know about consolidating the files or any of that so I hadn't done that before copying the folder to my external hard drive. I can't remember but I'm pretty sure I deleted the iTunes folder after I had copied it to my external hardrive. So I did that and it was working fine, I was able to open my itunes with my external hardrive.  BUT yesterday I thought that I hadn't done it correctly because I didn't consolidate the files and all that, so I wanted to be more thorough and do that, I followed the steps to do that but when I did that I think it got all the files from my computer and not from my external hard drive so it basically didn't find anything on my computer because I had deleted them. And like an idiot, I replaced the iTunes folder on my external hard drive (the one I did correctly the first time), with the one I did wrong. So I believe I pretty much deleted all the music files from both my external hard drive and my computer. Please correct me if I'm wrong?
    I believe getting all my music back on my itunes is a lost cause. BUT I still have all my songs and stuff on my iPhone. My question is, if I plug my phone into my computer and sync it, will it erase all my songs from my phone? A little more info, my iTunes still has the names and stuff of all my songs, they just can't be played because the files are missing, my iPhone doesn't need to erase and sync when I plug in my phone because it's already synced to my computer. What I'm afraid of is when I plug in my phone to backup and sync, will it erase my music because it can't find the files on my computer or external hard drive anymore? Or will it just leave the songs because they're already there (on my phone) and only sync the new songs that I've downloaded? I just need to know is my iTunes still going to be functional as far as me being able to backup my phone?
    I have a lot of songs purchased from iTunes but a lot (like 60%) are from CDs that I no longer have. So re-downloading my music would only account for 40% of my library.

  • Cannot Locate the Original File ? ?- Help Please

    Hi ,
    I have Consolidated my Library to New folder on my External Hard-Drive. so i Know that all my music is in One palce..
    I have a Problem, If i try and play a Track, It Now get a message saying Cannot Locate the Original File..& has this ! against the track..???
    What has gone wrong ?
    Many thanks

    Unfortunately I'm in the same boat. Somehow I cannot locate over 30 GB of music that just disappeared?!
    Moved the iTunes folder from my Music folder from the HD to my 250 GB external drive. I did not rename it. Kept it the same name. Went into the Advanced folder in iTunes Preferences and chose to use the external drive as my source for music. However, I noted that an iTunes folder always reappeared in my Music folder on the HD. Didn't realize that I had to Consolidate libraries until later on, but did so the next day as I attempted to figured out why it wasn't working ("cannot locate original file"). When I open iTunes, all of my songs and playlists are listed (I assume this is cache), but none will play except for a few random artists (most have "!"). When I go back and look at the actual iTunes Music folder, it has only these random artists listed (I assume these are the (only?) original files?).
    Not sure where everything else went when I haven't deleted any iTunes files? I've read quite a few threads with this same problem without any real answers. When I use Spotlight to locate the original songs, I get zero found.
    Is there any easy answer as to where my songs went or am I looking at taking this Mac in for some file retrieval.
    Many thanks to anyone that can help.

  • FB 4.7 cannot locate the required version of Adobe Flash Player

    The problem arises when I use the HTML wrapper to launch the app. By default in the Project Properties (Project / Properties / ActionScript Compiler / HTML wrapper), “Generate HTML wrapper file” is checked. I try to run FB 4.7 projects:
    /Library/Internet Plug-Ins/Flash Player.plugin
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    I've installed the debugger version of the Flash Player. Didn't work. I've reinstalled Flash Builder. Didn't work. I tried using Safari instead of Firefox. Didn't work. When I go to Macintosh HD/Library/Internet Plug-Ins/ in the finder, I can see Flash Player.plugin right there. But when I go to Username/Library/Internet Plug-Ins the entire folder is blank. So I tried copying Flash Player.plugin to the latter folder. Didn't work.
    System requirements:
    OS X 10.8.2
    Flash Builder 4.7 Premium
    Flash Player Debugger 11.5.502.110
    Anyone know how to fix this?

    Not certain about this, but it sounds a lot like the issues that occur with IE on 64 bit (until you've messed around) or on Chrome generally, or on MaxThon (until you've deleted a file from the core installation).
    Simply; there is a conflict with the Flash Plugins that you have installed.
    You may have installed the debugger plugin, but there is another, non-debugger, plugin that is being chosen by preference. This may be an automatically installed one (as per Chrome), a more appropriate one (64-bit debugger didn't exist at the time I encountered the issue and probably still doesn't, so IE used the 64-bit non-debugger until I uninstalled it), just silly (as per the MaxThon default package that forces their fast mode to use an older plugin due to a frankly quite strange development decision) or just an install conflict (installing a newer plugin that overwrites or blocks the debugger from being used, which is I think what is happening to you).
    When you have Flash launched in your browser, right-click and check it is the correct debugger version.
    - If it is, then check that your launch path matches the output directory. (I have encountered an issue where a developer was outputting to bin-debug, but testing against bin-release before... Debugger couldn't connect because there was nothing to connect to.)
    - If it isn't, which I suspect is more likely, then try uninstalling Flash plugin generally until you get a clean setup and then reinstall the debugger.
    G

  • MAC OS:Word cannot locate the server application for AcroExch.Document.7.objects

    In MAC OS,installed Adobe reader ,When I double click a pdf file in Word2011,it shows"Word cannot locate the server application for AcroExch.Document.7.objects".what can i do to fix it?

    I found out through someone else. The "how to" find the place to add it was more challenging.
    Instructions:
    1. Take the Webarchive file and save it on your computer (anywhere is fine).
    2. Open MacMail and go to preferences>signatures and create a signature with any name and filler text. Close Macmail.
    3. Open your finder, go to the "Library" folder. If you cannot view your Library folder, open up "terminal" and simply paste in: chflags nohidden ~/Library/
    (this will allow you to view your Library folder from now on)
    4. In your library folder, go to Mail>Mail Data>signatures
    5.Copy the name of the signature file that is already in the signatures folder. It should look something like "079ADD83-A19F-4597-BBFC-4F35858894DE" After copying that name, delete the file.
    6. Go to the webarchive file you saved and rename it the name of the file you just deleted. Then paste that into the library>Mail>Mail Data>signatures folder.
    7. Open your macmail and see if it worked!
    If my directions are not clear, you may find the following article helpful from step 5:  http://code.coneybeare.net/how-to-make-an-html-signature-in-apple-mail-f
    Now here's how I managed to find my Library/Mail in OSX 10.7.3:
    Menu: Go
    Choose: Home
    Library
    Mail
    Vs
    Mail Data
    Signatures
    Hope this helps!

  • How to read the html source code of a webpage.

    How can I read the html source code of a webpage with a java application?
    Is there a good idea?

    >
    How can I read the html source code of a webpage
    with a java application?
    Is there a good idea?
    I don't know if this is a good idea, but it works.
    1) Use a URL to obtain the document's location
    2) Use a URLConnection to open a connection between your computer and the
    document server
    3) Connect to the server
    4) Get the InputStream of said connection
    5) Associate the Input Stream with a Buffered Input Stream
    At this point you can use a loop to read lines from the BufferedInput Stream and append them to a TextArea or other suitable text component.

  • When downloading latest adobe flash player a message pops up "cannot locate a reliable source"

    When downloading the latest version of adobe flash player (11.4) a message pops up "cannot locate a reliable source" what does this mean and can it be fixed?

    What is your operating system & version?
    What is your web browser?
    [topic moved to Flash Player forum]

  • I started downloading my Upgrade to Photoshop Elements Version 13 and received my upgrade confirmation and cannot locate the download on my PC running Windows 7,what is the exact name of the download and where should I find it?

    I cannot locate the upgrade to Photoshop Elements 11 to Version 13, which I purchased today and started the download as per the Order Confirmation. My order No. is AD014117711. I am running Windows 7 on my PC and cannot locate the Download. How do I find it? What is the exact name of the Download?

    EdWeidman by default the download will be saved to your Download folder.  I do not know the exact name of the file which was provided to you.

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

Maybe you are looking for

  • Open as Smart Object is Grayed Out

    The open as smart object, Merge to HDR, Merge to panorama are all grayed out in Lightroom 3.2. I reinstalled CS5 and Lightroom but that did not help. There must be a registry hack for this. Windows 7 64 bit

  • Time and Date not correct

    Hi to all. Does anybody know how to save your cmos settings to a floppy or CD? Is there a program that can assist with saving the cmos settings to floppy or CD? Is there anyway to perform saving the cmos settings within the BIOS to floppy or CD? I re

  • Satellite P305-s8842: How do the 2 HDDs work together?

    I have the Satellite P305-s8842, it comes with dual 200 gig HDD's. I was wondering how they work together. The main one is almost full; when it fills all the way up will it automatically start filling the second HDD? Right now there are only two file

  • I can't open the iTunes apps I've downloaded onto my Macbook

    Hi. I've downloaded a half dozen apps from iTunes onto my MacBook Air and I see them in my iTunes library under "Apps." But when I click on them nothing happens except that they get highlighted. That's it. I can't open them and use them. How do I ope

  • Inconsistent currency information

    Hi Expert, When i will post MB1B, system occur a error message F5800 of Inconsistent currency information as below: Inconsistent currency information     Message no. F5800 Diagnosis     The currency information for the financial accounting component