Summary: | app-text/calibre-0.7.59 - python2.7 - Segmentation fault in get_random_fd () at gen_uuid.c:156 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Mol <mikemol> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | axs, jstein, mikemol, yamadharma, yngwin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 353224 | ||
Bug Blocks: | |||
Attachments: | backtrace |
Description
Michael Mol
2011-05-08 22:30:59 UTC
Created attachment 272541 [details]
backtrace
Stab in the dark: see bug 351897, then bug 353224. 06:20:53 $ python -c 'import gtk, uuid; print (uuid.uuid1().hex)' 08b6d4bc7a2611e0a65800248c6e516a 06:20:59 $ python -c 'import cairo, uuid; print (uuid.uuid1().hex)' 2c9100f67a2611e09b0000248c6e516a So no segfault there. Still looking at the second bug you mentioned. I can reproduce bug 353224, via Martin von Gagern's shell script, though it also closes my terminal; Running ./demo reveals: 06:26:50 $ verbose() { echo "$*"; "$@"; } shortcircuit@serenity~ 06:27:15 $ verbose ./demo ./demo &tbaz=(nil) Segmentation fault Looking at line 156 of util-linux-2.19/shlibs/uuid/src/gen_uuid.c, it is an assignment to a jrand_seed variable that's declared THREAD_LOCAL, so it seems consistent with bug 353224. I'll try the patch mentioned in that bug ('http://bugs.gentoo.org/attachment.cgi?id=261104'), probably tomorrow, and report back. That patch does fix the bug. What is the status of this bug? Can we close it? The bug was fundamentally in glibc, and patches queued up for glibc 2.12.2 and 2.13. Oldest version in tree is now 2.17, so it's safe to say this has been fixed. Anyone still hitting it hasn't updated their glibc in six years... |