Ticket #527 (closed Bug report: duplicate)

Opened 13 months ago

Last modified 8 months ago

Wifidog Gateway - Segfault in libc-2.7.so

Reported by: jean-philippe.menil@… Owned by:
Priority: high Milestone: Gateway 1.1.5
Component: Gateway Version:
Keywords: segfault, libc, wifidog Cc:

Description

Hi, regularly, the wifidog dameon quit with a segfault:

kernel: [546984.988548] wifidog[11970]: segfault at 2 ip 7f644640f3a1 sp 439d2058 error 4 in libc-2.7.so[7f6446394000+14a000]

At this time, i've two wifidog daemon running on the same server (i'll to have more), the first with 50 users, the second with 200. The first have no problem (Uptime: 6d 15h 41m 51s), but the second quit every night.

Debian/lenny

uname -a: 2.6.26-1-amd64

dpkg -S libc-2.7.so: libc6: /lib/libc-2.7.so

dpkg -s libc6: Package: libc6 Status: install ok installed Priority: required Section: libs Installed-Size: 11468 Maintainer: GNU Libc Maintainers <debian-glibc@…> Architecture: amd64 Source: glibc Version: 2.7-18 Provides: glibc-2.7-1 Depends: libgcc1 Suggests: locales, glibc-doc Conflicts: libterm-readline-gnu-perl (<< 1.15-2), tzdata (<< 2007k-1), tzdata-etch Conffiles:

/etc/gai.conf bdd4cc328b946a52cc1424ef3dfa9321 /etc/ld.so.conf.d/libc.conf d4d833fd095fb7b90e1bb4a547f16de6 /etc/ld.so.conf.d/x86_64-linux-gnu.conf 593ad12389ab2b6f952e7ede67b8fbbf /etc/init.d/glibc.sh ce55541f2b38719f6eba57abe9f23603 /etc/bindresvport.blacklist db84c47f31f8d5a334a4053d8368e902

Description: GNU C Library: Shared libraries

Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C library and the standard math library, as well as many others.

Attachments

Change History

Changed 13 months ago by jean-philippe.menil@…

So, after a crash, analyse core done this:

#0 0x00007f89672913a1 in strncpy () from /lib/libc.so.6 #1 0x00007f89679a174e in httpdReadRequest (server=0x1ca4790, r=0x1cb37b0) at api.c:538 #2 0x000000000040b31a in thread_httpd (args=<value optimized out>) at httpd_thread.c:61 #3 0x00007f896756ffc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f89672e55ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? ()

I try to understand.

Changed 13 months ago by jean-philippe.menil@…

Seems that this bug is the same like this one: http://dev.wifidog.org/ticket/471

??

Changed 10 months ago by jean-philippe.menil@…

All is ok now, after applying the workaround (http://dev.wifidog.org/ticket/471).

Changed 8 months ago by benoitg

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #471

Add/Change #527 (Wifidog Gateway - Segfault in libc-2.7.so)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.