Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129164 - `iptables -L` fails
Summary: `iptables -L` fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 12:16 UTC by Maciej Piechotka
Modified: 2006-07-09 00:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2006-04-07 12:16:19 UTC
I try every gcc I've in my system and each iptables version in portage - this the same bug:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy DROP)
target     prot opt source               destination
Segmentation fault

It have segmentation fault if I try to list when it prints first rule. Debug stack:
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xb7ded7ba in ads_build_error () from /usr/lib/libnss_wins.so.2
(gdb) bt
#0  0xb7ded7ba in ads_build_error () from /usr/lib/libnss_wins.so.2
#1  0xbfeacc7c in ?? ()
#2  0x00000000 in ?? ()
equery b /usr/lib/libnss_wins.so.2
[ Searching for file(s) /usr/lib/libnss_wins.so.2 in *... ]
net-fs/samba-3.0.22 (/usr/lib/libnss_wins.so.2 -> libnss_wins.so)

Kernel 2.6.16.1
Gcc 4.1 (I know it's testing version)
Samba 3.0.22

Regards.
Comment 1 SpanKY gentoo-dev 2006-04-07 18:04:59 UTC
you forgot `emerge info`

also, you didnt say what the command is you're trying to run
Comment 2 Maciej Piechotka 2006-04-08 01:11:57 UTC
Command is, as in title iptables -L.

emerge --info:

Portage 2.1_pre7-r4 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16.1 i686)
=================================================================
System uname: 2.6.16.1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parellel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF8"
LC_ALL="pl_PL.UTF8"
LINGUAS="pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acl alsa apache2 avi beagle berkdb bitmap-fonts bzip2 cairo cdparanoia crypt cups curl dbus djvu doc dri eds emacs emboss encode esd exif expat firefox flac foomaticdb fortran gb gd gdbm gif glut gmp gnome gnome-firefox gpm gstreamer gstreamer10 gtk gtk2 gtkhtml hal icq imlib ipod ipv6 irc isdnlog jabber java jpeg junit kerberos krb4 lcms libg++ libgda libnotify libwww mad mikmod mmx mono motif mozilla mp3 mpeg msn mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl pam pcre pda pdflib perl php png posix postgres pppd python quicktime readline real rss ruby samba sdl simplexml spell sqlite sse ssl subversion svg symlink t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis win32codecs xml xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 3 SpanKY gentoo-dev 2006-04-08 11:34:32 UTC
no, the command you used in the summary is the lowercase l
Comment 4 Maciej Piechotka 2006-04-09 01:15:25 UTC
Sorry - my mistake
Comment 5 SpanKY gentoo-dev 2006-04-10 19:56:21 UTC
and if you rebuild iptables with CFLAGS="-O1 -pipe" does it work ?
Comment 6 Maciej Piechotka 2006-04-11 08:02:50 UTC
> and if you rebuild iptables with CFLAGS="-O1 -pipe" does it work ?

I've rebuild and samba and iptables.
The same problem...
Comment 7 Daniel Black (RETIRED) gentoo-dev 2006-07-08 22:11:19 UTC
Following this guide may provide more information:
http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 8 Maciej Piechotka 2006-07-09 00:23:46 UTC
I'm afraid I totally recompile my gentoo (it's now SELinux). No problem any more. Sorry.