Getting Segmentation fault when running phantomjs to generate a report

Bug #1616096 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webkitgtk (Ubuntu)
New
Undecided
Unassigned

Bug Description

---Problem Description---
Getting Segmentation fault when running phantomjs to generate a report

---uname output---
Linux sys-82106 3.13.0-88-generic #135-Ubuntu SMP Wed Jun 8 21:09:41 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = 822L

---Steps to Reproduce---
 I am getting Segmentation fault when running phantomjs to generate a report, on ppc. Ubuntu 14.04.

Below is the stack of the problem...
u0017819@sys-82106:~/new_debug_pha$ gdb ./phantomjs
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64le-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./phantomjs...(no debugging symbols found)...done.
(gdb) run /opt/kibana/report/report.js http://127.0.0.1:8080/app/kibana#/report/print/Apache_logs /tmp/Apache_logs.pdf testadmin admin admin 60
Starting program: /home/u0017819/new_debug_pha/phantomjs /opt/kibana/report/report.js http://127.0.0.1:8080/app/kibana#/report/print/Apache_logs /tmp/Apache_logs.pdf testadmin admin admin 60
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
[New Thread 0x3fffb558f170 (LWP 26888)]
[New Thread 0x3fffb497f170 (LWP 26889)]
[New Thread 0x3fffaffff170 (LWP 26890)]
[New Thread 0x3fffaf1af170 (LWP 26891)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000011c2f8f8 in JSC::JSFunction::getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) ()
(gdb) where
#0 0x0000000011c2f8f8 in JSC::JSFunction::getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) ()
#1 0x000000001199ba94 in JSC::JSValue::get(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) const ()
#2 0x0000000011b21800 in llint_slow_path_get_by_id ()
#3 0x0000000011b2f8fc in JSC::LLInt::CLoop::execute(JSC::ExecState*, JSC::OpcodeID, bool) ()
#4 0x0000000011b0dad8 in JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#5 0x0000000011be6d2c in JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#6 0x000000001199c77c in WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#7 0x00000000119d76c8 in WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext*) ()
#8 0x00000000119d7984 in WebCore::ScheduledAction::execute(WebCore::Document*) ()
#9 0x0000000010751cb8 in WebCore::DOMTimer::fired() ()
#10 0x00000000108c5698 in WebCore::ThreadTimers::sharedTimerFiredInternal() ()
#11 0x00000000109e0be0 in WebCore::SharedTimerQt::timerEvent(QTimerEvent*) ()
#12 0x000000001258bf68 in QObject::event(QEvent*) ()
#13 0x00000000100f5ae0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
#14 0x00000000100fc1c0 in QApplication::notify(QObject*, QEvent*) ()
#15 0x0000000012558a38 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
#16 0x00000000125b9b38 in QTimerInfoList::activateTimers() ()
#17 0x00000000125b756c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#18 0x0000000011d5b134 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#19 0x0000000012555730 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
#20 0x000000001255fde4 in QCoreApplication::exec() ()
#21 0x0000000011d8fd5c in QGuiApplication::exec() ()
#22 0x00000000100f1cc8 in QApplication::exec() ()
#23 0x00000000100258a4 in main ()
(gdb)

To recreate, you can use the following command
./phantomjs ./report.js http://127.0.0.1:8080/app/kibana#/report/print/Apache_logs ./Apache_logs.pdf testadmin admin admin 60

Have downloaded the source from
https://github.com/ibmsoe/phantomjs/

webkit is not an area that the LTC has anyone knowledgeable in to debug so looking to Canonical for assistance.

Revision history for this message
bugproxy (bugproxy) wrote : core file and sos report

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-145332 severity-high targetmilestone-inin14044
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → webkitgtk (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

webkitgtk is not a component of the Ubuntu Server product; declining for taco-screen-team.

Changed in webkitgtk (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → nobody
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-08-26 10:35 EDT-------
Any updates ?

Regards
Sahitya

Revision history for this message
amir sanjar (asanjar) wrote :

any update?
Regards
Amir Sanjar

Revision history for this message
bugproxy (bugproxy) wrote : core file and sos report

Default Comment by Bridge

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.