All of lore.kernel.org
 help / color / mirror / Atom feed
* [oops] lib/vsprintf.c
@ 2004-11-02  6:19 Paweł Sikora
  2004-11-02  6:27 ` Nick Piggin
  2004-11-02  7:03 ` Jan Engelhardt
  0 siblings, 2 replies; 10+ messages in thread
From: Paweł Sikora @ 2004-11-02  6:19 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Hi,

vsprintf.c-      case 's':
vsprintf.c-                    s = va_arg(args, char *);
vsprintf.c-                    if ((unsigned long)s < PAGE_SIZE)
vsprintf.c-                           s = "<NULL>";
vsprintf.c-
vsprintf.c:      OOPS!  =>     len = strnlen(s, precision);

-- 
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)

[-- Attachment #2: oops-dump.txt --]
[-- Type: text/plain, Size: 1852 bytes --]

Unable to handle kernel paging request at virtual address 66666666
 printing eip:
c01b6f3e
*pde = 00131313
*pte = 0c55b70f
Oops: 0000 [#1]
Modules linked in: oops videodev agpgart nvidia ipt_unclean ipt_state
ipt_REJECT iptable_nat ip_conntrack iptable_mangle iptable_filter
ip_tables vmmon snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss
snd_mixer_oss snd_ens1371 snd_rawmidi snd_seq_device snd_ac97_codec
snd_pcm snd_page_alloc gameport snd_rtctimer snd_timer snd soundcore
usbhid uhci_hcd usbcore via_rhine mii crc32 capability commoncap
processor via686a w83781d i2c_sensor i2c_isa i2c_core msr cpuid
ide_disk ext3 mbcache jbd via82cxxx ide_core
CPU:    0
EIP:    0060:[<c01b6f3e>]    Tainted: P      VLI
EFLAGS: 00010097   (2.6.10) 
EIP is at vsnprintf+0x30e/0x4f0
eax: 66666666   ebx: 0000000a   ecx: 66666666   edx: fffffffe
esi: c03bfde3   edi: 00000000   ebp: c46d3f38   esp: c46d3efc
ds: 007b   es: 007b   ss: 0068
Process insmod (pid: 26344, threadinfo=c46d2000 task=c33f2140)
Stack: c46d3f0c c014fa0a c4245da0 00000001 c46d3f9c c0134526 d0a51000 0000000f 
       ffffffff ffffffff ffffffff c03c01df 00000400 00000246 c02d9660 c46d3f54 
       c01b7147 c03bfde0 00000400 d0a53038 c46d3f98 c03bfde0 c46d3f78 c011dda2 
Call Trace:
 [<c0106d0f>] show_stack+0x7f/0xa0
 [<c0106ea6>] show_registers+0x156/0x1d0
 [<c01070a8>] die+0xc8/0x150
 [<c0118410>] do_page_fault+0x440/0x707
 [<c01069a1>] error_code+0x2d/0x38
 [<c01b7147>] vscnprintf+0x27/0x40
 [<c011dda2>] vprintk+0x42/0x140
 [<c011dd58>] printk+0x18/0x20
 [<d0a5301c>] km_init_module+0x1c/0x20 [oops]
 [<c0134724>] sys_init_module+0x134/0x1c0
 [<c0105ecd>] sysenter_past_esp+0x52/0x71
Code: fd ff ff 83 cf 40 bb 10 00 00 00 eb 88 8b 45 14 8b
55 e8 83 45 14 04 8b 08 b8 6c 45 2b c0 81 f9 ff 0f 00 00
0f 46 c8 89 c8 eb 06 <80> 38 00 74 07 40 4a 83 fa ff 75
f4 29 c8 83 e7 10 89 c3 0f 85

[-- Attachment #3: oops.c --]
[-- Type: text/x-csrc, Size: 368 bytes --]

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>

MODULE_DESCRIPTION("buggy kernel module");
MODULE_LICENSE("GPL");

static int km_init_module(void)
{
    printk(KERN_DEBUG "%s init\n", 1.4);
    return 0;
}

static void km_exit_module(void)
{
    printk(KERN_DEBUG "km exit\n");
}

module_init(km_init_module);
module_exit(km_exit_module);

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-11-02 19:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02  6:19 [oops] lib/vsprintf.c Paweł Sikora
2004-11-02  6:27 ` Nick Piggin
2004-11-02  7:35   ` Pawel Sikora
2004-11-02  9:08     ` Bernd Petrovitsch
2004-11-02  7:03 ` Jan Engelhardt
2004-11-02 18:34   ` Paweł Sikora
2004-11-02 18:38     ` Jan Engelhardt
2004-11-02 19:06       ` Randy.Dunlap
2004-11-02 18:46     ` Bernd Petrovitsch
2004-11-02 18:59       ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.