question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 1.2.0
  • Platform / OS version: ubuntu 16.04 (docker)
  • URLs (if applicable):
  • Node.js version: 8.9.4 chromium version: google-chrome-stable : 65.0.3325.162

What steps will reproduce the problem?

I have the following code.

const options = { args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu', '--disable-dev-shm-usage'] };

await puppeteer.launch(options);
Fri Mar 16 2018 08:27:05 GMT+0000 (UTC) - error: [3]  Error: Failed to launch chrome!
[0316/082705.295375:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
    at onClose (/kakao/service/htmltojpg/node_modules/puppeteer/lib/Launcher.js:246:14)
    at ChildProcess.helper.addEventListener (/kakao/service/htmltojpg/node_modules/puppeteer/lib/Launcher.js:236:60)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
W0316 17:26:20.877745 24163 logging.cpp:91] RAW: Received signal SIGTERM from process 2242 of user 0; exiting

What causes the above error?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:35 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
r-oldenburgcommented, Sep 30, 2019

And why is this issue even closed?! It is not solved yet and the upstream bug exists for years now…!

8reactions
tsunacommented, Apr 6, 2018

It’s a glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19329, I ran into it today using Puppeteer as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug #1863162 “Inconsistency detected by ld.so: dl-tls.c: 493
When using glibc as part of our NSX product, we are running into the above mentioned glibc assert case sometimes.
Read more >
dl-tls.c assert failure at concurrent pthread_create and dlopen
c: 488: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed! This is unfortunately not reproducible.
Read more >
Error in SQL statement: AssertionError: assertion failed
This is my sample delta table with some duplicate values. enter image description here. First select the rows which has rownum as 1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found