[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#735202: speakup freezes system when trying to paste



On Sat, 2014-03-01 at 17:23 +0100, Jarek Czekalski wrote:
> I have Debian unstable with kernel 3.12.8-1 and cannot reproduce the 
> issue. What should I change in my system to make it reproduce? Here are 
> my steps:
> 
> 1. boot debian into console prompt
> 2. login as root
> 3. modprobe speakup_soft
> 4. service espeakup start
> 5. type "test"
> 6. mark "tes" using speakup hot keys
> 7. paste "tes" using Ins-/
> 7. execute "cat"
> 8. paste "tes" using Ins-/

Thanks for the hints.

> All works, nothing hangs. The only strange thing is that inside "cat" it 
> does not show the text until I press enter.
> 
> Does the issue reproduce with any speakup synthesizer? Including dummy, 
> none and soft?

I can't reproduce the hang, but when I do the above the kernel does
report 'scheduling while atomic' (full log below) and that means there
is the potential for a hang.

I'm working on a patch for this.

Ben.

[  553.085884] BUG: scheduling while atomic: swapper/0/0/0x10010000
[  553.087285] Modules linked in: speakup_soft(C) speakup(C) ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables parport_pc ppdev lp bnep parport rfcomm bluetooth snd_hrtimer cpufreq_powersave cpu
freq_conservative cpufreq_stats cpufreq_userspace binfmt_misc nfsv3 nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc fuse nls_utf8 nls_cp437 vfat fat loop x86_pkg_temp_thermal intel_powerclamp joydev snd_hda_code
c_hdmi coretemp kvm_intel snd_hda_codec_realtek kvm snd_hda_intel snd_hda_codec snd_hwdep i915 iTCO_wdt iTCO_vendor_support crct10dif_pclmul crc32_pclmul lpc_ich crc32c_intel snd_pcm mfd_core ghash_clmulni_intel drm_kms_helper
 drm efi_pstore i2c_algo_bit i2c_i801 i2c_core efivars eeepc_wmi aesni_intel asus_wmi aes_x86_64 snd_page_alloc pcspkr psmouse snd_seq snd_seq_device snd_timer snd mei_me lrw sparse_keymap mei rfkill soundcore gf128mul process
or glue_helper video serio_raw evdev ablk_helper wmi button cryptd ext4 crc16 mbcache jbd2 dm_mod sr_mod cdrom hid_generic hid_lenovo_tpkbd usbhid hid usb_storage sg sd_mod crc_t10dif crct10dif_common aic7xxx scsi_transport_sp
i ahci libahci ehci_pci ehci_hcd xhci_hcd libata scsi_mod fan usbcore usb_common thermal thermal_sys r8169 mii
[  553.087367] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C   3.12-0.bpo.1-amd64 #1 Debian 3.12.9-1~bpo70+1
[  553.087369] Hardware name: System manufacturer System Product Name/P8Z68-V LX, BIOS 4003 08/22/2012
[  553.087371]  0000000000000000 ffffffff81813480 ffffffff814be0b3 ffff88021f214300
[  553.087375]  ffffffff814baf3b 0000000000000000 ffffffff814c1c78 ffff88021f203a96
[  553.087378]  0000000000000000 ffffffff81801fd8 ffffffff81801fd8 ffffffff81801fd8
[  553.087381] Call Trace:
[  553.087383]  <IRQ>  [<ffffffff814be0b3>] ? dump_stack+0x41/0x51
[  553.087392]  [<ffffffff814baf3b>] ? __schedule_bug+0x45/0x55
[  553.087396]  [<ffffffff814c1c78>] ? __schedule+0x768/0x780
[  553.087401]  [<ffffffff8108ef5d>] ? __cond_resched+0x1d/0x30
[  553.087404]  [<ffffffff814c1d10>] ? _cond_resched+0x30/0x40
[  553.087407]  [<ffffffff814c1169>] ? down_read+0x9/0x19
[  553.087411]  [<ffffffff813347b8>] ? n_tty_receive_buf+0x28/0xa0
[  553.087417]  [<ffffffffa076f09e>] ? speakup_paste_selection+0x13e/0x160 [speakup]
[  553.087421]  [<ffffffff810913b0>] ? try_to_wake_up+0x280/0x280
[  553.087425]  [<ffffffffa076c5b0>] ? speakup_win_set+0x230/0x230 [speakup]
[  553.087429]  [<ffffffffa076ba1d>] ? keyboard_notifier_call+0x2ed/0xc50 [speakup]
[  553.087432]  [<ffffffff811981e5>] ? pollwake+0x65/0x70
[  553.087436]  [<ffffffff814c7895>] ? notifier_call_chain+0x45/0x60
[  553.087440]  [<ffffffff814c78e5>] ? atomic_notifier_call_chain+0x15/0x20
[  553.087444]  [<ffffffff8133fa37>] ? kbd_event+0x2b7/0x710
[  553.087448]  [<ffffffff8138a7a3>] ? input_to_handler+0xd3/0xe0
[  553.087453]  [<ffffffff8138c880>] ? input_pass_values+0x150/0x160
[  553.087457]  [<ffffffff8138d190>] ? input_handle_event+0x140/0x540
[  553.087460]  [<ffffffff8138d6c2>] ? input_event+0x72/0x90
[  553.087470]  [<ffffffffa0098318>] ? scsi_run_queue+0xc8/0x260 [scsi_mod]
[  553.087473]  [<ffffffff81392c9a>] ? atkbd_interrupt+0x5fa/0x6b0
[  553.087478]  [<ffffffff8101c195>] ? sched_clock+0x5/0x10
[  553.087481]  [<ffffffff81387edd>] ? serio_interrupt+0x4d/0xa0
[  553.087484]  [<ffffffff81388e4c>] ? i8042_interrupt+0x18c/0x3a0
[  553.087488]  [<ffffffff810b648b>] ? do_timer+0x1eb/0x620
[  553.087492]  [<ffffffff8106521d>] ? __do_softirq+0x14d/0x280
[  553.087496]  [<ffffffff810ad294>] ? handle_irq_event_percpu+0x54/0x210
[  553.087500]  [<ffffffff810ad491>] ? handle_irq_event+0x41/0x70
[  553.087503]  [<ffffffff810aff65>] ? handle_edge_irq+0x75/0x110
[  553.087507]  [<ffffffff81016648>] ? handle_irq+0x18/0x30
[  553.087510]  [<ffffffff81016163>] ? do_IRQ+0x53/0xd0
[  553.087514]  [<ffffffff814c3d2d>] ? common_interrupt+0x6d/0x6d
[  553.087515]  <EOI>  [<ffffffff813a012b>] ? cpuidle_enter_state+0x5b/0xf0
[  553.087522]  [<ffffffff813a0124>] ? cpuidle_enter_state+0x54/0xf0
[  553.087526]  [<ffffffff813a028b>] ? cpuidle_idle_call+0xcb/0x240
[  553.087529]  [<ffffffff8101d759>] ? arch_cpu_idle+0x9/0x30
[  553.087532]  [<ffffffff810ac55b>] ? cpu_startup_entry+0xdb/0x2b0
[  553.087537]  [<ffffffff818c0ed0>] ? start_kernel+0x42a/0x435
[  553.087540]  [<ffffffff818c08bf>] ? repair_env_string+0x58/0x58
[  553.087544]  [<ffffffff818c0120>] ? early_idt_handlers+0x120/0x120
[  553.087548]  [<ffffffff818c06d9>] ? x86_64_start_kernel+0x10e/0x11d

-- 
Ben Hutchings
When you say `I wrote a program that crashed Windows', people just stare ...
and say `Hey, I got those with the system, *for free*'. - Linus Torvalds

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: