<?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 Threads in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413651#M706791</link>
    <description>Hi!&lt;BR /&gt;I have a problem with a HP-UX 11.11 on a 9000/800 processor.&lt;BR /&gt;I've simply tried to make a connection to an Oracle DB (9i), using OCI functions.&lt;BR /&gt;If I make the connection on a single thread application, it's all right. But&lt;BR /&gt;if I start a thread and I try to make a connection on that thread, I get an&lt;BR /&gt;error - Bus error (core dumped).&lt;BR /&gt;I think it's an OS problem, because on another 9000/800 HP, with the same&lt;BR /&gt;OS, the program is right. The two machines are different on their hardware,&lt;BR /&gt;so the patches are not the same. But there are a lot of patches, and I don't&lt;BR /&gt;know what I should put on my server.&lt;BR /&gt;Does anyone know something about this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;F.</description>
    <pubDate>Wed, 03 Nov 2004 02:50:35 GMT</pubDate>
    <dc:creator>Fausto_4</dc:creator>
    <dc:date>2004-11-03T02:50:35Z</dc:date>
    <item>
      <title>Threads</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413651#M706791</link>
      <description>Hi!&lt;BR /&gt;I have a problem with a HP-UX 11.11 on a 9000/800 processor.&lt;BR /&gt;I've simply tried to make a connection to an Oracle DB (9i), using OCI functions.&lt;BR /&gt;If I make the connection on a single thread application, it's all right. But&lt;BR /&gt;if I start a thread and I try to make a connection on that thread, I get an&lt;BR /&gt;error - Bus error (core dumped).&lt;BR /&gt;I think it's an OS problem, because on another 9000/800 HP, with the same&lt;BR /&gt;OS, the program is right. The two machines are different on their hardware,&lt;BR /&gt;so the patches are not the same. But there are a lot of patches, and I don't&lt;BR /&gt;know what I should put on my server.&lt;BR /&gt;Does anyone know something about this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;F.</description>
      <pubDate>Wed, 03 Nov 2004 02:50:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413651#M706791</guid>
      <dc:creator>Fausto_4</dc:creator>
      <dc:date>2004-11-03T02:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Threads</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413652#M706792</link>
      <description>what did you get for,&lt;BR /&gt;&lt;BR /&gt; what core&lt;BR /&gt; file core&lt;BR /&gt;&lt;BR /&gt;there.&lt;BR /&gt;&lt;BR /&gt;It may be compilation problem there. what flags you used to compile?&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Wed, 03 Nov 2004 03:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413652#M706792</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-11-03T03:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Threads</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413653#M706793</link>
      <description>I got a file core: I use gcc to compile, but unlikely I have not gdb installed (this is a customer server). The error message is simply: 'Bus error (core dumped)'.&lt;BR /&gt;I use a makefile to compile, however the final compile command is:&lt;BR /&gt;&lt;BR /&gt;g++ -DHAVE_CONFIG_H -I. -I. -I..    -DFMW_UNIX -DHPUX_PATCH -D_THREAD_SAFE -DRWSTD_MULTI_THREAD -DRW_MULTI_THREAD  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -I/usr/local/vam2_common/include -I/home/oracle/rdbms/demo -I/home/oracle/rdbms/public -fno-exceptions -fno-check-new -fexceptions -D_THREAD_SAFE -D_REENTRANT  -c -o main.o `test -f main.cpp || echo './'`main.cpp&lt;BR /&gt; /bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -I/usr/local/vam2_common/include -I/home/oracle/rdbms/demo -I/home/oracle/rdbms/public -fno-exceptions -fno-check-new -fexceptions -D_THREAD_SAFE -D_REENTRANT    -L. -L/usr/local/vam2_common/lib -L/home/oracle/lib32 -L/home/oracle/rdbms/lib32 -o provahp   main.o -lpthread -lcrypto -lrt -lclntsh -ldbinterface -lcommon &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-DFMW_UNIX and -DHPUX_PATCH are my directives. common and dbinterface are my libraries. This is a simple main that simply try to get a connection with the DB Oracle.&lt;BR /&gt;Any idea?&lt;BR /&gt;Thanks!&lt;BR /&gt;F.</description>
      <pubDate>Wed, 03 Nov 2004 03:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/threads/m-p/3413653#M706793</guid>
      <dc:creator>Fausto_4</dc:creator>
      <dc:date>2004-11-03T03:28:49Z</dc:date>
    </item>
  </channel>
</rss>

