<?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: SIGABRT error from my application in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946966#M97770</link>
    <description>&lt;P&gt;&amp;gt;I checked with the library file it is compiled with -g, -mt,+d&lt;BR /&gt;&lt;BR /&gt;Ok, you need to look at the string::replace call in frame 10, scriptEngine_variables.cpp:959 and check the parms.&lt;BR /&gt;What was the VariableString trying to do??&lt;BR /&gt;Then go to frame 9 and see why __pos, __n and __s seem to have bad values.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2011 10:14:47 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-10-16T10:14:47Z</dc:date>
    <item>
      <title>libc.2 error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946957#M97761</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I have used the below machine &amp;amp; compiler for Qt installation.&lt;BR /&gt;&lt;BR /&gt;Compiler aCC: HP ANSI C++ B3910B A.03.70&lt;BR /&gt;OS HP-UX B.11.11 U 9000/785 2015658734 unlimited-user license&lt;BR /&gt;Qt 3.3.7&lt;BR /&gt;&lt;BR /&gt;and Qt is installed successfully with these :&lt;BR /&gt;&lt;BR /&gt;./configure -platform hpux-acc-64 -thread  stl -qt-zlib&lt;BR /&gt;&lt;BR /&gt;Now my application is not running I edited it with the debug option and try to debug from wdb.&lt;BR /&gt;It tells&lt;BR /&gt;&lt;BR /&gt;main (argc=0, argv=0x800003ffff7f0b10) at /home/pushpa/BViewNG/Test/BViewNG_3.3.2/Viewer/main.cpp:125&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGABRT, Aborted&lt;BR /&gt;si_code: 0 - .&lt;BR /&gt;0x800003fffdae628c in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;&lt;BR /&gt;Could you please help me with this.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pushpa.</description>
      <pubDate>Mon, 19 Feb 2007 04:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946957#M97761</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-02-19T04:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: SIGABRT error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946958#M97762</link>
      <description>&lt;P&gt;This is the standard way a process that calls abort(3) terminates. You need a full stack trace.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946958#M97762</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: libc.2 error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946959#M97763</link>
      <description>Hi Dennis Handly,&lt;BR /&gt;&lt;BR /&gt;This is the full stack trace I found out :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Detected 64-bit executable.&lt;BR /&gt;Invoking /opt/langtools/bin/gdb64.&lt;BR /&gt;HP gdb 5.4.0 for PA-RISC 2.0 (wide), HP-UX 11.00&lt;BR /&gt;and target hppa2.0w-hp-hpux11.00.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..Reading symbols from bviewng...&lt;BR /&gt;Reading symbols from /home/pushpa/BViewNG/Test/BViewNG_3.3.2/bin/bviewng...done.&lt;BR /&gt;&lt;BR /&gt;Breakpoint 2 at 0x40000000001bd3e0: file /home/pushpa/BViewNG/Test/BViewNG_3.3.2/Viewer/main.cpp, line 109 from &lt;BR /&gt;&lt;BR /&gt;/home/pushpa/BViewNG/Test/BViewNG_3.3.2/bin/bviewng.&lt;BR /&gt;Starting program: /home/pushpa/BViewNG/Test/BViewNG_3.3.2/bin/bviewng &lt;BR /&gt;Reading symbols from /usr/lib/pa20_64/dld.sl...Reading symbols from /usr/lib/pa20_64/libm.2...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGBitmap.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGProductSpec.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGIbx.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGDatabase.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGSupport.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGGuiTools.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGScrambling.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGAnalysis.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGScriptEngine.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGConverterInput.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGConverterOutput.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGBMCompress.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/usr/local/qt/QT64/lib/libqt-mt.3...Reading symbols from /usr/lib/X11R6/pa20_64/libXext.3...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/usr/lib/X11R6/pa20_64/libX11.3...Reading symbols from /usr/lib/pa20_64/libstd_v2.2...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/usr/lib/pa20_64/libCsup_v2.2...Reading symbols from /usr/lib/pa20_64/libcl.2...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/usr/lib/pa20_64/libc.2...Reading symbols from /usr/lib/pa20_64/libdl.1...Reading symbols from /lib/pa20_64/libSM.2...Reading &lt;BR /&gt;&lt;BR /&gt;symbols from /lib/pa20_64/libICE.2...Reading symbols from /lib/pa20_64/libpthread.1...main (argc=0, argv=0x800003ffff7f0b10) &lt;BR /&gt;&lt;BR /&gt;at /home/pushpa/BViewNG/Test/BViewNG_3.3.2/Viewer/main.cpp:109&lt;BR /&gt;Reading symbols from /usr/local/qt/QT64/plugins/imageformats/libqjpeg.sl...Reading symbols from &lt;BR /&gt;&lt;BR /&gt;/usr/local/qt/QT64/plugins/imageformats/libqmng.sl...BMapApplication::showSplash (this=0x0) at &lt;BR /&gt;&lt;BR /&gt;/home/pushpa/BViewNG/Test/BViewNG_3.3.2/Viewer/bmapapp.cpp:202&lt;BR /&gt;main (argc=0, argv=0x800003ffff7f0b10) at /home/pushpa/BViewNG/Test/BViewNG_3.3.2/Viewer/main.cpp:125&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGABRT, Aborted&lt;BR /&gt;  si_code: 0 - .&lt;BR /&gt;0x800003fffdae628c in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;Reading symbols from /home/pushpa/BViewNG/Test/BViewNG_3.3.2/bin/bviewng...done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pushpa.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Feb 2007 02:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946959#M97763</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-02-20T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: SIGABRT error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946960#M97764</link>
      <description>&lt;P&gt;&amp;gt;This is the full stack trace I found out:&lt;BR /&gt;&lt;BR /&gt;Please try again. Use the "bt" command. I see something like a stacktrace but it should look like #0... #1... and back to main or the thread start.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946960#M97764</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: libc.2 error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946961#M97765</link>
      <description>Hi Dennis,&lt;BR /&gt;I did bt and this is the error stacktrace : &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x800003fffdae628c in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#1  0x800003fffda9576c in raise+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#2  0x800003fffdaca9e0 in abort_C+0x180 () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#3  0x800003fffdacaa44 in abort+0x1c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#4  0x800003fffdcb5ddc in std::terminate+0x3c ()&lt;BR /&gt;   from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#5  0x800003fffdcb6bd8 in ThrowException+0xd0 ()&lt;BR /&gt;   from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#6  0x800003fffdcb6420 in __throw__FPvT1+0x158 ()&lt;BR /&gt;   from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#7  0x40000000001c024c in std::basic_string&lt;CHAR&gt;,std::all&lt;BR /&gt;ocator&lt;CHAR&gt;&amp;gt;::replace (this=0x8000000100001a20, pos1=9223372041149749848, &lt;BR /&gt;    __n1=9223372041149749904, cs=0x8000000100001ac8 "", &lt;BR /&gt;    cslen=9223372041149750144, pos2=9223372041149750216, &lt;BR /&gt;    __n2=9223372041149752496) at /opt/aCC/include_std/string.cc:400&lt;BR /&gt;#8  0x800003ffff31d2b4 in ScriptEngine::VariableString::VariableString+0xdc ()&lt;BR /&gt;   from /home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGScriptEngine.sl&lt;BR /&gt;#9  0x800003ffff341918 in ScriptEngine::ScriptEngine+0x1600 ()&lt;BR /&gt;   from /home/vikram/TestBview/BViewNG_3.3.2/lib/libBViewNGScriptEngine.sl&lt;BR /&gt;#10 0x40000000001c1d40 in MainWindow::MainWindow (this=0x8000000100174f88)&lt;BR /&gt;    at mainwindow.cpp:289&lt;BR /&gt;#11 0x40000000001bd480 in main (argc=0, argv=0xc00000000000ae5b)&lt;BR /&gt;    at main.cpp:125&lt;BR /&gt;(gdb) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please help me further as I am new to this.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pushpa.&lt;/CHAR&gt;&lt;/CHAR&gt;</description>
      <pubDate>Tue, 20 Feb 2007 23:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946961#M97765</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-02-20T23:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: SIGABRT error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946962#M97766</link>
      <description>&lt;P&gt;&amp;gt;I did bt and this is the error stacktrace:&lt;BR /&gt;&lt;BR /&gt;Thanks, this is more helpful.&lt;BR /&gt;&lt;BR /&gt;#4 0x800003fffdcb5ddc in std::terminate+0x3c /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#6 0x800003fffdcb6420 in __throw__FPvT1+0x158 /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#7 0x40000000001c024c in std::basic_string,std::allocator&amp;gt;::replace&lt;BR /&gt;&lt;BR /&gt;1) You are using threads and you didn't compile EVERYTHING with -mt.&lt;BR /&gt;&lt;BR /&gt;2) Of course there are other things string::replace can throw, depending on the parms:&lt;BR /&gt;x.replace(large1, large2, "", large3, large4, large5)&lt;BR /&gt;&lt;BR /&gt;If you look at string.cc:400 it appears you don't have the -mt case but your parms are bad so it is throwing out_of_range. Either gdb is broken and printing addresses instead of values or you have bad parms. You could compile with +d to prevent inlining so you can see what you are calling.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946962#M97766</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: libc.2 error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946963#M97767</link>
      <description>Hi Thanks,&lt;BR /&gt;&lt;BR /&gt;I hv updated compilation with the options -mt and +d, even now i get the same error, this application in windows works , I am not getting anything about this in unix.&lt;BR /&gt;&lt;BR /&gt;In windows the statment&lt;BR /&gt;MainWindow *mw = new MainWindow;&lt;BR /&gt;&lt;BR /&gt;allocates memory and goes to the constructor, here i cannot makeout the allocation of memory or initialization.&lt;BR /&gt;&lt;BR /&gt;Could you please help me further in debugging this please.&lt;BR /&gt;&lt;BR /&gt;Pushpa</description>
      <pubDate>Thu, 22 Feb 2007 01:48:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946963#M97767</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-02-22T01:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: SIGABRT error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946964#M97768</link>
      <description>&lt;P&gt;&amp;gt;I hv updated compilation with the options -mt and +d, even now I get the same error,&lt;BR /&gt;&lt;BR /&gt;Are you sure you have the same number of frames and the same functions? Did you recompile libBViewNGScriptEngine.sl?&lt;BR /&gt;&lt;BR /&gt;Your MainWindow constructor was calling the ScriptEngine constructor, which is calling the&lt;BR /&gt;ScriptEngine::VariableString constructor which was calling string::replace.&lt;BR /&gt;&lt;BR /&gt;Do you have libBViewNGScriptEngine.sl compiled with -mt, -g and +d?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946964#M97768</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: libc.2 error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946965#M97769</link>
      <description>Hi,&lt;BR /&gt;I checked with the library file it is compiled with -g, -mt,+d and I get this stracktrace :&lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x800003fffd95c28c in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#1  0x800003fffd90b76c in raise+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#2  0x800003fffd9409e0 in abort_C+0x180 () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#3  0x800003fffd940a44 in abort+0x1c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#4  0x800003fffdb49ddc in std::terminate+0x3c () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#5  0x800003fffdb4abd8 in ThrowException+0xd0 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#6  0x800003fffdb4a420 in __throw__FPvT1+0x158 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#7  0x4000000000216a70 in std::basic_string&lt;CHAR&gt;,std::allocator&lt;CHAR&gt;&amp;gt;::replace (this=0x800003ffff16e8c8, pos1=9223372041150662016, __n1=9223372041151735776, cs=0x0, cslen=9223372041151735640, pos2=9223372041151735640, __n2=9223372041151735616) at /opt/aCC/include_std/string.cc:400&lt;BR /&gt;#8  0x4000000000216920 in std::basic_string&lt;CHAR&gt;,std::allocator&lt;CHAR&gt;&amp;gt;::replace (this=0x80000001000d9f98, __pos=9223376434892836880, __n1=9223376434892836872, __s=0x800003ffff7f0fa0 "", __n2=4597923019065655296) at /opt/aCC/include_std/string:685&lt;BR /&gt;#9  0x40000000002624a8 in std::basic_string&lt;CHAR&gt;,std::allocator&lt;CHAR&gt;&amp;gt;::replace (this=0x80000001000d9f98, __pos=9223376434892836880, __n=9223376434892836872, __s=0x800003ffff7f0fa0 "") at /opt/aCC/include_std/string:689&lt;BR /&gt;#10 0x800003ffff24d348 in ScriptEngine::VariableString::VariableString (this=0x80000001000d9f98, name=@0x800003ffff7f1010, val=@0x800003ffff7f1008) at /home/pushpa/BViewNG/TestBViewNG/BViewNG_3.3.2/ScriptEngine/scriptEngine_variables.cpp:959&lt;BR /&gt;#11 0x800003ffff27c01c in ScriptEngine::Function_getDBKey::Function_getDBKey (this=0x80000001000d9f88) at scriptEngine.h:666&lt;BR /&gt;#12 0x800003ffff2686a8 in ScriptEngine::ScriptEngine (this=0x800000010013dfe0, parent=0x0) at scriptEngine.y:482&lt;BR /&gt;#13 0x4000000000217ce4 in MainWindow::MainWindow (this=0x800000010013ddc8) at /home/pushpa/BViewNG/TestBViewNG/BViewNG_3.3.2/Viewer/mainwindow.cpp:289&lt;BR /&gt;#14 0x4000000000214520 in main (argc=0, argv=0x800003ffff7f0b60) at /home/pushpa/BViewNG/TestBViewNG/BViewNG_3.3.2/Viewer/main.cpp:125&lt;BR /&gt;Single stepping until exit from function kill, &lt;BR /&gt;which has no line number information.&lt;BR /&gt;&lt;BR /&gt;Program terminated with signal SIGABRT, Aborted.&lt;BR /&gt;The program no longer exists.&lt;BR /&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;</description>
      <pubDate>Thu, 22 Feb 2007 04:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946965#M97769</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-02-22T04:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: SIGABRT error from my application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946966#M97770</link>
      <description>&lt;P&gt;&amp;gt;I checked with the library file it is compiled with -g, -mt,+d&lt;BR /&gt;&lt;BR /&gt;Ok, you need to look at the string::replace call in frame 10, scriptEngine_variables.cpp:959 and check the parms.&lt;BR /&gt;What was the VariableString trying to do??&lt;BR /&gt;Then go to frame 9 and see why __pos, __n and __s seem to have bad values.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 10:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/libc-2-error-from-my-application/m-p/3946966#M97770</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T10:14:47Z</dc:date>
    </item>
  </channel>
</rss>

