ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] gcc3.2 и pthreads
@ 2002-11-15  7:58 Michael Ivanov
  0 siblings, 0 replies; only message in thread
From: Michael Ivanov @ 2002-11-15  7:58 UTC (permalink / raw)
  To: sisyphus

ку,

Интересно, это у меня в программе какой-то bug завёлся или что-то подобное
уже встречалось? Есть программа с небольшим количеством threads, строится
gcc3.2-3.2.1-alt0.4 и с glibc-2.2.6-alt0.5. Программа в общем-то ничего
особенного не делает, висит на вводе из нескольких источников и обрабатывает
ввод по мере поступления. На SIGINT подключен простой handler. Так вот,
время от времени при прерывании по ctrl/C программа зависает намертво,
одна из threads болтается как zomby а другие висят приблизительно в
следующем состоянии:

#0  0x4013c819 in ?? ()
#1  0x40029d28 in ?? ()
#2  0x40026a42 in ?? ()
#3  0x0805eeb3 in ?? ()
#4  0x0805e9a3 in ?? ()
#5  0x0805e30a in ?? ()
#6  0x08060274 in ?? ()
#7  0x4002a10b in ?? ()
#8  <signal handler called>
#9  0x4013c819 in ?? ()
#10 0x40029d28 in ?? ()
#11 0x4002614b in ?? ()
#12 0x0805e5c3 in ?? ()
#13 0x0805c581 in ?? ()
#14 0x0805be89 in ?? ()
#15 0x0805ee2e in ?? ()
#16 0x400271a0 in ?? ()

Ну и остановить это добро получается только сигналом -9, ни на что другое оно 
уже не реагирует.

(отладчик работает через glibc-core-debug-2.2.6-alt0.5)

Где рыть?

Rgrds
-- 
 \   / |			           |
 (OvO) |  Michael Ivanov                   |
 (^^^) |                                   |
  \^/  |      E-mail:  ivans@isle.spb.ru   |
  ^ ^  |                                   |



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-15  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-15  7:58 [sisyphus] gcc3.2 и pthreads Michael Ivanov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git