<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to debug core file using wdb with my program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574934#M650451</link>
    <description>&amp;gt;I don't know the command name to do the same function ... or another command or API can do the same right thing to do the same function&lt;BR /&gt;&lt;BR /&gt;What function?&lt;BR /&gt;If you want to see local disks, you can use:&lt;BR /&gt;bdf -t vxfs&lt;BR /&gt;And "-t hfs" if you have any of those.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the network disk is not in the same domain network&lt;BR /&gt;&lt;BR /&gt;Does it ever get mounted?  If not, remove it from /etc/fstab.</description>
    <pubDate>Mon, 01 Feb 2010 07:17:56 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-02-01T07:17:56Z</dc:date>
    <item>
      <title>how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574930#M650447</link>
      <description>&lt;BR /&gt;my program was stop &lt;BR /&gt;this is my core dump file&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x60000000c03ff2f0:0 in _read_sys+0x30 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1  0x60000000c0414880:0 in read+0x80 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#2  0x60000000c03db5e0:0 in _filbuf+0x1a0 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#3  0x60000000c01fe800:0 in __fgets_unlocked+0x200 ()&lt;BR /&gt;   from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#4  0x60000000c01fe420:0 in fgets+0x140 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#5  0x4329ac0:0 in CHpuxPartition::Collect () at hpux/CHpuxPartition.cpp:107&lt;BR /&gt;#6  0x4328ad0:0 in CHpuxCmmPartitionUsage::Collect ()&lt;BR /&gt;    at hpux/CHpuxCmmPartitionUsage.cpp:25&lt;BR /&gt;#7  0x4263c70:0 in cmm::Collect () at cmm.cpp:26&lt;BR /&gt;#8  0x408bb20:0 in das::DoingCMM () at das.cpp:1161&lt;BR /&gt;#9  0x4088520:0 in das::Routine () at das.cpp:1077&lt;BR /&gt;#10 0x4084570:0 in main () at das_main.cpp:284&lt;BR /&gt;&lt;BR /&gt;in number 5 CHpuxPartition program call while&lt;BR /&gt; while (fgets(buf,sizeof(buf),fp)!=NULL)this line,&lt;BR /&gt;    FILE *fp=NULL;&lt;BR /&gt;    char buf[MAXLEN];&lt;BR /&gt;    const char *cmdline="bdf|grep vg";&lt;BR /&gt;&lt;BR /&gt;    fp=popen(cmdline,"r");&lt;BR /&gt;&lt;BR /&gt;    while (fgets(buf,sizeof(buf),fp)!=NULL)&lt;BR /&gt;    {  &lt;BR /&gt;      ..........&lt;BR /&gt;    }&lt;BR /&gt;How should i do to debug this or what wrong whith program&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574930#M650447</guid>
      <dc:creator>eric wang_2</dc:creator>
      <dc:date>2010-02-01T05:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574931#M650448</link>
      <description>Your program is waiting on the pipe for more data.  Perhaps the bdf is hanging?  That's the process that you need to debug.</description>
      <pubDate>Mon, 01 Feb 2010 06:29:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574931#M650448</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-01T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574932#M650449</link>
      <description>Maybe you do have some NFS mounted volumes that caused bdf to hang.&lt;BR /&gt;&lt;BR /&gt;After the NFS server would become on-line again, your program could go on as nothing happened.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Horia.</description>
      <pubDate>Mon, 01 Feb 2010 06:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574932#M650449</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-02-01T06:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574933#M650450</link>
      <description>&lt;BR /&gt;yes ,your are right ,bdf is hanged&lt;BR /&gt;I would like to know how to debug this,or solve the problem&lt;BR /&gt;change the bdf command ,replace another&lt;BR /&gt;but i don't know the command name&lt;BR /&gt;to do the same functin &lt;BR /&gt;#bdf|grep vg&lt;BR /&gt;or another command or api can do the same right thing to do the same function &lt;BR /&gt;&lt;BR /&gt;I found bdf is hanged because bdf is try to mount a network disk, but the network disk is not in the same domain network, so it 's hanged&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Feb 2010 06:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574933#M650450</guid>
      <dc:creator>eric wang_2</dc:creator>
      <dc:date>2010-02-01T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574934#M650451</link>
      <description>&amp;gt;I don't know the command name to do the same function ... or another command or API can do the same right thing to do the same function&lt;BR /&gt;&lt;BR /&gt;What function?&lt;BR /&gt;If you want to see local disks, you can use:&lt;BR /&gt;bdf -t vxfs&lt;BR /&gt;And "-t hfs" if you have any of those.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the network disk is not in the same domain network&lt;BR /&gt;&lt;BR /&gt;Does it ever get mounted?  If not, remove it from /etc/fstab.</description>
      <pubDate>Mon, 01 Feb 2010 07:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574934#M650451</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-01T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug core file using wdb with my program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574935#M650452</link>
      <description>&amp;gt;I found bdf is hanged because bdf is try to mount a network disk&lt;BR /&gt;&lt;BR /&gt;bdf never try to mount anything! &lt;BR /&gt;&lt;BR /&gt;From man page:&lt;BR /&gt;&lt;BR /&gt; "If no file system is specified, the free space on all of the normally mounted file systems is printed"&lt;BR /&gt;&lt;BR /&gt;bdf hangs becouse the remote filesystem is not accesible.&lt;BR /&gt;&lt;BR /&gt;Horia</description>
      <pubDate>Mon, 01 Feb 2010 09:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-core-file-using-wdb-with-my-program/m-p/4574935#M650452</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-02-01T09:02:45Z</dc:date>
    </item>
  </channel>
</rss>

