Bug #1996

ST crashes when trying to play media if pulsaudio is not installed or started

Added by Emil Halko about 7 years ago. Updated about 7 years ago.

Status:FixedStart date:02/18/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Video playback
Target version:4.6
Found in version:All Platform:Linux

Description

Hello,

I have using ubuntu 12.04 server edition with installed tvheadend and showtime on it. All this is running on Asus A55ION motherbor with nvidia ION2 graph card. The showtime is crashing whenever I want to start/play any video stored on disk or stream from tvheadend.

Thx

showtime.log (14.7 KB) Emil Halko, 02/18/2014 09:56 AM

ldd.txt Magnifier (8.63 KB) Emil Halko, 02/18/2014 10:10 AM

mpeg2 - record from tvheadend.log (20.1 KB) Emil Halko, 02/21/2014 07:35 PM

mpeg4.log (31.4 KB) Emil Halko, 02/21/2014 07:35 PM

mkv.log (16.8 KB) Emil Halko, 02/21/2014 07:35 PM

tvheadend-stream.log (14.9 KB) Emil Halko, 02/21/2014 07:35 PM

Associated revisions

Revision cc5dab45
Added by Andreas Smas about 7 years ago

pulseaudio: Don't crash if we fail to establish a connection to PA server

Instead warn the user via a notification message

Fixes #1996

Change included in version 4.5.169

History

#1 Updated by Emil Halko about 7 years ago

I have installed minimal Xorg to run this application, so I hope that all required library are present....

I have checked it by ldd command

#2 Updated by Leonid Protasov about 7 years ago

Update to 4.5.148 and try again...

#3 Updated by Emil Halko about 7 years ago

Hello,

I have tried 4.5.155_amd64 version, which I downloaded from the Download section(bleeding edge), but it is still crashing all the time when I want to start any video. I have installed youtube plugin, and it is crashing also on these videos.

Is this ok with this version??? Or should I compile you requested version???

This version is not creating log file... from unknown reason... So I can't upload it...

I'm quite new user for this application....

note: in XBMC the video/stream from tvheadend is working fine

Thx

#4 Updated by Leonid Protasov about 7 years ago

  • Subject changed from crash when I want start any video/stream to ST crashes when trying to play HTSP stream from Tvheadend
  • Category changed from Video playback to HTSP client
  • Target version set to 4.6

Could be fixed in 4.6.

#5 Updated by Emil Halko about 7 years ago

And what is required from my side???

Thx

#6 Updated by Emil Halko about 7 years ago

Leonid Protasov wrote:

Could be fixed in 4.6.

I see that you change the category to HTSP, but it is also crashing when I'm starting any video from local disk... AVI,MKV, etc...

#7 Updated by Leonid Protasov about 7 years ago

  • Category changed from HTSP client to Video playback

Can you please attach the log from the latest ST version when you play MKV video?

#8 Updated by Emil Halko about 7 years ago

Yeah, but as I written in before... from unknown reason there is no log file created in defaulth log path (following https://showtimemediacenter.com/projects/showtime/wiki/Logging) and there is no directory in /home/user/.cache/showtime/log .

Is this any way how to force to create the log file? in 4.4 it works without any additional configuration

Thx

#9 Updated by Leonid Protasov about 7 years ago

But are the logs accessible via http://showtimeip:42000 ?

#10 Updated by Emil Halko about 7 years ago

Leonid Protasov wrote:

But are the logs accessible via http://showtimeip:42000 ?

I don't think that it will works... as the address is only accessible when showtime is running, but not when it's down... And we want to know the logs after crash....

#11 Updated by Emil Halko about 7 years ago

Emil Halko wrote:

Leonid Protasov wrote:

But are the logs accessible via http://showtimeip:42000 ?

I don't think that it will works... as the address is only accessible if showtime is running, but not when it's down... And we don't want the log before crash....

#12 Updated by Leonid Protasov about 7 years ago

Emil Halko wrote:

Leonid Protasov wrote:

But are the logs accessible via http://showtimeip:42000 ?

I don't think that it will works... as the address is only accessible when showtime is running, but not when it's down... And we want to know the logs after crash....

1. Run ST an crash it.
2. Run ST and go to web page. Download log-1

#13 Updated by Emil Halko about 7 years ago

Hello,

Now I see, I have done it... 4 logs from diferent type of source video format...

#14 Updated by Leonid Protasov about 7 years ago

  • Subject changed from ST crashes when trying to play HTSP stream from Tvheadend to ST crashes when trying to play media via VDPAU

#15 Updated by Emil Halko about 7 years ago

Hello,

You can close the bug as I solve it by installing the pulse-audio package... so the crash was caused by missing pulse-audio libraries... I saw the error on screen when I was starting the showtime from xterm... I don't know why the error was not written in log file... so maybe it is good idea to update the source code to show the error not only on screen,but also in log file...

anyway thx for your support

#16 Updated by Emil Halko about 7 years ago

The error message is "pa_context_connect() failed: Connection refused"

#17 Updated by Leonid Protasov about 7 years ago

  • Subject changed from ST crashes when trying to play media via VDPAU to ST crashes when trying to play media if pulsaudio is not installed or started
  • Found in version changed from 4.4 to All

#18 Updated by Andreas Smas about 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:cc5dab45dbb773cb01ab21b28365757155231588.

Also available in: Atom PDF