[New-bugs-announce] [issue3351] Python crashed

yiyuan report at bugs.python.org
Mon Jul 14 05:07:33 CEST 2008


New submission from yiyuan <support at proxyshell.com>:

Hi,

I'm new here and I'm not sure whether this should be reported here.

OS: CentOS 2.6.9-67.0.15.EL
Memory: 512M
Python Version: 2.5.1

The crash happened after our web program writen with python running for
many days (maybe 20 days).

Here are the logs I found in /var/log/messages

Jul 14 04:30:38  kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000002
Jul 14 04:30:38  kernel:  printing eip:
Jul 14 04:30:38  kernel: 00000002
Jul 14 04:30:38  kernel: *pde = 0c223067
Jul 14 04:30:38  kernel: Oops: 0000 [#1]
Jul 14 04:30:38  kernel: Modules linked in: ipt_state ipt_TOS
iptable_mangle ip_conntrack_ftp ip_conntrack_irc ip_conntrack ipt_REJECT
ipt_LOG ipt_limit iptable_filter ipt_multiport ip_tables autofs4 sunrpc
loop dm_mirror dm_mod ohci_hcd ehci_hcd k8_edac edac_mc snd_atiixp
snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore
snd_page_alloc tg3 floppy ext3 jbd sata_sil libata sd_mod scsi_mod
Jul 14 04:30:38  kernel: CPU:    0
Jul 14 04:30:38  kernel: EIP:    0060:[<00000002>]    Not tainted VLI
Jul 14 04:30:38  kernel: EFLAGS: 00010202   (2.6.9-67.0.15.EL) 
Jul 14 04:30:38  kernel: EIP is at 0x2
Jul 14 04:30:38  kernel: eax: c11bf760   ebx: c11bf760   ecx: c11bf760 
 edx: 00000002
Jul 14 04:30:38  kernel: esi: 00000000   edi: 0000c000   ebp: c5a2e1a8 
 esp: c7198ecc
Jul 14 04:30:38  kernel: ds: 007b   es: 007b   ss: 0068
Jul 14 04:30:38  kernel: Process python (pid: 16598, threadinfo=c7198000
task=c8cccbd0)
Jul 14 04:30:38  kernel: Stack: c01514ee c015ab59 0dfbb067 00080000
1ec5e000 c0411074 1ec5e000 1ecde000 
Jul 14 04:30:38  kernel:        d3a2e1f0 c0411074 c015ac29 00080000
00000000 1ec5e000 d3a2e1f0 1ecde000 
Jul 14 04:30:38  kernel:        c0411074 c015ac88 00080000 00000000
c7198f7c 1ec5e000 cd708b4c 1edac000 
Jul 14 04:30:38  kernel: Call Trace:
Jul 14 04:30:38  kernel:  [<c01514ee>] set_page_dirty+0x2c/0x41
Jul 14 04:30:38  kernel:  [<c015ab59>] zap_pte_range+0x191/0x21f
Jul 14 04:30:38  kernel:  [<c015ac29>] zap_pmd_range+0x42/0x65
Jul 14 04:30:38  kernel:  [<c015ac88>] unmap_page_range+0x3c/0x5f
Jul 14 04:30:38  kernel:  [<c015ad9c>] unmap_vmas+0xf1/0x1df
Jul 14 04:30:38  kernel:  [<c015f5d0>] unmap_region+0x61/0xc6
Jul 14 04:30:38  kernel:  [<c015f8a8>] do_munmap+0x144/0x1b1
Jul 14 04:30:38  kernel:  [<c015f966>] sys_munmap+0x51/0x68
Jul 14 04:30:38  kernel:  [<c031dfc3>] syscall_call+0x7/0xb
Jul 14 04:30:38  kernel: Code:  Bad EIP value.
Jul 14 04:30:38  kernel:  <0>Fatal exception: panic in 5 seconds
Jul 14 04:30:38  kernel: bad: scheduling while atomic!
Jul 14 04:30:38  kernel:  [<c031b251>] schedule+0x2d/0x606
Jul 14 04:30:38  kernel:  [<c031c921>] schedule_timeout+0x158/0x17c
Jul 14 04:30:38  kernel:  [<c012e839>] process_timeout+0x0/0x13
Jul 14 04:30:38  kernel:  [<c012491b>] printk+0xe/0x11
Jul 14 04:30:38  kernel:  [<c0106938>] die+0x21a/0x22b
Jul 14 04:30:38  kernel:  [<c011db6d>] do_page_fault+0x380/0x4dc
Jul 14 04:30:38  kernel:  [<c014fcf9>] buffered_rmqueue+0x1c4/0x1e7
Jul 14 04:30:38  kernel:  [<c014fdd0>] __alloc_pages+0xb4/0x2a6
Jul 14 04:30:38  kernel:  [<c011d7ed>] do_page_fault+0x0/0x4dc
Jul 14 04:30:38  kernel:  [<c031ea5b>] error_code+0x2f/0x38
Jul 14 04:30:38  kernel:  [<c01514ee>] set_page_dirty+0x2c/0x41
Jul 14 04:30:38  kernel:  [<c015ab59>] zap_pte_range+0x191/0x21f
Jul 14 04:30:38  kernel:  [<c015ac29>] zap_pmd_range+0x42/0x65
Jul 14 04:30:38  kernel:  [<c015ac88>] unmap_page_range+0x3c/0x5f
Jul 14 04:30:38  kernel:  [<c015ad9c>] unmap_vmas+0xf1/0x1df
Jul 14 04:30:38  kernel:  [<c015f5d0>] unmap_region+0x61/0xc6
Jul 14 04:30:38  kernel:  [<c015f8a8>] do_munmap+0x144/0x1b1
Jul 14 04:30:38  kernel:  [<c015f966>] sys_munmap+0x51/0x68
Jul 14 04:30:38  kernel:  [<c031dfc3>] syscall_call+0x7/0xb

What caused this problem? Run out of memory? Please tell me what I can do.

Regards

YiYuan

----------
components: Interpreter Core
messages: 69640
nosy: yiyuan
severity: normal
status: open
title: Python crashed
type: crash
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3351>
_______________________________________


More information about the New-bugs-announce mailing list