Kodi Community Forum

Full Version: xbmc svn crashes when I'm booting with a gamepad connected
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I've recently bought a Microsoft Xbox 360 USB receiver so I can use one of my Xbox Controllers as a gamepad when I'm booting Windows to play games.

Archlinux is set up as a HTPC that uses xbmc-standalone. Oddly enough when I boot Arch with the gamepad connected, X gets stuck in a reboot loop because xbmc keeps crashing over and over again.
As soon as I disconnect the gamepad and reboot everything is fine again.

Any ideas why this could happen? Should I report this to the arch developers
or is this indeed an xbmc related issue?

2.6.34-ARCH and XBMC svn r31795 (both very recent versions)

Code:
Jul 13 00:01:57 archlinux kernel: PGD 230af8067 PUD 224fe2067 PMD 0
Jul 13 00:01:57 archlinux kernel: CPU 1
Jul 13 00:01:57 archlinux kernel: Modules linked in: ipv6 usbhid hid joydev xpad led_class ff_memless ftdi_sio ext2 usbserial dm_mod raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx md_mod snd_seq_dummy snd_seq_oss snd_seq_midi_event fglrx(P) snd_seq cpufreq_ondemand snd_hda_codec_atihdmi snd_seq_device acpi_cpufreq freq_table radeon snd_pcm_oss evdev snd_hda_intel ttm snd_mixer_oss asus_atk0110 snd_hda_codec drm_kms_helper psmouse ehci_hcd wmi r8169 iTCO_wdt serio_raw i2c_i801 usbcore pcspkr thermal iTCO_vendor_support button mii snd_hwdep drm snd_pcm i2c_algo_bit sg snd_timer i2c_core snd soundcore snd_page_alloc processor rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod ahci mptsas mptscsih mptbase scsi_transport_sas libata scsi_mod
Jul 13 00:01:57 archlinux kernel:
Jul 13 00:01:57 archlinux kernel: Pid: 2444, comm: xbmc.bin Tainted: P           2.6.34-ARCH #1 P7P55D-E PREMIUM/System Product Name
Jul 13 00:01:57 archlinux kernel: RIP: 0010:[<ffffffffa06ff27d>]  [<ffffffffa06ff27d>] xpad_open+0x2d/0x50 [xpad]
Jul 13 00:01:57 archlinux kernel: RSP: 0018:ffff880224fb1b78  EFLAGS: 00010292
Jul 13 00:01:57 archlinux kernel: RAX: 0000000000001000 RBX: ffff880234992000 RCX: 0000000000001000
Jul 13 00:01:57 archlinux kernel: RDX: ffff8802368d3a00 RSI: 00000000000000d0 RDI: ffff880234992838
Jul 13 00:01:57 archlinux kernel: RBP: ffff880224fb1b78 R08: 2222222222222222 R09: 2222222222222222
Jul 13 00:01:57 archlinux kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff88023501d010
Jul 13 00:01:57 archlinux kernel: R13: ffff880234992800 R14: ffff880232958800 R15: ffff88023501d0c0
Jul 13 00:01:57 archlinux kernel: FS:  00007ffd8be48820(0000) GS:ffff880001820000(0000) knlGS:0000000000000000
Jul 13 00:01:57 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 13 00:01:57 archlinux kernel: CR2: 0000000000001048 CR3: 00000002238ee000 CR4: 00000000000006e0
Jul 13 00:01:57 archlinux kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jul 13 00:01:57 archlinux kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jul 13 00:01:57 archlinux kernel: Process xbmc.bin (pid: 2444, threadinfo ffff880224fb0000, task ffff880236b69560)
Jul 13 00:01:57 archlinux kernel: ffff880224fb1bb8 ffffffff8128fdba ffff880232958800 ffff88023501d0c0
Jul 13 00:01:57 archlinux kernel: <0> ffff880224fb1bb8 ffff880232a6a3d0 ffff8802309ba300 ffff88023501d000
Jul 13 00:01:57 archlinux kernel: <0> ffff880224fb1c18 ffffffffa00683f0 ffff880224fb1c68 ffffffff00000000
Jul 13 00:01:57 archlinux kernel: [<ffffffff8128fdba>] input_open_device+0x8a/0xc0
Jul 13 00:01:57 archlinux kernel: [<ffffffffa00683f0>] evdev_open+0x190/0x2b0 [evdev]
Jul 13 00:01:57 archlinux kernel: [<ffffffff8128e776>] input_open_file+0x136/0x340
Jul 13 00:01:57 archlinux kernel: [<ffffffff81125d97>] chrdev_open+0x137/0x290
Jul 13 00:01:57 archlinux kernel: [<ffffffff81125c60>] ? chrdev_open+0x0/0x290
Jul 13 00:01:57 archlinux kernel: [<ffffffff8111fe25>] __dentry_open+0x125/0x3d0
Jul 13 00:01:57 archlinux kernel: [<ffffffff8119ed8a>] ? security_inode_permission+0x1a/0x20
Jul 13 00:01:57 archlinux kernel: [<ffffffff811214d4>] nameidata_to_filp+0x54/0x70
Jul 13 00:01:57 archlinux kernel: [<ffffffff8112f440>] do_last+0x480/0x730
Jul 13 00:01:57 archlinux kernel: [<ffffffff8112f8dd>] do_filp_open+0x1ed/0x6b0
Jul 13 00:01:57 archlinux kernel: [<ffffffff8112d97e>] ? putname+0x2e/0x40
Jul 13 00:01:57 archlinux kernel: [<ffffffff8112ee0d>] ? user_path_at+0x5d/0xa0
Jul 13 00:01:57 archlinux kernel: [<ffffffff8113ad44>] ? alloc_fd+0xf4/0x150
Jul 13 00:01:57 archlinux kernel: [<ffffffff81121554>] do_sys_open+0x64/0x130
Jul 13 00:01:57 archlinux kernel: [<ffffffff8112163b>] sys_open+0x1b/0x20
Jul 13 00:01:57 archlinux kernel: [<ffffffff81009ec2>] system_call_fastpath+0x16/0x1b
Jul 13 00:01:57 archlinux kernel: RSP <ffff880224fb1b78>
Jul 13 00:01:57 archlinux kernel: ---[ end trace 20d5d70a19c71b18 ]---
Jul 13 00:01:57 archlinux kernel: [fglrx] IRQ 39 Disabled