<?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: Segmentation fault while executing an executable file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281933#M641152</link>
    <description>What about -mt option on compilation line?</description>
    <pubDate>Thu, 12 May 2011 04:59:57 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2011-05-12T04:59:57Z</dc:date>
    <item>
      <title>Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281932#M641151</link>
      <description>I am working on HP_UX Itanium 11.31&lt;BR /&gt;There, I have created an executable file by compiling it with gcc 4.4.3.&lt;BR /&gt;When I am running that binary file error is coming :Segmentation fault (core dumped)&lt;BR /&gt;&lt;BR /&gt;# file core&lt;BR /&gt;core:ELF-64 core file - IA64 from 'hp' - received SIGSEGV&lt;BR /&gt;&lt;BR /&gt;I have tried the sample program but it is also not working at my end&lt;BR /&gt;I am working on HP_UX Itanium processor&lt;BR /&gt;&lt;BR /&gt;Sample Code is&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;JNI.H&gt;&lt;BR /&gt;&lt;BR /&gt;/* This is the program's "main" routine. */&lt;BR /&gt;int main (int argc, char *argv[]) {&lt;BR /&gt;&lt;BR /&gt; JavaVM *jvm; /* denotes a Java VM */&lt;BR /&gt; JNIEnv *env; /* pointer to native method interface */&lt;BR /&gt; JavaVMInitArgs vm_args;&lt;BR /&gt; JavaVMOption options[1];&lt;BR /&gt;&lt;BR /&gt; jint res;&lt;BR /&gt; jclass cls;&lt;BR /&gt; jmethodID mid;&lt;BR /&gt;&lt;BR /&gt; /* IMPORTANT: need to specify vm_args version especially if you are not using JDK1.1.&lt;BR /&gt; * Otherwise, will the compiler will revert to using the 'JDK1_1InitArgs' struct.&lt;BR /&gt; */&lt;BR /&gt; vm_args.version = JNI_VERSION_1_4;&lt;BR /&gt;&lt;BR /&gt; /* This option doesn't do anything, just to illustrate how to pass args to JVM. */&lt;BR /&gt; options[0].optionString = "-verbose:none";&lt;BR /&gt; vm_args.nOptions = 1;&lt;BR /&gt; vm_args.options = options;&lt;BR /&gt; vm_args.ignoreUnrecognized = JNI_FALSE;&lt;BR /&gt;&lt;BR /&gt; /* load and initialize a Java VM, return a JNI interface pointer in env */&lt;BR /&gt; res = JNI_CreateJavaVM(&amp;amp;jvm,(void**)&amp;amp;env,&amp;amp;vm_args);&lt;BR /&gt; if (res &amp;lt; 0) {&lt;BR /&gt; fprintf(stderr, "Can't create Java VM\n");&lt;BR /&gt; exit(1);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; jclass ver;&lt;BR /&gt; jmethodID print;&lt;BR /&gt;&lt;BR /&gt; ver = (*env)-&amp;gt;FindClass(env, "sun/misc/Version");&lt;BR /&gt; if (ver == 0) {&lt;BR /&gt; fprintf(stderr, "Can't find Version");&lt;BR /&gt; }&lt;BR /&gt; print = (*env)-&amp;gt;GetStaticMethodID(env, ver, "print", "()V");&lt;BR /&gt; (*env)-&amp;gt;CallStaticVoidMethod(env, ver, print);&lt;BR /&gt;&lt;BR /&gt; /* invoke the Main.test method using the JNI */&lt;BR /&gt; cls = (*env)-&amp;gt;FindClass(env, "Main");&lt;BR /&gt; if (cls == 0) {&lt;BR /&gt; fprintf(stderr, "Can't find Main.class\n");&lt;BR /&gt; exit(1);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; mid = (*env)-&amp;gt;GetStaticMethodID(env, cls, "test", "(I)V");&lt;BR /&gt; if (mid==0) {&lt;BR /&gt; fprintf(stderr, "No such method!\n");&lt;BR /&gt; exit(1);&lt;BR /&gt; }&lt;BR /&gt; // otherwise execute this method&lt;BR /&gt; (*env)-&amp;gt;CallStaticVoidMethod(env, cls, mid,100);&lt;BR /&gt;&lt;BR /&gt; /* We are done. */&lt;BR /&gt; (*jvm)-&amp;gt;DestroyJavaVM(jvm);&lt;BR /&gt;&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;It is successfully compiling &amp;amp; generating an exe&lt;BR /&gt;To generate exe following script is used&lt;BR /&gt;&lt;BR /&gt;JAVA_HOME=/opt/java6&lt;BR /&gt;LIB_PATH=$JAVA_HOME/jre/lib/IA64W&lt;BR /&gt;INCLUDE_PATH=$JAVA_HOME/include&lt;BR /&gt;&lt;BR /&gt;$JAVA_HOME/bin/javac Main.java&lt;BR /&gt;&lt;BR /&gt;#Compile the invoker .c file&lt;BR /&gt;~/gcc -g -mlp64 -I$INCLUDE_PATH -I$INCLUDE_PATH/hp-ux -L$LIB_PATH -L$LIB_PATH/server -ljava -ljvm -lverify testJNI.c -o testJNI&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;public class Main&lt;BR /&gt;{&lt;BR /&gt; public static void main(String[] args)&lt;BR /&gt; {&lt;BR /&gt; System.out.println("Argument: " + args[0]);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; public static void test(int arg)&lt;BR /&gt; {&lt;BR /&gt; System.out.println("Test Argument: " + arg);&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;export JAVA_HOME=/opt/java6&lt;BR /&gt;export LIB_PATH=$JAVA_HOME/jre/lib/IA64W&lt;BR /&gt;export LD_LIBRARY_PATH=$LIB_PATH:$LIB_PATH/server&lt;BR /&gt;./testJNI&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;following is the debugger output&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault&lt;BR /&gt;si_code: 2 - SEGV_ACCERR - Invalid Permissions for object.&lt;BR /&gt;0x9fffffffed949cd0:0 in ENTER_PTHREAD_LIBRARY_FUNC+0x50 ()&lt;BR /&gt;from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0 0x9fffffffed949cd0:0 in ENTER_PTHREAD_LIBRARY_FUNC+0x50 ()&lt;BR /&gt;from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;#1 0x9fffffffed98e920:0 in pthread_num_processors_np+0xa0 ()&lt;BR /&gt;from /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;#2 0x9fffffffee9367e0:0 in os::active_processor_count ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/os/hp-ux/vm/os_hp-ux.cpp:842&lt;BR /&gt;#3 0x9fffffffeec1b3f0:0 in os::is_server_class_machine ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/os.cpp:845&lt;BR /&gt;#4 0x9fffffffeec1ad60:0 in Arguments::set_ergonomics_flags ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:1239&lt;BR /&gt;#5 0x9fffffffeec0db60:0 in Arguments::parse ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:2673&lt;BR /&gt;#6 0x9fffffffeec06cc0:0 in Threads::create_vm ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/thread.cpp:3451&lt;BR /&gt;#7 0x9fffffffeec048b0:0 in JNI_CreateJavaVM ()&lt;BR /&gt;at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/prims/jni.cpp:2674&lt;BR /&gt;#8 0x4000000000000f90:0 in main (argc=1, argv=0x9ffffffffffff660)&lt;BR /&gt;at testJNI.c:29&lt;BR /&gt;(gdb) list&lt;BR /&gt;11 JavaVMOption options[1];&lt;BR /&gt;12&lt;BR /&gt;13 jint res;&lt;BR /&gt;14 jclass cls;&lt;BR /&gt;15 jmethodID mid;&lt;BR /&gt;16&lt;BR /&gt;17 /* IMPORTANT: need to specify vm_args version especially if you are not using JDK1.1.&lt;BR /&gt;18 * Otherwise, will the compiler will revert to using the 'JDK1_1InitArgs' struct.&lt;BR /&gt;19 */&lt;BR /&gt;20 vm_args.version = JNI_VERSION_1_4;&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;ldd testJNI&lt;BR /&gt;&lt;BR /&gt;libjava.so =&amp;gt; /opt/java1.5/jre/lib/IA64W/libjava.so&lt;BR /&gt;libjvm.so =&amp;gt; /opt/java1.5/jre/lib/IA64W/hotspot/libjvm.so&lt;BR /&gt;libverify.so =&amp;gt; /opt/java1.5/jre/lib/IA64W/libverify.so&lt;BR /&gt;libunwind.so.1 =&amp;gt; /lib/hpux64/libunwind.so.1&lt;BR /&gt;libc.so.1 =&amp;gt; /lib/hpux64/libc.so.1&lt;BR /&gt;libverify.so =&amp;gt; /opt/java1.5/jre/lib/IA64W/./libverify.so&lt;BR /&gt;libdl.so.1 =&amp;gt; /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;libc.so.1 =&amp;gt; /usr/lib/hpux64/libc.so.1&lt;BR /&gt;libpthread.so.1 =&amp;gt; /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;libdl.so.1 =&amp;gt; /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;libm.so.1 =&amp;gt; /usr/lib/hpux64/libm.so.1&lt;BR /&gt;librt.so.1 =&amp;gt; /usr/lib/hpux64/librt.so.1&lt;BR /&gt;libuca.so.1 =&amp;gt; /usr/lib/hpux64/libuca.so.1&lt;BR /&gt;libunwind.so.1 =&amp;gt; /usr/lib/hpux64/libunwind.so.1&lt;BR /&gt;libstd_v2.so.1 =&amp;gt; /usr/lib/hpux64/libstd_v2.so.1&lt;BR /&gt;libcl.so.1 =&amp;gt; /usr/lib/hpux64/libcl.so.1&lt;BR /&gt;libCsup.so.1 =&amp;gt; /usr/lib/hpux64/libCsup.so.1&lt;BR /&gt;libuca.so.1 =&amp;gt; /usr/lib/hpux64/libuca.so.1&lt;BR /&gt;libdl.so.1 =&amp;gt; /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;libIO77.so.1 =&amp;gt; /usr/lib/hpux64/libIO77.so.1&lt;BR /&gt;libunwind.so.1 =&amp;gt; /usr/lib/hpux64/libunwind.so.1&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;Can u pleas help me out in finding the solution&lt;/JNI.H&gt;&lt;/STDIO.H&gt;&lt;/STDLIB.H&gt;</description>
      <pubDate>Thu, 12 May 2011 04:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281932#M641151</guid>
      <dc:creator>Vishal2k5</dc:creator>
      <dc:date>2011-05-12T04:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281933#M641152</link>
      <description>What about -mt option on compilation line?</description>
      <pubDate>Thu, 12 May 2011 04:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281933#M641152</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2011-05-12T04:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281934#M641153</link>
      <description>forget it, since we see libpthread.so in the ldd output</description>
      <pubDate>Thu, 12 May 2011 05:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281934#M641153</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2011-05-12T05:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281935#M641154</link>
      <description>Hi Laurent,&lt;BR /&gt;Can you please help me out in finding the solution</description>
      <pubDate>Thu, 12 May 2011 05:04:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281935#M641154</guid>
      <dc:creator>Vishal2k5</dc:creator>
      <dc:date>2011-05-12T05:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281936#M641155</link>
      <description>#0 0x9fffffffed949cd0:0 in ENTER_PTHREAD_LIBRARY_FUNC+0x50 &lt;BR /&gt;libpthread.so.1&lt;BR /&gt;#1 0x9fffffffed98e920:0 in pthread_num_processors_np+0xa0 &lt;BR /&gt;#2 0x9fffffffee9367e0:0 in os::active_processor_count&lt;BR /&gt;&lt;BR /&gt;This indicates the stack is so corrupted that libpthread aborts.&lt;BR /&gt;&lt;BR /&gt;You probably need to contact the Response Center for help with your java JNI.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Laurent: What about -mt option on compilation line?&lt;BR /&gt;&lt;BR /&gt;Yes, that or the gcc equivalent may help.</description>
      <pubDate>Thu, 12 May 2011 06:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281936#M641155</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-05-12T06:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281937#M641156</link>
      <description>Do you read Japanese ?&lt;BR /&gt;I found a similar quuestion :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=45298&amp;amp;forum=12" target="_blank"&gt;http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=45298&amp;amp;forum=12&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;looks like it was solved by adding -lpthread&lt;BR /&gt;&lt;BR /&gt;so add -mt ot -lpthread, it may help</description>
      <pubDate>Thu, 12 May 2011 06:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281937#M641156</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2011-05-12T06:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281938#M641157</link>
      <description>Denis,&lt;BR /&gt;Can u please tell me what does it mean "stack is so corrupted"&lt;BR /&gt;I am not from assembly background. I am new on HP-UX as well. This code is working on all other OS (32 as well as 64bit) including HP_UX PA_RISC2.0,AIX Solaris, Windows, linux&lt;BR /&gt;&lt;BR /&gt;(gdb) info registers&lt;BR /&gt;  pr0:                0x1&lt;BR /&gt;  pr1:                0x1&lt;BR /&gt;  pr2:                  0&lt;BR /&gt;  pr3:                0x1&lt;BR /&gt;  pr4:                  0&lt;BR /&gt;  pr5:                  0&lt;BR /&gt;  pr6:                  0&lt;BR /&gt;  pr7:                  0&lt;BR /&gt;  pr8:                0x1&lt;BR /&gt;  pr9:                  0&lt;BR /&gt; pr10:                  0&lt;BR /&gt; pr11:                  0&lt;BR /&gt; pr12:                0x1&lt;BR /&gt; pr13:                  0&lt;BR /&gt; pr14:                  0&lt;BR /&gt; pr15:                0x1&lt;BR /&gt; pr16:                  0&lt;BR /&gt; pr17:                  0&lt;BR /&gt; pr18:                  0&lt;BR /&gt; pr19:                  0&lt;BR /&gt; pr20:                  0&lt;BR /&gt; pr21:                  0&lt;BR /&gt; pr22:                  0&lt;BR /&gt;---Type &lt;RETURN&gt; to continue, or q &lt;RETURN&gt; to quit---&lt;BR /&gt; pr23:                  0&lt;BR /&gt; pr24:                  0&lt;BR /&gt; pr25:                  0&lt;BR /&gt; pr26:                  0&lt;BR /&gt; pr27:                  0&lt;BR /&gt; pr28:                  0&lt;BR /&gt; pr29:                  0&lt;BR /&gt; pr30:                  0&lt;BR /&gt; pr31:                  0&lt;BR /&gt; pr32:                  0&lt;BR /&gt; pr33:                  0&lt;BR /&gt; pr34:                  0&lt;BR /&gt; pr35:                  0&lt;BR /&gt; pr36:                  0&lt;BR /&gt; pr37:                  0&lt;BR /&gt; pr38:                  0&lt;BR /&gt; pr39:                  0&lt;BR /&gt; pr40:                  0&lt;BR /&gt; pr41:                  0&lt;BR /&gt; pr42:                  0&lt;BR /&gt; pr43:                  0&lt;BR /&gt; pr44:                  0&lt;BR /&gt; pr45:                  0&lt;BR /&gt;---Type &lt;RETURN&gt; to continue, or q &lt;RETURN&gt; to quit---&lt;BR /&gt; pr46:                  0&lt;BR /&gt; pr47:                  0&lt;BR /&gt; pr48:                  0&lt;BR /&gt; pr49:                  0&lt;BR /&gt; pr50:                  0&lt;BR /&gt; pr51:                  0&lt;BR /&gt; pr52:                  0&lt;BR /&gt; pr53:                  0&lt;BR /&gt; pr54:                  0&lt;BR /&gt; pr55:                  0&lt;BR /&gt; pr56:                  0&lt;BR /&gt; pr57:                  0&lt;BR /&gt; pr58:                  0&lt;BR /&gt; pr59:                  0&lt;BR /&gt; pr60:                  0&lt;BR /&gt; pr61:                  0&lt;BR /&gt; pr62:                  0&lt;BR /&gt; pr63:                  0&lt;BR /&gt;  gr0:                  0&lt;BR /&gt;  gr1: 0x9ffffffffeda2ef0&lt;BR /&gt;  gr2: 0x9fffffff7f7e7c00&lt;BR /&gt;  gr3: 0x9fffffff7f7e7c00&lt;BR /&gt;  gr4:                  0&lt;BR /&gt;---Type &lt;RETURN&gt; to continue, or q &lt;RETURN&gt; to quit---&lt;BR /&gt;  gr5: 0xc000000000000408&lt;BR /&gt;  gr6: 0x9ffffffffeedea20&lt;BR /&gt;  gr7: 0x9ffffffffee9ae48&lt;BR /&gt;  gr8: 0x9ffffffffeda29c0&lt;BR /&gt;  gr9: 0x9ffffffffcb4ed48&lt;BR /&gt; gr10:                  0&lt;BR /&gt; gr11: 0xc000000000000207&lt;BR /&gt; gr12: 0x9fffffffffffebe0&lt;BR /&gt; gr13: 0x9ffffffffcb4e080&lt;BR /&gt; gr14: 0x9ffffffffeda2ef0&lt;BR /&gt; gr15:               0x1a&lt;BR /&gt; gr16: 0xc000000000000008&lt;BR /&gt; gr17:               0x1f&lt;BR /&gt; gr18:                  0&lt;BR /&gt; gr19: 0x9ffffffffef354c8&lt;BR /&gt; gr20: 0x9fffffffffffebe0&lt;BR /&gt; gr21:                  0&lt;BR /&gt; gr22: 0x9fffffff7f7e8000&lt;BR /&gt; gr23:               0x60&lt;BR /&gt; gr24:                  0&lt;BR /&gt; gr25: 0x9ffffffffed318d0&lt;BR /&gt; gr26:                  0&lt;BR /&gt; gr27:                  0&lt;BR /&gt;---Type &lt;RETURN&gt; to continue, or q &lt;RETURN&gt; to quit---&lt;BR /&gt; gr28:                  0&lt;BR /&gt; gr29:                  0&lt;BR /&gt; gr30: 0x9ffffffffebb3de0&lt;BR /&gt; gr31:              0x710&lt;BR /&gt; gr32: 0x9ffffffffeda2ef0&lt;BR /&gt; gr33: 0xc000000000000207&lt;BR /&gt; gr34: 0x9ffffffffd186920&lt;BR /&gt; gr35:               0x5a&lt;BR /&gt; gr36:               0x2c&lt;BR /&gt; gr37: 0x9ffffffffeda2c50&lt;BR /&gt; gr38:               0x58&lt;BR /&gt; gr39:                  0&lt;BR /&gt; gr40:                  0&lt;BR /&gt; gr41:                  0&lt;BR /&gt; gr42:                  0&lt;BR /&gt; gr43:                  0&lt;BR /&gt;  br0: 0x9ffffffffd186920&lt;BR /&gt;  br1: 0x9ffffffffebb3de0&lt;BR /&gt;  br2:                  0&lt;BR /&gt;  br3:                  0&lt;BR /&gt;  br4:                  0&lt;BR /&gt;  br5:                  0&lt;BR /&gt;  br6: 0x9ffffffffed318d0&lt;BR /&gt;---Type &lt;RETURN&gt; to continue, or q &lt;RETURN&gt; to quit---&lt;BR /&gt;  br7: 0xe0000001084fc720&lt;BR /&gt;  rsc:               0x1f&lt;BR /&gt;  bsp: 0x9ffffffffef354c8&lt;BR /&gt;bspst: 0x9ffffffffef35528&lt;BR /&gt; rnat:                  0&lt;BR /&gt;  ccv:                  0&lt;BR /&gt; unat:                  0&lt;BR /&gt; fpsr:    0x9804c8274433f&lt;BR /&gt;  pfs: 0xc000000000000207&lt;BR /&gt;       (sor:0, sol:4, sof:7)&lt;BR /&gt;   lc:                  0&lt;BR /&gt;   ec:                  0&lt;BR /&gt;   ip: 0x9ffffffffd141cd0:0&lt;BR /&gt;  cfm:              0x48c&lt;BR /&gt;       (sor:0, sol:9, sof:12)&lt;BR /&gt;  psr:     0x10130862e01a&lt;BR /&gt;(gdb)&lt;BR /&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;</description>
      <pubDate>Thu, 12 May 2011 06:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281938#M641157</guid>
      <dc:creator>Vishal2k5</dc:creator>
      <dc:date>2011-05-12T06:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281939#M641158</link>
      <description>Hi Laurent Menase,&lt;BR /&gt;&lt;BR /&gt;Thanks a ton. It worked.&lt;BR /&gt;&lt;BR /&gt;While compiling with gcc, setting -lpthread parameter solved the problem&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Thu, 12 May 2011 07:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281939#M641158</guid>
      <dc:creator>Vishal2k5</dc:creator>
      <dc:date>2011-05-12T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault while executing an executable file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281940#M641159</link>
      <description>&amp;gt;(gdb) info registers&lt;BR /&gt;&lt;BR /&gt;This is not so helpful unless you have the instructions around PC to go with it:&lt;BR /&gt;disas $pc-16*8 $pc+16*8</description>
      <pubDate>Fri, 13 May 2011 02:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/segmentation-fault-while-executing-an-executable-file/m-p/5281940#M641159</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-05-13T02:36:52Z</dc:date>
    </item>
  </channel>
</rss>

