pppd segfault libnss_compat-2.12.1.so

Bug #648030 reported by Kim Botherway
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ppp (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Maverick by Tomson
sudo (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Maverick by Tomson

Bug Description

Binary package hint: ppp

Hi,

Description: Ubuntu maverick (development branch)
Release: 10.10

ppp:
  Installed: 2.4.5~git20081126t100229-0ubuntu4
  Candidate: 2.4.5~git20081126t100229-0ubuntu4
  Version table:
 *** 2.4.5~git20081126t100229-0ubuntu4 0
        500 http://ftp.iinet.net.au/pub/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

pppoe:
  Installed: 3.8-3
  Candidate: 3.8-3
  Version table:
 *** 3.8-3 0
        500 http://ftp.iinet.net.au/pub/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

Under Maverick, the ppp daemon segfaults and my adsl connection does not come up.

pppd[1681]: segfault at 7fffb1377edf ip 00007f749859dd4c sp 00007fffb13724b0 error 6 in libnss_compat-2.12.1.so

To start the pppoe connection I need to run pon dsl-provider.

I used pppoeconf to setup everything, including this from the /etc/network/interfaces file
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: ppp 2.4.5~git20081126t100229-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun Sep 26 20:09:59 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
SourcePackage: ppp
---
Architecture: amd64
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
NonfreeKernelModules: fglrx
Package: ppp 2.4.5~git20081126t100229-0ubuntu4
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Tags: maverick
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: Administrators Domain Admins adm audio audio dialout dip pam_users plugdev sudo users www-data

Revision history for this message
Kim Botherway (dj-dvant) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Kim Botherway (dj-dvant) wrote : Dependencies.txt

apport information

Revision history for this message
Kim Botherway (dj-dvant) wrote :
Revision history for this message
Danyi Dávid (yv) wrote :

Problem is still present in maverick final.

I downgraded ppp to the one in lucid, it seems to work now, though segfaults at boot time, and I have to do a manual ifup.

Revision history for this message
Ivo Steinmann (isteinmann) wrote :

I get a similar error:

pppd[7423]: segfault at bf9434bf ip b768c398 sp bf93dbdc error 6 in libnss_files-2.12.1.so[b768a000+a000]

Revision history for this message
Alexander Ivanov (dr.stein) wrote :

Similar error. Ubuntu 10.10 upgraded from 10.04.
just run "ftp" without params and get segmentation fault.

$ dmesg | tail -n1
[ 936.174069] ftp[6480]: segfault at 7fffba39dccf ip 00007fa058b91d4c sp 00007fffba392290 error 6 in libnss_compat-2.12.1.so[7fa058b8e000+8000]

Revision history for this message
Bob (Boudewijn) Tenty (bobtenty) wrote :

Similar error with libnss-2.12.1.so (Upgraded from 10.04 to 10.10 Maverick)

Downgrading ppp to the one in lucid doesn't help

This is nasty as it is at my main router to Internet so I hope they give this bug priority

Revision history for this message
Bob (Boudewijn) Tenty (bobtenty) wrote :

Correction to my previous post

 libnss-2.12.1.so should be libnss_files-2.12.1.so

Revision history for this message
Bob (Boudewijn) Tenty (bobtenty) wrote :

As a temporary fix to get ppp going again in Maverick I had to downgrade the following packages.
(Lucid versions)

libc6
libc-bin
ppp

Revision history for this message
Tomson (4tomson) wrote :

Oct 16 10:31:34 ubuntu kernel: [ 2369.081145] su[26053]: segfault at 7fff44173b1f ip 00007f1351b5ad4c sp 00007fff441680e0 error 6 in libnss_compat-2.12.1.so[7f1351b57000+8000]

Changed in sudo (Ubuntu):
status: New → Confirmed
Changed in ppp (Ubuntu):
status: New → Confirmed
Revision history for this message
plughead (plughead) wrote :

Is this the same bug I'm seeing on a 32-bit (i686) ubuntu 10.10? su gives a segfault every time. Here's what I got from gdb:

---start gdb---
jdyer@phobos:~$ gdb su
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/su...(no debugging symbols found)...done.
(gdb) catch throw
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
(gdb) r
Starting program: /bin/su

Program received signal SIGSEGV, Segmentation fault.
0x00f17755 in internal_getpwuid_r (uid=<value optimized out>, result=<value optimized out>, ent=0xbff425ec, buffer=0xbff45ef0 "kdm", buflen=8192,
    errnop=0xb7860898) at nss_compat/compat-pwd.c:946
946 nss_compat/compat-pwd.c: No such file or directory.
        in nss_compat/compat-pwd.c
(gdb)
---end gdb---

Also note that I have an AMD X2 6000 processor--could this be another SSE issue? I see that there was an SSE4 fix for libc6-2.12.1-0ubuntu7, but I'm still having the same problem.

Revision history for this message
Stefan Götz (stefan.goetz-deactivatedaccount) wrote :

I'm also seeing reproducible segfaults since Maverick in libnss_compat-2.12.1.so on clients configured for LDAP authentication when the LDAP server is unreachable due to connectivity issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.