Bug#637654: libglib2.0-dev: glib programs can'T be run with realtime priority (or any non-SCHED_OTHER regime)
Marc Lehmann
debian-reportbug at plan9.de
Sat Aug 13 13:27:42 UTC 2011
Package: libglib2.0-dev
Version: 2.28.6-1
Severity: normal
When trying to run glib-based programs that use threads with realtime priority, they
abort sooner or later:
GThread-ERROR **: file /tmp/buildd/glib2.0-2.28.6/./gthread/gthread-posix.c: line 348 (g_thread_create_posix_impl): error 'Invalid argument' during 'pthread_attr_setschedparam (&attr, &sched)'
this is probably caused by glib expecting to be run as SCHED_OTHER all
the time - it would probably be better to not insist on being able to set
specific priorities, or change the scheduling regime to an appropriate one
(but ignoring the users wish would probably be worse).
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libglib2.0-dev depends on:
hi libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libglib2.0-bin 2.28.6-1 The programs for the GLib library
ii pkg-config 0.25-1.1 manage compile and link flags for
ii zlib1g-dev 1:1.2.3.4.dfsg-3 compression library - development
Versions of packages libglib2.0-dev recommends:
ii python 2.6.7-1 interactive high-level object-orie
Versions of packages libglib2.0-dev suggests:
ii libglib2.0-doc 2.24.2-1 Documentation files for the GLib l
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list