Failed to create CSSymbolicatorRef for phantomjs

786 views
Skip to first unread message

Jon Leighton

unread,
Apr 24, 2012, 4:50:32 PM4/24/12
to phan...@googlegroups.com
Hi guys,

I've had a couple of people report issues with Poltergeist where they
get the following errors from PhantomJS:

4/20/12 11:32:42.672 PM ReportCrash: Failed to create CSSymbolicatorRef
for phantomjs[18040]
4/20/12 11:32:42.780 PM ReportCrash: Failed to create dSYM-less
CSSymbolicatorRef for phantomjs[18040]

Does anyone have an idea about what is causing this / how it might be
fixed? What should I ask them in order to get better debug information?
(I'm a Linux user, I know next to nothing about OS X...)

Thanks,
Jon

--
http://jonathanleighton.com/

Jon Leighton

unread,
Apr 24, 2012, 4:52:35 PM4/24/12
to phan...@googlegroups.com

DouweM

unread,
Apr 24, 2012, 5:31:54 PM4/24/12
to phan...@googlegroups.com
These are the errors I'm seeing in Console:
 
24-04-12 23:27:18,760 ReportCrash: Failed to create CSSymbolicatorRef for phantomjs[17060]
24-04-12 23:27:18,872 ReportCrash: Failed to create dSYM-less CSSymbolicatorRef for phantomjs[17060]
24-04-12 23:27:19,465 ReportCrash: Saved crash report for phantomjs[17060] version ??? (???) to /Users/douwemaan/Library/Logs/DiagnosticReports/phantomjs_2012-04-24-232719_MacBook-Pro-van-Douwe.crash

And these are the contents of that crash report:

Process:         phantomjs [17060]
Path:            /usr/local/Cellar/phantomjs/1.5.0/libexec/phantomjs
Identifier:      phantomjs
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  ruby [17047]

Date/Time:       2012-04-24 23:27:18.601 +0200
OS Version:      Mac OS X 10.7.3 (11D50b)
Report Version:  9

Crashed Thread:  Unknown

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000204114d2

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
  eax: 0x204114ca  ebx: 0x00000001  ecx: 0x4f532f32  edx: 0xacfdb290
  edi: 0x02a73dd0  esi: 0x93d1796b  ebp: 0xbfffa5e8  esp: 0xbfffa540
   ss: 0x00000023  efl: 0x00210282  eip: 0x93d1796f   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x204114d2
Logical CPU: 2

Binary images description not available


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 2
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 18616
    thread_create: 1
    thread_set_state: 0 

Ivan De Marino

unread,
Apr 24, 2012, 6:57:58 PM4/24/12
to phan...@googlegroups.com
We need to freaking add a proper "debug mode" in PhantomJS. The very
fact that we use so little qDebug freaks me out...

---
Ivan De Marino
Coder, Technologist, Cook, Italian

Sent on the move

Ariya Hidayat

unread,
May 1, 2012, 9:21:19 PM5/1/12
to phan...@googlegroups.com
> These are the errors I'm seeing in Console:
>
>
> 24-04-12 23:27:18,760 ReportCrash: Failed to create CSSymbolicatorRef for
> phantomjs[17060]
> 24-04-12 23:27:18,872 ReportCrash: Failed to create dSYM-less
> CSSymbolicatorRef for phantomjs[17060]
> 24-04-12 23:27:19,465 ReportCrash: Saved crash report for phantomjs[17060]
> version ??? (???) to

Looks like memory error. Is there a reduced test case for this? That
would be helpful to narrow down the problem.



--
Ariya Hidayat, http://ariya.ofilabs.com
http://twitter.com/ariyahidayat

Scott Barron

unread,
May 3, 2012, 11:26:29 AM5/3/12
to phantomjs
I haven't quite gotten it isolated yet but I've noticed that it's
consistently happening for me when phantom is retrieving a javascript
asset and the server responds with a 304 (this is via the rails asset
pipeline).

-Scott
Reply all
Reply to author
Forward
0 new messages