All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pereira, D LailaX E" <d.lailax.e.pereira@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] pthread lib setting for ia64?
Date: Fri, 30 Nov 2001 18:59:33 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805566@msgid-missing> (raw)

Hi 
While running my program on a Linux machine (turbo linux) Itanium processor,
the program does a segmentation fault on a pthread_create(..) command. I
checked the arguments of the pthread_create(...) and there is no problem
with them. So I ran the program thru gdb , and got the following on seg
fault:

Starting
program:
/fxsvrux001/home1/depereir/Tmk_SMP-26/apps/test_C/bin.ia64_linux2/stress.udp
-- -n2 -N1 -hcopilot{,} -p5001 -i1
Tmk_startup: SWAPDIR=(null), putting swap file in "/tmp".

Program received signal SIG32, Real-time event 32.
0x2000000000217ba2 in rt_sigsuspend () from /lib/libc.so.6.1
(gdb) where 
#0  0x2000000000217ba2 in rt_sigsuspend () from /lib/libc.so.6.1
#1  0x20000000000dc8c0 in sigsuspend () from /lib/libc.so.6.1
#2  0x2000000000052f70 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#3  0x2000000000052280 in pthread_create@@GLIBC_2.2 ()
   from /lib/libpthread.so.0
#4  0x4000000000017b50 in Tmk_sigio_create_thread (
    start_routine=0x4000000000022e50 <_fini+17456>,
args=0x60000000016cdec8, 
    callerName=0x4000000000020990 "Tmk_sigio_initialize") at
../src/sigio.c:364
#5  0x4000000000017dc0 in Tmk_sigio_initialize () at ../src/sigio.c:396
#6  0x400000000001b8f0 in Tmk_startup (argc=8, argv=0x80000ffffffff838)
    at ../src/startup.c:932
#7  0x4000000000003bc0 in main (argc=8, argv=0x80000ffffffff838)
    at ../src/stress.c:163
(gdb) 


the program receives a SIG32 signal from rt_sigsuspend(..) .I am unable to
figure this out. 
Is there some setting for pthread library that has to be done before running
on itanium? some patch or something that I am missing?? is there some stack
size to be set??
Please let me know.

thanks
D'laila 



             reply	other threads:[~2001-11-30 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30 18:59 Pereira, D LailaX E [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-01 18:36 [Linux-ia64] pthread lib setting for ia64? Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590698805566@msgid-missing \
    --to=d.lailax.e.pereira@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.