Hi All,
I'm using Linux 2.6.20 ( Ubuntu distribution.)
I have a program that opens up couple of tcp connections and I have a
script that on execution, delivers killall -9 signal to my program.
my program gets killed but I get this kernel crash in
tcp_v4_destroy_sock( ) few seconds afterwards. I think that all
sockets of process are closed when process terminates. so this crash
should not happen if any data comes to it after process terminates.
can anyone tell me why I'm getting this? and what's the solution? Thanks !!
[166247.813472] BUG: unable to handle kernel paging request at
virtual address 83018903
[166247.821231] printing eip:
[166247.824029] *pde = 00000000
[166247.826910] Oops: 0002 [#1]
[166247.829791] SMP
[166247.831755] Modules linked in: iptable_filter ip_tables x_tables
binfmt_misc rfcomm l2cap bluetooth ipv6 i915 drm ppdev capability
commoncap acpi_cpufreq cpufreq_ondemand pufreq_conservative
cpufreq_stats cpufreq_p owersave cpufreq_userspace freq_table
sony_acpi dev_acpi tc1100_wmi pcc_acpi acbutton battery dock sbs
video i2c_ec i2c_core asus_acpi backlight container af_packet
nls_iso8859_1 nls_cp437 vfat fat lp fuse snd_hda_intel snd_hda_codec snd_p
cm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidisnd_seq_midi_event snd_seq snd_timer snd_seq_device snd
soundcore snd_page_alloc intel_agp iTCO_wdt iTCO_vendor_support
parport_pc parport psmouse pcspkr agpgart serio_raw shpchp
pci_hotplug tsdev evdev generic ata_piix ext3 jbd mbcache e100 mii
e1000 ata_generic libata scsi_mod uhci_hcd ehci_hcd usbcore thermal
processor fan
[166247.917772] CPU: 0
[166247.917773] EIP: 0060:[<c02bf1c8>] Tainted: PF VLI
[166247.917775] EFLAGS: 00010246 (2.6.20.3-ubuntu1-kdbpatch #1)
[166247.931690] EIP is at tcp_v4_destroy_sock+0x28/0x230
[166247.936734] eax: 830188ff ebx: cffc8b00 ecx: c192cb40 edx: 00000000
[166247.943599] esi: e30fb6c0 edi: e30fb730 ebp: e30fb6c0 esp: f0d05f04
[166247.950461] ds: 007b es: 007b ss: 0068
[166247.954642] Process igwIdle (pid: 23481, ti=f0d04000
task=ea6cb560 task.ti=f
0d04000)
[166247.962284] Stack: e30fb6c0 00000000 f0d05f88 c02abde3 dd4c41b0
c02aaa66 e30
fb6c0 c02ac52d
[166247.970929] e30fb6c0 c02bbbe8 00000001 00000008 c02bc5ca f7782be0 000
00000 c03d6100
[166247.979548] 00000000 ea6cb560 00000000 c013e06c c17f7c18 c17f7bc0 ea6
cb560 e30fb730
[166247.988169] Call Trace:
[166247.990907] [<c02abde3>] inet_csk_destroy_sock+0x43/0x150
[166247.996498] [<c02aaa66>] inet_put_port+0x76/0x90
[166248.001309] [<c02ac52d>] inet_csk_clear_xmit_timers+0x3d/0x40
[166248.007246] [<c02bbbe8>] tcp_write_err+0x118/0x160
[166248.012233] [<c02bc5ca>] tcp_write_timer+0x28a/0x6d0
[166248.017395] [<c013e06c>] hrtimer_run_queues+0xbc/0x150
[166248.022725] [<c02bc340>] tcp_write_timer+0x0/0x6d0
[166248.027705] [<c012f98f>] run_timer_softirq+0x12f/0x1a0
[166248.033041] [<c01154f5>] smp_apic_timer_interrupt+0x75/0x80
[166248.038803] [<c01042f8>] apic_timer_interrupt+0x28/0x30
[166248.044225] [<c012b662>] __do_softirq+0x82/0x100
[166248.049037] [<c012b735>] do_softirq+0x55/0x60
[166248.053587] [<c012b9a2>] local_bh_enable_ip+0x42/0x50
[166248.058832] [<c02f092f>] _write_unlock_bh+0xf/0x20
[166248.079892] [<c0104537>] kernel_thread_helper+0x7/0x10
[166248.085225] =======================
[166248.088880] Code: 74 26 00 57 56 89 c6 53 e8 46 d3 fe ff 89 f0 8d
7e 70 e8 cc 30 00 00 8b 5e 70 39 fb 74 65 90 8d 74 26 00 8b 03 83 6f
08 01 89 07 <89> 78 04 8b 43 60 c7 43 04 00 00 00 00 c7 03 00 00 00 00 05 b0
[166248.109056] EIP: [<c02bf1c8>] tcp_v4_destroy_sock+0x28/0x230
SS:ESP 0068:f0d05f04
========================================================================
" Two roads diverged in the wood, I took the one less travelled by,
and that has made all the difference."
---Robert Lee Frost. ( From the poem "The Road Not Taken" )
********************************************************************************
This email message (including any attachments) is for the sole use of the intended recipient(s)
and may contain confidential, proprietary and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended recipient,
please immediately notify the sender by reply email and destroy all copies of the original message.
Thank you.
Intoto Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html