Some library used by skype can freeze system

Bug #68109 reported by Stanislaw Pitucha
10
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

I've started getting strange freezes after updating to edgy every time someone calls me, or messages me for the first time.
Whole system freezes - I can't move mouse cursor, sound from rhythmbox stops playing, wifi loses all network connections and forgets about AP etc.
This lasts 10-20 secs and everything goes back to normal.
No logs in messages, syslog, etc.

Kernel says
"rt2500MlmeEnqueue full, msg dropped and may corrupt MLME"
and
"BUG: soft lockup detected on CPU#0!"
around the time it happens and it usually doesn't happen, when I use internet connection much (never happens, if I send the first message to someone, only on first message I receive), so it's hard to replicate that one.

It seems either connected with sound or rt2500 wifi card, but I can't verify that.

It happend with skype 1.3.0.31 and latest one 1.3.0.53

Revision history for this message
devnull (sscott-westnet) wrote :

Ive had this happen quite a few times too (normally when making a call) but didnt know/wait long enough to see it come back.

System locks solid, including mouse cursor, like you say. Next time Ill wait.

Revision history for this message
devnull (sscott-westnet) wrote :

just happened again, this time I waited and the system recovered - dunno if this is relevant, but this is what the kernel logged:

Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c01491cf> softlockup_tick+0x9f/0xf0 <c012bee1> update_process_times+0x31/0x80
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c0139320> hrtimer_get_res+0x0/0x60 <c0114d13> smp_apic_timer_interrupt+0x53/0x60
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c010413c> apic_timer_interrupt+0x1c/0x30 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c010ec9a> get_offset_pmtmr+0x8a/0xb0 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c0106959> do_gettimeofday+0x19/0xc0 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c0126f3d> getnstimeofday+0xd/0x30 <c0135697> sys_clock_gettime+0x77/0x90
Nov 5 11:11:40 desktop1 kernel: [17272377.204000] <c0102fbb> sysenter_past_esp+0x54/0x79
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c01491cf> softlockup_tick+0x9f/0xf0 <c012bee1> update_process_times+0x31/0x80
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c0139320> hrtimer_get_res+0x0/0x60 <c0114d13> smp_apic_timer_interrupt+0x53/0x60
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c010413c> apic_timer_interrupt+0x1c/0x30 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c010ec9a> get_offset_pmtmr+0x8a/0xb0 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c0106959> do_gettimeofday+0x19/0xc0 <c0139320> hrtimer_get_res+0x0/0x60
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c0126f3d> getnstimeofday+0xd/0x30 <c0135697> sys_clock_gettime+0x77/0x90
Nov 5 11:11:40 desktop1 kernel: [17272399.636000] <c0102fbb> sysenter_past_esp+0x54/0x79

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :
Download full text (3.5 KiB)

I get the same lock-up. It happens more or less randomly when I get called or when I call someone. (Sometimes it just works, though.)

When it happens, everything freezes: music player stops (though I'm not sure if immediately), mouse stops moving, numlock and capslock are frozen.

If I press ctrl+alt+backspace X _does_ restart. I can log-in normally and usually (I think) Skype works the second attempt. (Last time I got a crash report for Skype after restarting X, but for some reason I couldn't get it to send itself). I think ctrl+alt+del can restart the whole system. I'm not sure, but I think once I managed to get to a console while X was frozen. I'll try again it next time it freezes.

Sometime the machine unfreezes itself after a while, with no message of any kind. Skype works after that normally (as far as I can tell).

Don't hesitate to ask if there is anything I can check.

Last time it happened I used ctrl+alt+backspace to restart X and log in. (Skype worked afterwards.) I'm not sure if the messages are from restarting X or from the freeze:

This is the tail of /var/log/messages for the last time it froze:
*********************
Nov 20 14:18:28 localhost -- MARK --
Nov 20 14:31:35 localhost kernel: [17237208.796000] <c0121752> update_process_times+0x22/0x60 <c0106a26> timer_interrupt+0x46/0x90
Nov 20 14:31:35 localhost kernel: [17237208.796000] <c0139ae3> handle_IRQ_event+0x33/0x60 <c0139b80> __do_IRQ+0x70/0xc0
Nov 20 14:31:35 localhost kernel: [17237208.796000] <c01056f9> do_IRQ+0x19/0x30 <c0103e8a> common_interrupt+0x1a/0x20
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c0121752> update_process_times+0x22/0x60 <c0106a26> timer_interrupt+0x46/0x90
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c0139ae3> handle_IRQ_event+0x33/0x60 <c0139b80> __do_IRQ+0x70/0xc0
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c01056f9> do_IRQ+0x19/0x30 <c0103e8a> common_interrupt+0x1a/0x20
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c010c90a> get_offset_pmtmr+0x8a/0xb0 <c0106394> do_gettimeofday+0x14/0xb0
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c011d28d> getnstimeofday+0xd/0x30 <c012a017> sys_clock_gettime+0x77/0x90
Nov 20 14:31:35 localhost kernel: [17237228.036000] <c0102dbb> sysenter_past_esp+0x54/0x79
Nov 20 14:32:06 localhost gconfd (bogdanb-4840): Resolved address "xml:readwrite:/home/bogdanb/.gconf" to a writable configuration source at position 0
***************************************

This is the tail of `dmesg` for the same time period:
**************************************************
[17237208.796000] BUG: soft lockup detected on CPU#0!
[17237208.796000] <c0121752> update_process_times+0x22/0x60 <c0106a26> timer_interrupt+0x46/0x90
[17237208.796000] <c0139ae3> handle_IRQ_event+0x33/0x60 <c0139b80> __do_IRQ+0x70/0xc0
[17237208.796000] <c01056f9> do_IRQ+0x19/0x30 <c0103e8a> common_interrupt+0x1a/0x20
[17237228.036000] BUG: soft lockup detected on CPU#0!
[17237228.036000] <c0121752> update_process_times+0x22/0x60 <c0106a26> timer_interrupt+0x46/0x90
[17237228.036000] <c0139ae3> handle_IRQ_event+0x33/0x60 <c0139b80> __do_IRQ+0x70/0xc0
[17237228.036000] <c01056f9> do_IRQ+0x19/0x...

Read more...

Revision history for this message
Stanislaw Pitucha (viraptor-gmail) wrote :

Same as first post - still happens.
Please make this bug developer-confirmed - more people hit:
http://forum.skype.com/index.php?showtopic=64990

Running from original package:
Linux hedgehog 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux

Network - rt2500

Adding my kernel log:
[17551861.240000] <c01491cf> softlockup_tick+0x9f/0xf0 <c012bee1> update_process_times+0x31/0x80
[17551861.240000] <c0114d13> smp_apic_timer_interrupt+0x53/0x60 <c010413c> apic_timer_interrupt+0x1c/0x30
[17551861.240000] <c015af80> find_vma+0x50/0x70 <c015b58d> find_extend_vma+0x1d/0x70
[17551861.240000] <c0139645> get_futex_key+0x45/0x110 <c0139b06> futex_wake+0x36/0xd0
[17551861.240000] <c013a286> do_futex+0x5a6/0x9d0 <dec675e7> drm_vbl_send_signals+0x27/0xc0 [drm]
[17551861.240000] <dec53dea> i915_driver_irq_handler+0xaa/0x110 [i915] <c0139320> hrtimer_get_res+0x0/0x60
[17551861.240000] <c013a738> sys_futex+0x88/0x100 <c0135668> sys_clock_gettime+0x48/0x90
[17551861.240000] <c0102fbb> sysenter_past_esp+0x54/0x79
[17551905.332000] <c01491cf> softlockup_tick+0x9f/0xf0 <c012bee1> update_process_times+0x31/0x80
[17551905.332000] <c0114d13> smp_apic_timer_interrupt+0x53/0x60 <c010413c> apic_timer_interrupt+0x1c/0x30

Still looks like no dev. has seen the bug / wanted to make it confirmed at least - please look into it.

Revision history for this message
Stanislaw Pitucha (viraptor-gmail) wrote :

Sorry - now I've found it, but in 2.6.15
https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/53216
Can anyone do a merge under general kernel source, or any other proper place? Still happens in 2.6.17

Revision history for this message
Mariano Mara (marplatense) wrote :

I suggest marking this as duplicate of #53216 and join forces over there to fix this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.