Bugtrack Bug .. ;)

Georg Glas georg at home.glas.eu.org
Mon Apr 22 23:34:33 CEST 2002


hi, 

yust tried to file a bug report against kernel-2.4.18-2.22
i put much debug info into it, maybe this broke some quotes in sql command i 
think .. 

could u check this .. this was the output ... 


 ------------------------------------------------------------------------ 

Warning: PostgreSQL query failed: ERROR: referential integrity violation - 
key referenced from entry not found in person in 
/home/pld/mbt/www/mbt/src/db_pgsql.php on line 54
Database error: Invalid SQL: INSERT INTO entry(id,ticket_id, author, text) 
VALUES ('297','160', '0', 'dear cieciwa, kernel is really fine but netfilter 
has some bugs in it .. i am using iptables-1.2.5-1 from nest.devel .. with 
2.4.18-2.22-i386 (on a cyrix 200) [root at home tmp]# /usr/sbin/iptables -t nat 
 -A POSTROUTING -o eth0 -j SNAT --to-source 212.17.106.212 iptables: Invalid 
argument which is i think not correct .. (module is inserted) [root at home 
georg]# /usr/sbin/iptables -t nat -L Chain PREROUTING (policy ACCEPT) target 
prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot 
opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source 
destination [root at home georg]# [root at home georg]# /usr/sbin/iptables -L 
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD 
(policy ACCEPT) target prot opt source destination Chain OUTPUT (policy 
ACCEPT) target prot opt source destination [root at home tmp]# iptables 
 --version iptables v1.2.5 [root at home tmp]# strace /sbin/iptables -t nat -A 
POSTROUTING -o eth0 -j SNAT --to-source 212.17.106.212 
execve(\\\"/sbin/iptables\\\", [\\\"/sbin/iptables\\\", \\\"-t\\\", 
\\\"nat\\\", \\\"-A\\\", \\\"POSTROUTING\\\", \\\"-o\\\", \\\"eth0\\\", 
\\\"-j\\\", \\\"SNAT\\\", \\\"--to -source\\\", \\\"212.17.106.212\\\"], [/* 
25 vars */]) = 0 uname({sys=\\\"Linux\\\", node=\\\"home\\\", ...}) = 0 
brk(0) = 0x8056680 open(\\\"/etc/ld.so.preload\\\", O_RDONLY) = 4 fstat(4, 
{st_mode=S_IFREG|0644, st_size=0, ...}) = 0 close(4) = 0 
open(\\\"/etc/ld.so.cache\\\", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, 
st_size=29033, ...}) = 0 old_mmap(NULL, 29033, PROT_READ, MAP_PRIVATE, 4, 0) 
= 0x124000 close(4) = 0 open(\\\"/lib/libdl.so.2\\\", O_RDONLY) = 4 read(4, 
\\\"7ELF{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{B 
ODY}{BODY}{BODY}004{BODY}\\\"..., 1024) = 1024 fstat(4, 
{st_mode=S_IFREG|0755, st_size=9316, ...}) = 0 old_mmap(NULL, 12196, 
PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x12c000 mprotect(0x12e000, 4004, 
PROT_NONE) = 0 old_mmap(0x12e000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x12e000 close(4) = 0 
open(\\\"/lib/libc.so.6\\\", O_RDONLY) = 4 read(4, 
\\\"7ELF{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{B 
ODY}{BODY}{BODY}06\\\"..., 1024) = 1024 fstat(4, {st_mode=S_IFREG|0755, 
st_size=1155652, ...}) = 0 old_mmap(NULL, 1171776, PROT_READ|PROT_EXEC, 
MAP_PRIVATE, 4, 0) = 0x12f000 mprotect(0x243000, 41280, PROT_NONE) = 0 
old_mmap(0x243000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
0x113000) = 0x243000 old_mmap(0x249000, 16704, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x249000 close(4) = 0 
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x24e000 munmap(0x124000, 29033) = 0 brk(0) = 0x8056680 brk(0x80566b8) = 
0x80566b8 brk(0x8057000) = 0x8057000 
open(\\\"/lib/iptables/libipt_SNAT.so\\\", O_RDONLY) = 4 read(4, 
\\\"7ELF{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{BODY}{B 
ODY}{BODY}{BODY}@{BODY}{BODY}00\\\"..., 1024) = 1024 fstat(4, 
{st_mode=S_IFREG|0755, st_size=5524, ...}) = 0 old_mmap(NULL, 7660, 
PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x124000 mprotect(0x125000, 3564, 
PROT_NONE) = 0 old_mmap(0x125000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x125000 close(4) = 0 socket(PF_INET, 
SOCK_RAW, IPPROTO_RAW) = 4 getsockopt(4, SOL_IP, 0x40 /* IP_??? */, 
[7627118], [84]) = 0 getsockopt(4, SOL_IP, 0x41 /* IP_??? */, [7627118], 
[656]) = 0 brk(0x8058000) = 0x8058000 setsockopt(4, SOL_IP, 0x40 /* IP_??? 
*/, [7627118], 876) = -1 EINVAL (Invalid argument) write(2, \\\"iptables: 
Invalid argument\\n\\\", 27iptables: Invalid argument ) = 27 _exit(1) 
root at home tmp]# ip link show 1: lo: mtu 16436 qdisc noqueue link/loopback 
00:00:00:00:00:00 brd 00:00:00:00:00:00 2: sit0 at NONE: mtu 1480 qdisc noop 
link/sit 0.0.0.0 brd 0.0.0.0 3: eth0: mtu 1500 qdisc pfifo_fast qlen 100 
link/ether 00:10:5a:c6:2b:31 brd ff:ff:ff:ff:ff:ff 4: eth1: mtu 1500 qdisc 
noop qlen 100 link/ether 00:60:97:7e:50:35 brd ff:ff:ff:ff:ff:ff 5: eth2: 
mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:01:02:9b:cd:1f brd 
ff:ff:ff:ff:ff:ff 6: eth3: mtu 1500 qdisc pfifo_fast qlen 100 link/ether 
00:60:1d:04:36:f5 brd ff:ff:ff:ff:ff:ff [root at home tmp]# /sbin/lsmod Module 
Size Used by Tainted: P iptable_nat 14804 0 (autoclean) (unused) acquirewdt 
1608 1 (autoclean) af_packet 11784 3 (autoclean) ipt_MARK 736 42 (autoclean) 
ipt_state 736 5 (autoclean) ipt_LOG 3136 9 (autoclean) ipt_limit 960 2 
(autoclean) ip_conntrack 20780 2 (autoclean) [iptable_nat ipt_state] 
iptable_mangle 2112 1 (autoclean) iptable_filter 1728 1 (autoclean) 
ip_tables 12800 9 [iptable_nat ipt_MARK ipt_state ipt_LOG ipt_limit 
iptable_mangle iptable_filt er] orinoco_cs 4296 1 orinoco 29664 0 
[orinoco_cs] hermes 3296 0 [orinoco_cs orinoco] ds 6400 2 [orinoco_cs] 
i82365 12192 2 pcmcia_core 37472 0 [orinoco_cs ds i82365] 3c59x 25000 1 
(autoclean) 3c509 8896 1 (autoclean) isa-pnp 27400 0 (autoclean) [i82365 
3c509] ipv6 123616 -1 (autoclean) reiserfs 157216 1 (autoclean) unix 13348 
30 (autoclean) ext2 31752 2 (autoclean) ide-disk 9200 4 (autoclean) ide-mod 
148476 4 (autoclean) [ide-disk] ')
PostgreSQL Error: 1 (ERROR: referential integrity violation - key referenced 
from entry not found in person )
Session halted. 

 ------------------------------------------------------ 


greetings,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/53fbdcad/attachment.bin


More information about the feedback mailing list