The default bug view has changed. See this FAQ.

Firefox hangs in __lll_lock_wait / mozalloc_abort

UNCONFIRMED
Unassigned

Status

()

Core
Graphics
--
critical
UNCONFIRMED
3 years ago
9 months ago

People

(Reporter: Vincent Lefevre, Unassigned)

Tracking

({hang})

30 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140605174243

Steps to reproduce:

Open a new page.


Actual results:

Firefox suddenly hanged. It's window couldn't even be refreshed.


Expected results:

It shouldn't hang.

Here's the backtrace:

(gdb) bt
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f1e027d74da in _L_lock_913 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f1e027d7300 in __GI___pthread_mutex_lock (mutex=0x7f1e000a64c0)
    at ../nptl/pthread_mutex_lock.c:79
#3  0x00007f1dfdc99ee7 in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#4  0x00007f1dfdc7f7f8 in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#5  <signal handler called>
#6  0x00007f1dfdc9b629 in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#7  0x00007f1dfdc9c41b in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#8  0x00007f1dfdc9c9a0 in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#9  0x00007f1dfdc9cf9c in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#10 0x00007f1dfdc9e3ff in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#11 0x00007f1dfdc9e48d in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#12 0x00007f1dfdc9a11f in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#13 0x00007f1dfdc9a144 in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#14 0x00007f1dfdc99c3d in ?? ()
   from /home/vinc17/software/firefox-30.0/firefox/libxul.so
#15 0x0000000000000000 in ?? ()

It seem to be the same problem as:
  https://crash-stats.mozilla.com/report/index/970833e7-1c4f-4a7a-8363-439fb2140621
(Reporter)

Updated

3 years ago
Severity: normal → major
(Reporter)

Updated

3 years ago
Summary: hangs in __lll_lock_wait → Firefox hangs in __lll_lock_wait
(Reporter)

Comment 1

3 years ago
Created attachment 8476237 [details]
backtrace during a hang of Firefox 31.0
(Reporter)

Comment 2

3 years ago
This seems to be related to mozalloc_abort since a full backtrace (as the one I've just attached) shows mozalloc_abort in Thread 1.
Severity: major → critical
Summary: Firefox hangs in __lll_lock_wait → Firefox hangs in __lll_lock_wait / mozalloc_abort
(Reporter)

Comment 3

2 years ago
Occurred again with: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
I'm also getting this Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Suspecting OMTC. Firefox 30-ies have been super stable.

Program received signal SIGINT, Interrupt.
0x00007ffff7bcfc7c in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff7bcfc7c in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ffff7bcb273 in pthread_mutex_lock () from /lib64/libpthread.so.0
#2  0x00007ffff67e8dd9 in PR_Lock () from /opt/firefox/libnspr4.so
#3  0x00007ffff1b4ee88 in ?? () from /opt/firefox/libxul.so
#4  0x00007ffff1b4ef40 in ?? () from /opt/firefox/libxul.so
#5  0x00007ffff1c0ff18 in ?? () from /opt/firefox/libxul.so
#6  0x00007ffff1c1dcbb in ?? () from /opt/firefox/libxul.so
#7  0x00007ffff1c1dd3e in ?? () from /opt/firefox/libxul.so
#8  0x00007ffff1b38f21 in ?? () from /opt/firefox/libxul.so
#9  0x00007ffff1b3f5c7 in ?? () from /opt/firefox/libxul.so
#10 0x00007ffff1b429db in ?? () from /opt/firefox/libxul.so
#11 0x00007ffff1f65ff8 in ?? () from /opt/firefox/libxul.so
#12 0x00007ffff2ece199 in ?? () from /opt/firefox/libxul.so
#13 0x00007ffff2eced46 in ?? () from /opt/firefox/libxul.so
#14 0x00007ffff2ed49d0 in ?? () from /opt/firefox/libxul.so
#15 0x00007ffff2ed5c2c in ?? () from /opt/firefox/libxul.so
#16 0x00007ffff1aebeb0 in NS_InvokeByIndex () from /opt/firefox/libxul.so
#17 0x00007ffff17d65f1 in ?? () from /opt/firefox/libxul.so
#18 0x00007ffff17d91d4 in ?? () from /opt/firefox/libxul.so
#19 0x00007ffff1995e92 in ?? () from /opt/firefox/libxul.so
#20 0x00007ffff1986651 in ?? () from /opt/firefox/libxul.so
#21 0x00007ffff1995858 in ?? () from /opt/firefox/libxul.so
#22 0x00007ffff1995db9 in ?? () from /opt/firefox/libxul.so
#23 0x00007ffff1986651 in ?? () from /opt/firefox/libxul.so
#24 0x00007ffff1995858 in ?? () from /opt/firefox/libxul.so
#25 0x00007ffff1995db9 in ?? () from /opt/firefox/libxul.so
#26 0x00007ffff1a3b35b in ?? () from /opt/firefox/libxul.so
#27 0x00007ffff1995e92 in ?? () from /opt/firefox/libxul.so
#28 0x00007ffff1986651 in ?? () from /opt/firefox/libxul.so
#29 0x00007ffff1995858 in ?? () from /opt/firefox/libxul.so
#30 0x00007ffff1995db9 in ?? () from /opt/firefox/libxul.so
#31 0x00007ffff1986651 in ?? () from /opt/firefox/libxul.so
#32 0x00007ffff1995858 in ?? () from /opt/firefox/libxul.so
#33 0x00007ffff1995db9 in ?? () from /opt/firefox/libxul.so
#34 0x00007ffff1a3b35b in ?? () from /opt/firefox/libxul.so
#35 0x00007ffff1995e92 in ?? () from /opt/firefox/libxul.so
#36 0x00007ffff19965e4 in ?? () from /opt/firefox/libxul.so
#37 0x00007ffff1a62ed9 in js::DirectProxyHandler::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const () from /opt/firefox/libxul.so
#38 0x00007ffff1a68d3f in js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const () from /opt/firefox/libxul.so
#39 0x00007ffff1a699bf in ?? () from /opt/firefox/libxul.so
#40 0x00007ffff1a69afa in js::proxy_Call(JSContext*, unsigned int, JS::Value*) () from /opt/firefox/libxul.so
#41 0x00007ffff1995e78 in ?? () from /opt/firefox/libxul.so
#42 0x00007ffff19965e4 in ?? () from /opt/firefox/libxul.so
#43 0x00007ffff19fc574 in ?? () from /opt/firefox/libxul.so
#44 0x00007ffff7fe6630 in ?? ()
#45 0xfffaffffd7acf080 in ?? ()
#46 0x00007fffffffaad8 in ?? ()
#47 0x00007ffff6a895a0 in ?? ()
#48 0xfff9000000000000 in ?? ()
#49 0x00007ffff57892a0 in ?? () from /opt/firefox/libxul.so
#50 0x00007fffd7a51a30 in ?? ()
#51 0x00007fffd7b1b164 in ?? ()
#52 0x0000000000000502 in ?? ()
#53 0x00007fffffffab98 in ?? ()
#54 0x00007fffa8b8c458 in ?? ()
#55 0x0000000000000002 in ?? ()
#56 0x00007fffffffab20 in ?? ()
#57 0xfffc7fffb2c38600 in ?? ()
Component: General → Graphics
Keywords: hang

Comment 5

10 months ago
Created attachment 8762622 [details]
Full backtrace and register dump with Firefox 47 and debugging symbols

Since upgrading my PC to a Skylake-based system with 32 GB of RAM I'm seeing this issue as well. And it happens annoyingly often. Sometimes all I need to do is go to a different virtual desktop and going back.

I'm using version 47.0 of the 64-bit Debian packages of Firefox, my Desktop is KDE 5. Everything is fully update, Debian testing is the base distribution.

I've attached a full backtrace as one can obtain while the browser hangs. The backtrace was made with debugging symbols installed and should show you where the issue is coming from.

I noticed, that if I have a YouTube video running in the background, the video keeps playing despite the hanging UI. At least the audio didn't start stuttering because the buffer ran out before I killed Firefox after a couple of minutes.

Let me know, if you need something else.

Comment 6

9 months ago
I've found a way to trigger this with almost 100 % reliability:
1. Open a web site
2. Open the web developer tools
3. Go to the network tab
4. Give focus to another field for a couple of seconds
5. Firefox is stuck.

This is really problematic since it makes Firefox for development purposes almost unusable.
You need to log in before you can comment on or make changes to this bug.