bugSwinput - Bugs: bug #21925, Crash when trying to write to...

 
 

bug #21925: Crash when trying to write to swinput devices

Submitted by:  None
Submitted on:  Tue 01 Jan 2008 08:41:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Henrik Sandklef <hesa>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 01 Feb 2008 08:19:32 PM UTC, comment #1:

Fixed in coming release.... try CVS head :)

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Tue 01 Jan 2008 08:41:04 PM UTC, original submission:

Using swinput 0.7 on an opensuse-10.3 32 bit system. I can built and load the kernel modules. However when I try to write something to wither swinput device the writing process is killed and I get the following backtrace in /var/log/messages

Jan 1 21:36:17 marvin kernel: WARNING: at lib/kref.c:33 kref_get()
Jan 1 21:36:17 marvin kernel: [<c01cd9b5>] kref_get+0x34/0x3f
Jan 1 21:36:17 marvin kernel: [<c01cce1b>] kobject_get+0xf/0x13
Jan 1 21:36:17 marvin kernel: [<c023ed42>] class_device_get+0xe/0x14
Jan 1 21:36:17 marvin kernel: [<c023ef69>] class_device_add+0xc/0x304
Jan 1 21:36:17 marvin kernel: [<c024cff4>] input_register_device+0xe4/0x184
Jan 1 21:36:17 marvin kernel: [<f94521c3>] init_module+0x111/0x157 [swmouse]
Jan 1 21:36:17 marvin kernel: [<c012eb4f>] blocking_notifier_call_chain+0x17/0x1a
Jan 1 21:36:17 marvin kernel: [<c0140f7f>] sys_init_module+0x172c/0x1802
Jan 1 21:36:17 marvin kernel: [<c016fbd2>] do_sync_read+0x0/0x10a
Jan 1 21:36:17 marvin kernel: [<c016fc99>] do_sync_read+0xc7/0x10a
Jan 1 21:36:17 marvin kernel: [<c019fa08>] remove_proc_entry+0x0/0x175
Jan 1 21:36:17 marvin kernel: [<c0104e22>] sysenter_past_esp+0x6b/0xa9
Jan 1 21:36:17 marvin kernel: [<c02c0000>] unix_bind+0x5e/0x28e
Jan 1 21:36:17 marvin kernel: =======================
Jan 1 21:36:17 marvin kernel: swmouse: module regsitred (0)
Jan 1 21:36:17 marvin kernel: swmouse: proc entry created
Jan 1 21:36:26 marvin kernel: copied sero data from user
Jan 1 21:36:26 marvin kernel: input_report_rel(4182065212l,1,-20)
Jan 1 21:36:26 marvin kernel: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
Jan 1 21:36:26 marvin kernel: printing eip:
Jan 1 21:36:26 marvin kernel: c024c438
Jan 1 21:36:26 marvin kernel: *pde = 00000000
Jan 1 21:36:26 marvin kernel: Oops: 0000 [#1]
Jan 1 21:36:26 marvin kernel: SMP
Jan 1 21:36:26 marvin kernel: last sysfs file: /devices/pci0000:00/0000:00:00.0/irq
Jan 1 21:36:26 marvin kernel: Modules linked in: swmouse pppoe pppox af_packet ppp_generic slhc xt_CONNMARK xt_MARK xt_NFQUEUE ipt_LOG ipt_REJECT ipt_MASQUERADE ipt_REDIRECT xt_connmark xt_helper xt_mac xt_mark xt_limit xt_length xt_tcpudp nfnetlink_queue ip_queue nf_nat_ftp nf_conntrack_ftp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nfnetlink iptable_mangle snd_pcm_oss snd_mixer_oss snd_seq_midi snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq iptable_filter ip_tables ip6_tables x_tables microcode apparmor nls_iso8859_1 nls_cp437 vfat fat reiserfs loop dm_mod bt878 tuner snd_emu10k1 snd_rawmidi snd_ac97_codec tvaudio ac97_bus snd_pcm msp3400 snd_seq_device nvidia(P) snd_timer bttv snd_page_alloc snd_util_mem snd_hwdep video_buf firmware_class ir_common snd compat_ioctl32 i2c_algo_bit btcx_risc e100 mii soundcore tveeprom videodev v4l2_common v4l1_compat emu10k1_gp gameport usb_storage iTCO_wdt shpchp iTCO_vendor_support parport_pc sr_mod ide_core int
Jan 1 21:36:26 marvin kernel: el_agp cdrom pci_hotplug rtc_cmos rtc_core button rtc_lib agpgart i2c_i801 i2c_core parport sg sd_mod ehci_hcd uhci_hcd usbcore edd ext3 mbcache jbd fan ata_piix libata scsi_mod thermal processor
Jan 1 21:36:26 marvin kernel: CPU: 0
Jan 1 21:36:26 marvin kernel: EIP: 0060:[<c024c438>] Tainted: P N VLI
Jan 1 21:36:26 marvin kernel: EFLAGS: 00010293 (2.6.22.13-0.3-default #1)
Jan 1 21:36:26 marvin kernel: EIP is at input_event+0x3cf/0x3e7
Jan 1 21:36:26 marvin kernel: eax: ffffffff ebx: f945472c ecx: 000000fa edx: c2010c74
Jan 1 21:36:26 marvin kernel: esi: ffffffec edi: 00000001 ebp: ffffffec esp: f4d73f3c
Jan 1 21:36:26 marvin kernel: ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Jan 1 21:36:26 marvin kernel: Process bash (pid: 4705, ti=f4d72000 task=dfb93030 task.ti=f4d72000)
Jan 1 21:36:26 marvin kernel: Stack: 00000001 f945472c 00000002 ffffffec 00000001 00000005 00000005 f94523a9

Jan 1 21:36:26 marvin kernel: ffffffec f945403c 00000001 ffffffec 00000014 f6c420c0 f9452209 b7eee000
Jan 1 21:36:26 marvin kernel: c017036e f4d73fa0 dfbfccc0 f6c420c0 fffffff7 b7eee000 f4d72000 c01708e3
Jan 1 21:36:26 marvin kernel: Call Trace:
Jan 1 21:36:26 marvin kernel: [<f94523a9>] swmouse_write+0x1a0/0x25f [swmouse]
Jan 1 21:36:26 marvin kernel: [<f9452209>] swmouse_write+0x0/0x25f [swmouse]
Jan 1 21:36:26 marvin kernel: [<c017036e>] vfs_write+0xa8/0x130
Jan 1 21:36:26 marvin kernel: [<c01708e3>] sys_write+0x41/0x67
Jan 1 21:36:26 marvin kernel: [<c0104e22>] sysenter_past_esp+0x6b/0xa9
Jan 1 21:36:26 marvin kernel: =======================
Jan 1 21:36:26 marvin kernel: Code: 06 00 00 89 5c 24 04 83 ee 14 eb 1f 83 7e 04 00 74 13 8b 46 10 89 f9 8b 54 24 08 8b 58 04 89 f0 89 2c 24 ff d3 8b 76 14 83 ee 14 <8b> 46 14 0f 18 00 90 8d 46 14 3b 44 24 04 75 d1 83 c4 0c 5b 5e
Jan 1 21:36:26 marvin kernel: EIP: [<c024c438>] input_event+0x3cf/0x3e7 SS:ESP 0068:f4d73f3c

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hesa (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Feb 2008 08:19:32 PM UTChesaStatusNone=>Fixed
      Assigned toNone=>hesa
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1