allanth
allanth

Reputation: 441

Where is the phantomjs core dumped

I get this error

PhantomJS has crashed. Please read the bug reporting guide at <http://phantomjs.org/bug-reporting.html> and file a bug report. Segmentation fault (core dumped)

Does this mean that a file with the error has been dumped somewhere? If so, where? Nothing found in the current work dir og /tmp.

# ./bin/phantomjs --version 2.1.1

Upvotes: 1

Views: 670

Answers (1)

Rilke Petrosky
Rilke Petrosky

Reputation: 1185

Check the contents of your /proc/sys/kernel/core_pattern file.

If it starts with |, then the core dump's output is treated as input for following pattern. (More on this here)

If it is /tmp and the file is still not there, some chdir operation in a thread could've been called before the segmentation fault. If so, check the working directory of the phantomjs binary inside it's node_modules directory.

Upvotes: 1

Related Questions