Skip to content

Server crashes when trying to play file casted to it from another device #101

@PureTryOut

Description

@PureTryOut

I can cast a file when having both server and client on the same machine just fine, but doing the same with the server on another device currently crashes both the server and client (also I don't see how castFile() in the library is supposed to cast the file to the server anyway, as far as I can see it's just giving it a filename. How is the file actually supposed to get to the server?).

Server:

EOF is 0
PB error, checking autoexit.
Goto 'fail'. Exiting main loop...
SetDuration. 0
Closing audio stream component...
Closing audio device...
Terminating player...
: Invalid data found when processing input
Opening stream failed. Safe exit...
Goto 'fail'. Exiting main loop...
SetDuration. 0
fish: Job 1, 'nymphcast_server -c /etc/nymphc…' terminated by signal SIGSEGV (Address boundary error)

Client (nymphcast-player):

Media Read callback function called.
Status: Set playing...
Read block with size 32000 bytes.
5 - 100482.0    NymphListener   133     Adding request for message ID: 401.             - src/nymph_listener.cpp
2 - 100482.0    NymphListener   139     Handle 0 not found. Dropping message ID 401             - src/nymph_listener.cpp
Error calling remote method: Failed to send message: Broken pipe
terminate called after throwing an instance of 'Poco::SystemException'
  what():  System exception
fish: Job 1, 'nymphcast-player' terminated by signal SIGABRT (Abort)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions