Skip to content

Segmentation fault when mirroring screen #21

@Cisneiros

Description

@Cisneiros

I'm unable to mirror my desktop to my 4th generation Apple TV. Photos work fine, but desktop mirroring gives me a segfault. My Apple TV has no passcode/password.

$ java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

$ java -jar airplay.jar -h 192.168.25.46 -p photo.jpg # this works fine
Press ctrl-c to quit 
^C%                                                                                                                                                                      

$ java -jar airplay.jar -h 192.168.25.46 -d # this will crash
Press ctrl-c to quit
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f8e9976a9a9, pid=7867, tid=0x00007f8e99d54700
#
# JRE version: OpenJDK Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.144-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libawt_xawt.so+0x409a9]
#
# Core dump written. Default location: /home/cisneiros/Downloads/core or core.7867
#
# An error report file with more information is saved as:
# /home/cisneiros/Downloads/hs_err_pid7867.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[1]    7867 abort (core dumped)  java -jar airplay.jar -h 192.168.25.46 -d

I'm on Fedora 26

OS:Fedora release 26 (Twenty Six)

uname:Linux 4.13.5-200.fc26.x86_64 #1 SMP Thu Oct 5 16:53:13 UTC 2017 x86_64
libc:glibc 2.25 NPTL 2.25 
rlimit: STACK 8192k, CORE infinity, NPROC 63395, NOFILE 4096, AS infinity
load average:0.65 0.66 0.60```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions