All of lore.kernel.org
 help / color / mirror / Atom feed
* selinux and thread local storage
@ 2015-04-14 18:45 mm19827
  2015-04-14 19:57 ` Stephen Smalley
  2015-04-16 19:56 ` mm19827
  0 siblings, 2 replies; 5+ messages in thread
From: mm19827 @ 2015-04-14 18:45 UTC (permalink / raw)
  To: SELinux

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 2545 bytes --]

Hi all,

I am trying to figure out something about Red Hat Bugzilla – Bug 1195074,
where nvidia libGL.so.304.125 hangs in an endless loop when loaded by
gnome-shell 3.14.

Sequence is: gnome-shell loads libGL.so which for some reason calls
is_selinux_enabled in libselinux.so at library load time, which runs into a
spinlock within init_thread_destructor when accessing the thread-local
variable destructor_initialized.

gdb print of destructor_initialized reports:
The inferior has not yet allocated storage for thread-local variables in the
shared library `/lib64/libselinux.so.1'

gdb backtrace is:

#0  0x0000003f12412495 in tls_get_addr_tail (ti=0x3509221f58,
dtv=0x7ffff7f83390, the_map=0x7ffff7f9c000)
    at dl-tls.c:751
#1  0x00003ðÀÌÔÀäÀÁ…˜ØÌ¥¸•ÑÁɽ…ÑÑɍ½¹}É…Ü€ ¤…ЁÁɽ…ÑÑȹŒèÜÌ(ŒÈ€€ÁàÀÀÀÀÀÀÌÔÀäÀÁ…˜ØÌ¥¸•ÑÁɽ…ÑÑɍ½¹}É…Ü(¡½¹Ñ•áÐõ½¹Ñ•áÑ\x01•¹ÑÉäôÁàÝ™™™™™™™å˜À°Á¥õÁ¥‘\x01•¹ÑÉäôÀ°)…ÑÑÈõ…ÑÑÉ\x01•¹ÑÉäôÁàÌÔÀäÀÄå”݈€‰ÕÉÉ•¹Ðˆ¤…ЁÁɽ…ÑÑȹŒèÄÈÄ(ŒÌ€€ÁàÀÀÀÀÀÀÌÔÀäÀÁˆÈÑ”¥¸•э½¹}É…Ý}¥¹Ñ•ɹ…°€¡Œõ\x01•¹ÑÉäôÁàÝ™™™™™™™å˜À¤…Ð)Áɽ…ÑÑȹŒèÌÌÐ(ŒÐ€€ÁàÀÀÀÀÀÀÌÔÀäÀÁ„ٍ”¥¸¥Í}Í•±¥¹Õá}•¹…‰±•‘}¥¹Ñ•ɹ…°€ ¤…Ё•¹…‰±•¹ŒèÈØ(ŒÔ€€ÁàÀÀÀÀÀÀÌÔÁÁ„ÕŒÀ؁¥¸€€ ¤…Ѐ½±¥ˆØÐ½±¥‰\x1d0¹Í¼¸Ä(ŒØ€€ÁàÀÀÀÀÀÀÌÔÁÀàь݈¥¸€€ ¤…Ѐ½±¥ˆØÐ½±¥‰\x1d0¹Í¼¸Ä(ŒÜ€€ÁàÀÀÀÀÀÀ͘ÄÈÐÁ™••¥¸…±±}¥¹¥Ð€¡°ôÁàÝ™™™˜Ý˜ääå„ఁ…ɝŒõ…ɝ\x01•¹ÑÉäôȰ)…ɝØõ…ɝÙ\x01•¹ÑÉäôÁàÝ™™™™™™™‘ŒÄఁ•¹Øõ•¹Ù\x01•¹ÑÉäôÁàÝ™™™™™™™‘ŒÌÀ¤…Ё‘°µ¥¹¥Ð¹ŒèØÈ(Œà€€ÁàÀÀÀÀÀÀ͘ÄÈÐÄÀÀ͈¥¸}‘±}¥¹¥Ð€¡•¹Øôñ½ÁÑ¥µ¥é•½ÕÐø°…ɝØôñ½ÁÑ¥µ¥é•)½ÕÐø°…ɝŒôñ½ÁÑ¥µ¥é•½ÕÐø°°ôñ½ÁÑ¥µ¯×¦VB\x06÷WCâ’\x06\x17B\x06FÂÖ–æ—Bæ3£3@¢3’\x02\x03\aƒ\x03\x03\x03\x03\x03\x036c\x13#C\x13\x03\x036"\x06–â\x05öFÅö–æ—B\x02†Ö\x16–åöÖ\x17\x03Ó\aƒ6c\x13#c#3\x13C‚Â\x06\x17&v3Ó"À¦\x17&wcÓ\aƒvfffffffF3\x13‚Â\x06VçcÓ\aƒvfffffffF33\x02’\x06\x17B\x06FÂÖ–æ—Bæ3£\x13#@¢3\x13\x02\x03\aƒ\x03\x03\x03\x03\x03\x036c\x13#C\x03\x06C&\x12\x06–â\x05öFÅ÷7F\x17'E÷W6W"\x02‚’\x06\x17B\x02öÆ–#cBöÆBÖÆ–çW‚׃ƒbÓcBç6òã ¢3\x13\x12\x03\aƒ\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03"\x06–â\x02\x02‚¢3\x13"\x03\aƒ\x03\x03\x03\x03vfffffffFfFB\x06–â\x02\x02‚¢3\x132\x03\aƒ\x03\x03\x03\x03vfffffffFfc"\x06–â\x02\x02‚¢3\x13B\x03\aƒ\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x02\x06–â\x02\x02‚ ¥F†—2\x06ö67W'2\x06\x17B\x06Æ–'&\x17'’\x06Æö\x16B\aF–ÖRÂ\a6ò\x06&Vf÷&R\x06vWGF–ær\aFò\x06Ö\x16–â‚’à¤\x16FF—F–öæ\x16Â\x06æ÷FR\x06—2\aF†\x17B\x04’\x06†\x17fR\aF†—2\a\a&ö&ÆVÒ\av—F‚\x06væöÖR×6†VÆÂÂ\x06'WB\x06Ö\x16ç’\x06÷F†W ¦W†V7WF\x16&ÆW2\x02†–æ6ÇVF–ær\x06væöÖR×6W76–öâÂ\x06vdž–æfòÂ\x06vdžvV\x17'2’\x06Æö\x16@¦Æ–$tÂç6òã3\x03Bã\x13#R\x06\x16æB\a'Vâ\x06§W7B\x06f–æRà ¥F†—2\a\a&ö&ÆVÒ\x06—2\a6–Ö–Æ\x17"\aFò\aF†R\x06öæR\x06FW67&–&VB\x06–ইGG\x03¢òöÖ\x17&2æ–æfòó÷CÓ\x13C##S#c“s\x13\x03\x03\x03\x032g#Ó\x12gsÓ ¦\x16ÇF†÷Vv‚\x06–â\x06×’\x066\x176R\av†\x17B\aVæÆö6·2\aF†R\a7\x06–æÆö6²\x06—2\aFò\x06Fò\x04ÄEõ\x05$TÄô\x14B\x06f÷"\x06Æ–$tÂç6òऒ\x06FöâwB\aF†–æ²\x04ÄEõ\x05$TÄô\x14B\x06—2\a&V\x16ÆÇ’\x06\x1fÈ\x19ÛÛÙ\b\x1cÛÛ\x1d]\x1a[Û‹ˆ\x10[žH\x1cÝYÙÙ\Ý\x1a[ۜς•Ú\x18]\b^[XZÙ\È\x1a]\b\x19\x1aY™šXÝ[\x1d\b\x1a\x19\™H\x1a\È\x1d\x1a\x18]\b^[šY\x1aXH^[\x1aX‘Ó\vœÛËŒÌ
\vŒLH\x1a\È\x18Û^[ÜÙY\x02œÛÝ\˜ÙK\b\x18[™\b\x1d\x1a\x18]\b\x18[\x1cÛÈ^[^[ØY\x1cÈ\x1cÛÛYH^[\x1aX›šY\x1aXK]^[\x1cÈ\x1dÚ\x1aXÚ\b\x1cÛÝ[™\x1cÈ\x1cÝ\Ü\x19XÝ\v\b\x18]\x02˜ÛÝ[\x19\b\x1d\x1a\x1a\È\x1cÝYÙÙ\Ý\b\x1cÛÛYH\x1d^[\x1cÈ\x1a[š]\x1aX[\x1a^˜]\x1a[Ûˆ\x1c\x1c›Ø›\x19[H\x1dÚ\x1a[\x19H\x19\x1e[˜[ZXÈ^[^[ØY\x1a[™È^[Ù‚›\x1aXœÙ[\x1a[^\x0f

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-17 12:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 18:45 selinux and thread local storage mm19827
2015-04-14 19:57 ` Stephen Smalley
2015-04-15 17:25   ` Daniel J Walsh
2015-04-17 12:52     ` Stephen Smalley
2015-04-16 19:56 ` mm19827

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.