Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.
This repository was archived by the owner on May 30, 2023. It is now read-only.

PhantomJS crash: Locking assertion failure #10658

@martin-romano

Description

@martin-romano

martin.t...@gmail.com commented:

Which version of PhantomJS are you using? 1.6, built from sources

What steps will reproduce the problem?

  1. any attempt to run phantomjs

Which operating system are you using?
CentOS 5.7

Did you use binary PhantomJS or did you compile it from source?
Built from source

Please provide any additional information below.

The executable that I compiled from source runs correctly on a different CentOS 5.7 box (the one I built it on) - I haven't discovered yet what's different between the machine that works and the one that fails.

When I run PhantomJS 1.6.0 Linux x86-64 (Dynamic build) downloaded from code.google.com on this system, it fails with this message:
./phantomjs: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
This is why I tried building from source.

Here's the console output running the compiled-from-source version:
./phantomjs --version
Locking assertion failure. Backtrace:

0 /usr/lib64/libxcb-xlib.so.0 [0x318220090c]

1 /usr/lib64/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x3182200a14]

2 /usr/lib64/libX11.so.6 [0x318324a0f0]

3 /usr/lib64/libXfixes.so.3(XFixesQueryVersion+0x4f) [0x3188c03c9f]

4 /usr/lib64/qt47/libQtGui.so.4 [0x2b189edf28ce]

5 /usr/lib64/qt47/libQtGui.so.4(_ZN19QApplicationPrivate9constructEP9_XDisplaymm+0xde) [0x2b189ed7341e]

6 /usr/lib64/qt47/libQtGui.so.4(_ZN12QApplicationC1ERiPPci+0x72) [0x2b189ed743a2]

7 ./phantomjs [0x4217bf]

8 /lib64/libc.so.6(__libc_start_main+0xf4) [0x318061d994]

9 ./phantomjs(_ZN7QObject5eventEP6QEvent+0x349) [0x40d869]

phantomjs: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
PhantomJS has crashed. Please file a bug report at https://code.google.com/p/phantomjs/issues/entry and attach the crash dump file: /tmp/1aad3a49-68ac-3951-5068982b-30ddec3d.dmp
Aborted

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #658.
🌟   2 people had starred this issue at the time of migration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions