netoptimizer / IPTV-Analyzer

Fast MPEG2 Transport Stream Analyzer, based on Netfilter kernel module
www.iptv-analyzer.org
GNU General Public License v3.0
99 stars 55 forks source link

Segfault when reloading iptables module #23

Open danielkucera opened 8 years ago

danielkucera commented 8 years ago

I've got following segfault when I restarted iptables:

Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432545] ------------[ cut here ]------------ Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432557] WARNING: CPU: 1 PID: 31779 at /build/linux-Mxzr_W/linux-3.13.0/fs/proc/generic.c:304 proc_register+0 xc0/0x140() Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432559] proc_dir_entry 'xt_mpeg2ts/rule_input' already registered Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432561] Modules linked in: xt_mpeg2ts(OX) iptable_mangle ipmi_devintf nf_nat_ftp nf_conntrack_ftp xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack i ptable_filter ip_tables x_tables gpio_ich coretemp kvm_intel kvm lpc_ich i5400_edac edac_core shpchp ipmi_si i5k_amb mac_hid bonding 8021q garp stp mrp llc drbd lru_cache libcrc32c lp parport hid_generic usbhid mptsas mptscsih hid ahci igb libahci mptbase pata_acpi i2c_algo_bit tg3 scsi_transport_sas dca ptp pps_core Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432614] CPU: 1 PID: 31779 Comm: iptables-restor Tainted: G OX 3.13.0-85-generic #129-Ubuntu Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432616] Hardware name: HP ProLiant DL160 G5, BIOS O12 01/13/2009 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432618] 0000000000000000 ffff8800d9f9bb18 ffffffff8172b6a7 ffff8800d9f9bb60 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432622] 0000000000000009 ffff8800d9f9bb50 ffffffff810699cd ffff880212f2e3c0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432625] ffff88020fd162b5 ffff88020fd16240 ffff880212eaa3c0 ffff880212f2e9c0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432629] Call Trace: Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432637] [] dump_stack+0x64/0x82 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432642] [] warn_slowpath_common+0x7d/0xa0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432645] [] warn_slowpath_fmt+0x4c/0x50 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432648] [] ? proc_alloc_inum+0x36/0x140 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432651] [] proc_register+0xc0/0x140 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432654] [] proc_create_data+0x69/0xc0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432661] [] mpeg2ts_htable_create+0x158/0x290 [xt_mpeg2ts] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432665] [] xt_mpeg2ts_mt_check+0xc8/0x140 [xt_mpeg2ts] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432673] [] xt_check_match+0xa5/0x1f0 [x_tables] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432677] [] ? xt_find_match+0x10b/0x110 [x_tables] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432683] [] check_match+0x3c/0x50 [ip_tables] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432687] [] translate_table+0x31f/0x560 [ip_tables] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432691] [] do_ipt_set_ctl+0x116/0x1e0 [ip_tables] Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432696] [] nf_setsockopt+0x65/0x90 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432700] [] ip_setsockopt+0x7f/0xa0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432704] [] raw_setsockopt+0x16/0x60 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432709] [] sock_common_setsockopt+0x14/0x20 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432712] [] SyS_setsockopt+0x71/0xd0 Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432716] [] system_call_fastpath+0x1a/0x1f Apr 25 14:46:10 iptvmaster1 kernel: [ 358.432718] ---[ end trace 4a81d0d3605bfd94 ]---