Segmentation fault (core dumped)

34 views
Skip to first unread message

martin...@kentor.se

unread,
Oct 16, 2017, 6:43:42 AM10/16/17
to stb-tester
Hi,
I've been having a problem running my tests lately. I just implemented tests for PS4 using the usb-cec interface and every time my PS4 tests are triggered from Jenkins I get the following error message: Segmentation fault (core dumped). Then the whole test suite is canceled. After some investigation it seems this happens when importing stbt. I've never seen it before and it only seems to happen when testing the PS4. IR-controlled devices don't seem to have this problem.

Any help would be very welcome.

martin...@kentor.se

unread,
Oct 17, 2017, 10:00:02 AM10/17/17
to stb-tester
Could anyone give me an example of what the control argument in the stbt.conf file should look like if you don't want stbt to auto detect the CEC-adaptor and the PS4. I can't seem to get this right. I'm beginning to suspect that this issue is caused by the PS4 going into standy and so it can't be detected by stbt.

martin...@kentor.se

unread,
Oct 18, 2017, 4:34:37 AM10/18/17
to stb-tester
Any help on this one would be very much appreciated. I'm completely stuck. I disabled standby for the PS4 but I'm still seeing this problem. I'm getting nowhere.

martin...@kentor.se

unread,
Oct 20, 2017, 5:01:48 AM10/20/17
to stb-tester
To anyone who might be interested, I think I may actually have solved this one (fingers crossed). Leaving the monitor on when the tests are scheduled to run seems to do the trick believe it or not. To anyone using the Pule Eight USB-CEC adapter to test a PS4, don't turn off your monitors! The root cause has to be a bug somewhere in libcec or stbt but just leaving the monitor powered on seems to be a work-around.

David Röthlisberger

unread,
Oct 31, 2017, 12:04:44 PM10/31/17
to stb-t...@googlegroups.com, martin...@kentor.se
On Fri, 20 Oct 2017, at 09:01 AM, martin...@kentor.se wrote:
> every time my PS4 tests are triggered from Jenkins I get the following
> error message: Segmentation fault (core dumped).
>
> [...]
>
> Leaving the monitor on when the tests are scheduled to run seems to do
> the trick believe it or not. To anyone using the Pulse Eight USB-CEC
> adapter to test a PS4, don't turn off your monitors! The root cause
> has to be a bug somewhere in libcec or stbt but just leaving the
> monitor powered on seems to be a work-around.

For what it's worth, the official stb-tester hardware doesn't have this
issue and we certainly do run PS4 tests (using CEC) headlessly, without
requiring a monitor or TV.

If you want to investigate this properly you need to capture a core dump
and look at the stack trace with gdb to see where the segmentation fault
happened.

Kind regards,

David Röthlisberger
Stb-tester.com Ltd.

--
Stb-tester.com Ltd is a company registered in England and Wales.
Registered number: 08800454. Registered office: 33b Aliwal Road,
Battersea, London, SW11 1RB.
Reply all
Reply to author
Forward
0 new messages