Summary: | net-dns/pdns-2.9.20-r1 (stable) segv's the child process with mysql backend | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Sullivan <nathan> |
Component: | New packages | Assignee: | Sven Wegener <swegener> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gentoobugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nathan Sullivan
2007-02-12 04:37:21 UTC
oops just noticed this machine had a 3.4.4 toolchain instead of 4.1 as id hoped it should have had. in the process of doing an emerge -ev world on it now with 4.1.x (stable), will advise if this helps... Reopen if it doesn't work once you've recompiled all the stuff w/ the new gcc; mixing gcc versions does no good. http://www.gentoo.org/doc/en/gcc-upgrading.xml after making sure everything is built with gcc 4.1.x again, still getting the below results: Apr 11 11:10:00 apollo-xtrint pdns[12899]: All slave domains are fresh Apr 11 11:10:00 apollo-xtrint pdns[12899]: gmysql Connection succesful Apr 11 11:10:00 apollo-xtrint pdns[12899]: Got a signal 11, attempting to print trace: Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance [0x46c6a6] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /lib/libc.so.6 [0x2b7154b9c690] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/lib64/libmysqlclient.so.15(_db_return_+0xd2) [0x2b7154f00190] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/lib64/libmysqlclient.so.15 [0x2b7154f03393] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/lib64/libmysqlclient.so.15(mysql_real_query+0xbc) [0x2b7154f010fa] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/lib64/libgmysqlbackend.so(_ZN6SMySQL7doQueryERKSs+0x135) [0x2b7154dadd6f] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/lib64/libgmysqlbackend.so(_ZN6SMySQL7doQueryERKSsRSt6vectorIS2_ISsSaISsEESaIS4_EE+0x99) [0x2b7154dae12f] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance(_ZN11GSQLBackend17getUpdatedMastersEPSt6vectorI10DomainInfoSaIS1_EE+0x7a) [0x4d19aa] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance(_ZN12UeberBackend17getUpdatedMastersEPSt6vectorI10DomainInfoSaIS1_EE+0x24) [0x475efc] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass17masterUpdateCheckEP13PacketHandler+0xc0) [0x48a786] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass8mainloopEv+0x12d) [0x4902c7] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass12launchhelperEPv+0x9) [0x4a6dc5] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /lib/libpthread.so.0 [0x2b7154a59027] Apr 11 11:10:00 apollo-xtrint pdns[12899]: /lib/libc.so.6(__clone+0x6e) [0x2b7154c27f5e] Apr 11 11:10:01 apollo-xtrint cron[12910]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) next step? oops forgot something... Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-xen x86_64) ================================================================= System uname: 2.6.18-xen x86_64 Intel(R) Xeon(R) CPU 5140 @ 2.33GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 11 Apr 2007 00:30:08 +0000 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-overlays/testing /usr/local/portage-overlays/layman/aross" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 apache2 bash-completion berkdb big-tables bitmap-fonts bzip2 cli cracklib crypt cups curl curlwrappers dba debug dri dvd ethereal exif extraengine fam fortran ftp gd gdbm gpm iconv imagemagick imap innodb ipv6 isdnlog jpeg kerberos ldap libg++ lm_sensors logrotate mcal mhash midi mppe-mppc mysql mysqli ncurses nls nptl nptlonly pam pcntl pcre pear perl png posix ppds pppd python radius readline reflection ruby samba session simplexml snmp soap sockets spell spl sqlite ssl svg tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vhosts wddx xml xml2 xmlrpc xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS :) I'm using powerdns on a gcc-3.4.6 hardened amd64 system and on a gcc-4.1.2 non-hardened amd64 system and I'm not experiencing any problems. Are you using any special powerdns configuration options? Looking at the backtraces powerdns logged the error has changed after you recompiled your system. Does the error changes between invocations of powerdns? generally what I notice is, powerdns starts fine (the daemon i think), but the child processes that load up are where the crash occurs, it seems to be failing on the mysql connectivity part (which is where all our records are stored), but the weird thing is after a while the children manage to start fine, i think they just respawn until they succeed and then all is good until next restart... can sometimes take 5mins total for all child processes to connect successfully without a crash... sven, are you using a mysql backend btw? yep, the one on hardened is using the gmysql backend. and for testing i also configured the non-hardened installation with a gmysql backend, without problem. Sorry, unable to reproduce. |