Hello,
I am trying to run netsniff-ng on my system (Fedora 20, 3.12.10-300.fc20.x86_64). I am trying both the package offered by fedora (0.5.7) and compiling from source (0.5.8rc3), and I get the same problem: initialization and capturing works fine, but when I end the netsniff-ng process with ctrl-c I get something close to a kernel panic:

   [ 9742.682595] ------------[ cut here ]------------
   [ 9742.682623] kernel BUG at mm/mlock.c:512!
   [ 9742.682641] invalid opcode: 0000 [#1] SMP
   [ 9742.682664] Modules linked in: nfnetlink_queue nfnetlink_log
   nfnetlink e1000e(OF) netmap_lin(OF) ptp pps_core fuse bnep
   ip6t_rpfilter ip6t_REJECT xt_conntrack bluetooth ebtable_nat
   ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat
   nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle
   ip6table_security ip6table_raw ip6table_filter ip6_tables
   iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat
   nf_conntrack iptable_mangle iptable_security iptable_raw
   x86_pkg_temp_thermal coretemp kvm_intel kvm arc4 crct10dif_pclmul
   crc32_pclmul iwldvm crc32c_intel mac80211 ghash_clmulni_intel
   iwlwifi snd_hda_codec_hdmi sdhci_pci cfg80211 sdhci mmc_core
   snd_hda_codec_realtek joydev thinkpad_acpi iTCO_wdt
   iTCO_vendor_support rfkill serio_raw snd_hda_intel snd_hda_codec
   snd_hwdep snd_seq
   [ 9742.683041]  snd_seq_device lpc_ich i2c_i801 microcode snd_pcm
   snd_page_alloc snd_timer snd soundcore shpchp wmi mfd_core mei_me
   mei tpm_tis tpm tpm_bios binfmt_misc vboxnetadp(OF) vboxnetflt(OF)
   vboxdrv(OF) btrfs libcrc32c xor raid6_pq i915 i2c_algo_bit
   drm_kms_helper drm i2c_core video [last unloaded: pps_core]
   [ 9742.683197] CPU: 1 PID: 7289 Comm: netsniff-ng Tainted:
   GF          O 3.12.10-300.fc20.x86_64 #1
   [ 9742.683231] Hardware name: LENOVO 2306CTO/2306CTO, BIOS G2ET99WW
   (2.59 ) 12/04/2013
   [ 9742.683261] task: ffff8800371af380 ti: ffff88002a9ba000 task.ti:
   ffff88002a9ba000
   [ 9742.683291] RIP: 0010:[<ffffffff8116fba5>] [<ffffffff8116fba5>]
   munlock_vma_pages_range+0x2f5/0x310
   [ 9742.683331] RSP: 0018:ffff88002a9bbe00  EFLAGS: 00010206
   [ 9742.683353] RAX: 00000000000001ff RBX: ffff88002a0780b8 RCX:
   0000000000000034
   [ 9742.683381] RDX: 00000007f69aa339 RSI: ffffea0000523f00 RDI:
   ffffea0000523f00
   [ 9742.683408] RBP: ffff88002a9bbed8 R08: f800000000000000 R09:
   a8000148fc000000
   [ 9742.683436] R10: 57ffe8b704523f00 R11: 0000000000000206 R12:
   ffffea0000523f00
   [ 9742.683463] R13: 00007f69abb0d000 R14: ffff88002a0780b8 R15:
   00007f69aa339000
   [ 9742.683491] FS:  00007f69ac839740(0000) GS:ffff88011e240000(0000)
   knlGS:0000000000000000
   [ 9742.683523] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
   [ 9742.683545] CR2: 0000000001739f00 CR3: 00000000148a6000 CR4:
   00000000001407e0
   [ 9742.683573] Stack:
   [ 9742.683583]  ffffffff81168745 00007f69abb0cfff 00007f69abb0d000
   ffff88002a9bbed8
   [ 9742.683618]  000001ff811708c3 ffff88002a078e60 0000000000000000
   0000000000000000
   [ 9742.683653]  ffff88006bce6298 003fffff2a9bbe80 fffffff900000000
   0000000000000001
   [ 9742.683687] Call Trace:
   [ 9742.683702]  [<ffffffff81168745>] ? tlb_finish_mmu+0x35/0x60
   [ 9742.683728]  [<ffffffff8164f820>] ? packet_setsockopt+0x2a0/0x960
   [ 9742.683753]  [<ffffffff81172adf>] do_munmap+0x18f/0x3b0
   [ 9742.683775]  [<ffffffff81172d41>] vm_munmap+0x41/0x60
   [ 9742.683797]  [<ffffffff81173cc2>] SyS_munmap+0x22/0x30
   [ 9742.683819]  [<ffffffff81676ea9>] system_call_fastpath+0x16/0x1b
   [ 9742.683843] Code: 92 01 fe ff 84 c0 48 8b 95 28 ff ff ff 0f 85 68
   ff ff ff e9 54 ff ff ff 66 0f 1f 44 00 00 e8 d2 5b 4f 00 0f 1f 00 e8
   c4 5b 4f 00 <0f> 0b 4c 89 e7 e8 d1 21 fd ff 90 e9 61 fd ff ff 66 66
   2e 0f 1f
   [ 9742.684023] RIP  [<ffffffff8116fba5>]
   munlock_vma_pages_range+0x2f5/0x310
   [ 9742.684052]  RSP <ffff88002a9bbe00>
   [ 9742.689277] ---[ end trace 3ff075e777f66598 ]---

I say close because my system doesn't suicide, but rather it gets unstable (some programs like htop cannot start), and rebooting hangs.

The stack trace if from 0.5.7, but it's the same in 0.5.8rc3.

Cheers.
Lorenzo

--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to