Electricsheep displays only black screen on Ubuntu 13.10

Bug #1266187 reported by florib
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
electricsheep (Ubuntu)
Undecided
Unassigned

Bug Description

When starting electrisheep via xscreensaver-demo, it spawns mplayer processes (I have a dual screen setup) but only black screens are displayed. When launching from the commandline, via "electricsheep --debug 1" it downloads new sheep but does not open any player window, though the debug log shows e.g. "playing /home/myhome/.electricsheep/00244=79918=79918=79918.avi".
The problem appears with compiz and metacity, with unity and classic gnome fallback.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 13.10
Release: 13.10

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
electricsheep:
  Installiert: 2.7~b12+svn20091224-1.2
  Installationskandidat: 2.7~b12+svn20091224-1.2
  Versionstabelle:
 *** 2.7~b12+svn20091224-1.2 0
        500 http://de.archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
Video being played

4) What happened instead
Nothing.

I reproduced this exact problem using a current 13.10 (i386) live cd. I am using the nvidia driver on a GeForce 8600 GT with two screens attached.

I can provider further info if needed.

Revision history for this message
florib (f-battke) wrote :

syslog shows the following line when "electricsheep --debug 1" is started:

kernel: [ 234.160650] electricsheep[4062]: segfault at 8 ip b6782d2c sp bfbd6360 error 4 in libavutil.so.51.22.1[b676f000+21000]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in electricsheep (Ubuntu):
status: New → Confirmed
Revision history for this message
HeadLess (headless-u) wrote :
Download full text (4.6 KiB)

terminal:
$ electricsheep --debug 1 --standalone 1
=====================================
electric sheep v2.7b12
time start Fri Sep 4 15:16:23 2015
init_curl_cmd 0
curl_cmd = nice -n 10 curl --location --silent --show-error
server = v2d7c.sheepserver.net
play_counts init, thread=main
play counts: 80525:3 80527:4 80835:3 80891:2 80895:3 80900:2 80932:2 81096:1 81100:1 83420:1 83421:1 83545:1 83548:1 83554:1 83571:1 83572:1 83614:1 83615:1 83624:1 83648:1 83649:1 83664:1 83685:1
updating cache path=/home/headless/.electricsheep/
updating cache path=/home/headless/.electricsheep/
thread main compute ranks
median rank 0.8 n = 201 plays = 0
ncheck = 23/201
begin delete cached 0
thread display compute ranks
median rank 0.8 n = 201 plays = 0
ncheck = 23/201
time display loop Fri Sep 4 15:16:23 2015
idx=50 ncached_sheep=201 best_atime
found new anim id=83546.
play anim x=50 id=83546 iters=2 path=/home/headless/.electricsheep/
bumped 83546 to 1, page=163
writing play counts
writing dirty page 163
set atime of 50 to 1441372583
playing /home/headless/.electricsheep/00244=83546=83546=83546.avi
[avi @ 0x7d27e0] max_analyze_duration reached

and stops there..
in this time syslog shows up entry:
Sep 4 15:19:17 mylaptop kernel: [15044.191727] electricsheep[22286]: segfault at 0 ip 0000000000404731 sp 00007ffefc9d0ab0 error 4 in electricsheep[400000+15000]

after ctrl-c in terminal exits with this:
^Chandle_sig_term main 2
cleanup.
handle_sig_term waiter 2
writing play counts
cleanup.
writing play counts
handle_sig_term waiter 15
cleanup.
writing play counts
Terminated

run with strace:
$ strace electricsheep --debug 1 --standalone 1
(...)
getuid() = 1000
mremap(0x7fc460679000, 1036288, 1040384, MREMAP_MAYMOVE) = 0x7fc459d05000
stat("/home/headless/.electricsheep/00244=80900=80895=80869.avi", {st_mode=S_IFREG|0644, st_size=1549056, ...}) = 0
getuid() = 1000
mremap(0x7fc459d05000, 1040384, 1044480, MREMAP_MAYMOVE) = 0x7fc460677000
getdents(7, /* 0 entries */, 32768) = 0
brk(0x72c000) = 0x72c000
close(7) = 0
write(2, "thread main compute ranks\n", 26thread main compute ranks
) = 26
write(2, "median rank 0.8 n = 201 plays = "..., 34median rank 0.8 n = 201 plays = 0
) = 34
write(2, "ncheck = 26/201\n", 16ncheck = 26/201
) = 16
write(2, "begin delete cached 0\n", 22begin delete cached 0
) = 22
statfs("/home/headless/.electricsheep/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=98494329, f_bfree=56880921, f_bavail=51871936, f_files=25026560, f_ffree=23263562, f_fsid={-1273269597, 1642271591}, f_namelen=255, f_frsize=4096}) = 0
stat("/home/headless/.electricsheep/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
wait4(22328, [avi @ 0x70a760] max_analyze_duration reached

$ lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04

$ apt-cache policy electricsheep
electricsheep:
  Installed: 2.7~b12+svn20091224-1.2
  Candidate: 2.7~b12+svn20091224-1.2
  Version table:
 *** 2.7~b12+svn20091224-1.2 0
        100 /var/lib/dpkg/status

mplayer plays ok:

$ mplayer /home/headless/.electricsheep/00244=80900=80895=80869.avi
MPla...

Read more...

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

Other bug subscribers