Bug#576800: libc6: Cannot create new processes after hibernating
On Wed, 7 Apr 2010, Aurelien Jarno wrote: [...] > What is your video card? It is an Intel one. Specifically: 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 8340 Flags: bus master, fast devsel, latency 0, IRQ 16 Here's the video driver: ii xserver-xorg-video-intel 2:2.9.1-3 X.Org X server -- Intel i8xx, i9xx display d > If it is and Intel one, it's likely a memory corruption caused by the > video driver: > > https://bugzilla.kernel.org/show_bug.cgi?id=13811 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534422 I'm pretty sure this is indeed the same issue. However setting 'options i915 modeset=0' in /etc/modprobe.d/i915-kms.conf did not fix this issue as it should have. Maybe that's because KMS is now mandatory with the current Intel drivers? -- Francois Gouget http://fgouget.free.fr/ Any sufficiently advanced Operating System is indistinguishable from Linux -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.00.1004071721380.4...@amboise.dolphin
Bug#576800: libc6: Cannot create new processes after hibernating
Package: libc6 Version: 2.10.2-6 Severity: critical Justification: breaks the whole system After resuming my EeePC from hibernation, I can no longer start new processes. This goes so far as preventing shutdown since init itself cannot be forked so that the only solution is a hard reset. Hence the 'breaks the whole system' justification. Also, although this only happens after hibernating, I feel this is a pretty unavoidable activity on a laptop. Since no new process can be started (including gdb, strace, etc), this is quite hard to debug. I do get some traces in /var/log/syslog though: Apr 7 11:58:47 malte kernel: [ 122.856385] sh[2687]: segfault at b773f11f ip b772f001 sp bffb8300 error 7 in ld-2.10.2.so[b7725000+1c000] Apr 7 11:58:47 malte kernel: [ 122.961515] date[2690]: segfault at b781f11f ip b780f001 sp bfaaed00 error 7 in ld-2.10.2.so[b7805000+1c000] Apr 7 11:58:47 malte kernel: [ 122.963258] sort[2693]: segfault at b78e311f ip b78d3001 sp bfa10ad0 error 7 in ld-2.10.2.so[b78c9000+1c000] Apr 7 11:58:47 malte kernel: [ 122.963836] uniq[2694]: segfault at b787c11f ip b786c001 sp bfa5fdc0 error 7 in ld-2.10.2.so[b7862000+1c000] Apr 7 11:58:47 malte kernel: [ 122.966155] rm[2696]: segfault at b770711f ip b76f7001 sp bff05d20 error 7 in ld-2.10.2.so[b76ed000+1c000] I am reporting this bug against libc6 because if I understand the above traces correctly, they indicate that the crash occurs in ld-2.10.2.so which belongs to libc6. But I acknowledge that the bug may instead be in the Linux kernel. In my case: ii linux-image-2.6-6862.6.32+25 Linux 2.6 for modern PCs ii linux-image-2.6.32-3-686 2.6.32-9 Linux 2.6.32 for modern PCs -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libc6 depends on: ii libc-bin 2.10.2-6 Embedded GNU C Library: Binaries ii libgcc1 1:4.4.2-9 GCC support library Versions of packages libc6 recommends: ii libc6-i6862.10.2-6 GNU C Library: Shared libraries [i Versions of packages libc6 suggests: ii debconf [debconf-2.0] 1.5.30 Debian configuration management sy pn glibc-doc (no description available) ii locales 2.10.2-6 Embedded GNU C Library: National L -- debconf information: * glibc/upgrade: true glibc/disable-screensaver: glibc/restart-failed: * glibc/restart-services: rsync openbsd-inetd exim4 cups cron atd -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100407104825.2716.75981.report...@malte.dolphin
Bug#475839: libc6-dev: pthread_mutex_t definition contains a nameless union
On Sun, 14 Dec 2008, Francois Gouget wrote: [...] > 1) gcc-2.95 is still present in Lenny. If you are not seeing it in > aptitude, it's because you are using the 64bit build. Ah. I see I'm wrong about this point. I still get it because I have stable+testing in my sources.list. My other points still stand though. -- Francois Gouget http://fgouget.free.fr/ Cahn's Axiom: When all else fails, read the instructions. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#475839: libc6-dev: pthread_mutex_t definition contains a nameless union
On Sat, 10 May 2008, Aurelien Jarno wrote: > tag 475839 + wontfix > thanks [...] > > Here is a test program: > > --- pthread_mutex_t.c --- > > #include > > pthread_mutex_t mutex; > > --- pthread_mutex_t.c --- > > > > Compiling it with gcc 2.95 gives the following error: > > $ gcc-2.95 -c pthread_mutex_t.c > > In file included from /usr/include/pthread.h:30, > > from pthread_mutex_t.c:1: > > /usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that > > defines no instances > > gcc-2.95 does not give an error, but outputs a simple warning. > > I don't think it worth supporting an old compiler that is not present > in lenny. Tagging the bug as wontfix. I would like this bug to be reopened because I think it was closed for the wrong reasons: 1) gcc-2.95 is still present in Lenny. If you are not seeing it in aptitude, it's because you are using the 64bit build. 2) It's very easy to get a compilation error. Just try to compile the following program: --- pthread_mutex_t.c --- #include pthread_mutex_t mutex=PTHREAD_MUTEX_INITIALIZER; --- pthread_mutex_t.c --- 3) This particular construct also seems to be causing trouble with PCC: http://pcc.ludd.ltu.se/jira/browse/PCC-5 4) Wine contains code very similar to the above and thus fails to compile with gcc-2.95. This is actually the whole reason why I compile it with gcc 2.95: to ensure that Wine's code does not contain such non-portable constructs. But having the compilation fail due to the C library headers, or having to patch said headers on a regular basis, is annoying. -- Francois Gouget http://fgouget.free.fr/ We are Pentium of Borg. You will be approximated. Division is futile. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#475839: libc6-dev: pthread_mutex_t definition contains a nameless union
Package: libc6-dev Version: 2.7-10 Severity: normal Tags: patch The pthread_mutex_t in /usr/include/bits/pthreadtypes.h contains a nameless union. This makes it impossible to use with compilers that don't support nameless unions. Gcc 2.95 for instance. In particular this breaks compilation of Wine with gcc 2.95 (see loader/kthread.c in the Wine source). Avoiding nameless unions is trivial so there's no reason not to do it. Here's a patch to fix this (finding a better name for the union is left as an exercise for the reader): --- pthreadtypes.h.orig 2007-11-29 22:32:47.0 +0100 +++ pthreadtypes.h 2007-12-08 09:12:50.0 +0100 @@ -96,7 +96,7 @@ { int __spins; __pthread_slist_t __list; -}; +} u; #endif } __data; char __size[__SIZEOF_PTHREAD_MUTEX_T]; (hopefully this won't get too mangled by vi) Here is a test program: --- pthread_mutex_t.c --- #include pthread_mutex_t mutex; --- pthread_mutex_t.c --- Compiling it with gcc 2.95 gives the following error: $ gcc-2.95 -c pthread_mutex_t.c In file included from /usr/include/pthread.h:30, from pthread_mutex_t.c:1: /usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that defines no instances -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.22.9fg2 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libc6-dev depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii linux-libc-dev2.6.24-5 Linux Kernel Headers for developme Versions of packages libc6-dev recommends: ii gcc [c-compiler] 4:4.2.2-2 The GNU C compiler ii gcc-2.95 [c-compiler]1:2.95.4-27 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.2-19The GNU C compiler ii gcc-4.2 [c-compiler] 4.2.3-3 The GNU C compiler ii gcc-4.3 [c-compiler] 4.3.0-1 The GNU C compiler -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]