Package: phantomjs
Version: 1.4.1+dfsg-1
Severity: grave
Justification: renders package unusable

The hello.js example at 
https://github.com/ariya/phantomjs/blob/master/examples/hello.js 
prints nothing when executed with phantoms. Steps to reproduce the problem:

1. Create a file named "hello.js" containing the following two lines:

console.log('Hello, world!');
phantom.exit();

2. execute the following command:

phantomjs hello.js; echo $?

3. Expected result: "Hello, world!" appears on standard output and exit status 
is 0.
   Actual result: nothing appears and process exits with status 1.

The same steps with phantomjs 1.7.0 on OS X worked fine (printed "Hello, 
world!").

According to strace(1), phantomjs is never even opening "hello.js".
The last few lines of strace output before phantomjs exits are:

stat64("/usr/share/fonts/type1/gsfonts", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
open("/var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le32d4.cache-3", 
O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=24160, ...}) = 0
mmap2(NULL, 24160, PROT_READ, MAP_SHARED, 7, 0) = 0xb2dcc000
close(7)                                = 0
gettimeofday({1355812868, 211851}, NULL) = 0
open("/usr/share/zoneinfo/right/America/New_York", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=4019, ...}) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=4019, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb2dcb000
read(7, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\31"..., 
4096) = 4019
_llseek(7, -24, [3995], SEEK_CUR)       = 0
read(7, "\nEST5EDT,M3.2.0,M11.1.0\n", 4096) = 24
close(7)                                = 0
munmap(0xb2dcb000, 4096)                = 0
write(6, "@", 1)                        = 1
close(6)                                = 0
close(5)                                = 0
rt_sigaction(SIGCHLD, NULL, {0xb52113d0, [], SA_NOCLDSTOP}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, NULL, 8) = 0
exit_group(1) 

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.6.5-linode47 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages phantomjs depends on:
ii  libc6           2.13-35
ii  libgcc1         1:4.7.2-4
ii  libqt4-network  4:4.8.2+dfsg-5
ii  libqtcore4      4:4.8.2+dfsg-5
ii  libqtgui4       4:4.8.2+dfsg-5
ii  libqtwebkit4    2.2.1-5
ii  libstdc++6      4.7.2-4

phantomjs recommends no packages.

phantomjs suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to