can't get showtime up

Added by Igosr Petroff over 1 year ago

Hi all

I try to compile showtime in ubuntu 10.04LTS
with ./configure --release --glw-frontend=x11 and got this:

/showtime/src/ui/glw/glw_view_eval.c: In function ‘glwf_propSorter’:
/showtime/src/ui/glw/glw_view_eval.c:4373: error: ‘a’ may be used uninitialized in this function
make: *** [build.linux/src/ui/glw/glw_view_eval.o] Error 1

second I compiled with ./configure --release --glw-frontend=none
but can't launch it:
core [INFO]: Using 2 CPU
blobcache [INFO]: Initialized: 0 items consuming 0 bytes on disk in /home/igosr/.cache/showtime/bc2
DB [INFO]: metadb: Upgraded to version 1
DB [INFO]: metadb: Upgraded to version 2
DB [INFO]: metadb: Upgraded to version 3
DB [INFO]: metadb: Upgraded to version 4
DB [INFO]: metadb: Upgraded to version 5
spotify [INFO]: Unable to load libspotify.so.10: libspotify.so.10: cannot open shared object file: No such file or directory
i18n [INFO]: Unloading language definition
navigator [INFO]: Opening page:home
HTTPSRV [INFO]: Listening on port 42000
UI [ERROR]: No default user interface specified, exiting

there is options:

HTS Showtime 3.5.32.g0e3fd
Copyright (C) 2007-2010 Andreas Öman

Usage: ./showtime [options] [<url>]

Options:
-h, --help - This help text.
-d - Enable debug output.
--ffmpeglog - Print ffmpeg log messages.
--with-standby - Enable system standby.
--with-poweroff - Enable system power-off.
-s &lt;path&gt; - Non-default Showtime settings path.
--ui &lt;ui&gt;         - Use specified user interface.
-L &lt;ip:host&gt;      - Send log messages to remote &lt;ip:host&gt;.
--syslog - Send log messages to syslog.
--stdin - Listen on stdin for events.
-v &lt;view&gt; - Use specific view for &lt;url&gt;.
--cache &lt;path&gt; - Set path for cache [/home/igosr/.cache/showtime].
--serdev - Probe service ports for devices.
--disable-upnp - Disable UPNP/DLNA stack.
--disable-sd - Disable service discovery (mDNS, etc).
-p - Path to plugin directory to load
Intended for plugin development
--plugin-repo - URL to plugin repository
Intended for plugin development
-j &lt;path&gt; Load javascript file
URL is any URL-type supported by Showtime, e.g., "file:///..."

Question is how to use this:
--ui <ui> - Use specified user interface.

Can someone explain how to?
Many thanks.
Regards.

PS. In source found:

#ifdef CONFIG_APPLEREMOTE
link_ui(appleremote);
#endif
#ifdef CONFIG_GU
link_ui(gu);
#endif
#ifdef CONFIG_GLW
link_ui(glw);
#endif

For now got it working with this command
~/showtime/build.linux$ ./showtime --ui gu

Hope for someone will be useful,but how to fix this error?
/showtime/src/ui/glw/glw_view_eval.c: In function ‘glwf_propSorter’:
/showtime/src/ui/glw/glw_view_eval.c:4373: error: ‘a’ may be used uninitialized in this function
make: *** [build.linux/src/ui/glw/glw_view_eval.o] Error 1

Regards.

Screenshot.png (31.7 KB)


Replies (7)

RE: can't get showtime up - Added by Andreas Öman over 1 year ago

It was a bug that the c compiler I use right now didn't catch. It's been fixed now

RE: can't get showtime up - Added by Igosr Petroff over 1 year ago

Thanks for explanation, will try to compile again.

Next question: have someone success experience to compile showtime for realtek 1073 chipset based players, like Asus O!Play, Patriot PBO e.t.c?

If so, can one share info please?
I'm actually planning to make custom firmware with showtime only to watch IPTV from Tvheadend server (means without other cool features,only htsp support because not so much space on nand so binary should be as small as possible)via htsp protocol, coz after trying on regular linux PC can say that showtime working much faster then VLC.
Also did convertion with VLC http unicast stream to RTP multicast that tvheadend can understood only for now
and was surprised how good it's working.Maybe it will be not so bad idea to support directly http stream as IPTV input in Tvheadend in future.
Thanks Andreas for cool software.

Regards.

RE: can't get showtime up - Added by Igosr Petroff over 1 year ago

Hi.
Trying to compile again, but got same error.
/showtime/src/ui/glw/glw_view_eval.c: In function ‘glwf_propSorter’:
/showtime/src/ui/glw/glw_view_eval.c:4373: error: ‘a’ may be used uninitialized in this function.
However if I remove -Werror from makefile compilation done and possible to launch showtime even I can
get epg, but watching channels not working. Crashes with this log:

core [INFO]: Using 2 CPU
blobcache [INFO]: Initialized: 0 items consuming 0 bytes on disk in /home/igosr/.cache/showtime/bc2
i18n [INFO]: Unloading language definition
navigator [INFO]: Opening page:home
navigator [INFO]: Opening htsp://********************
HTTPSRV [INFO]: Listening on port 42000
GLW [INFO]: OpenGL Renderer: 'Mesa DRI R300 (RS600 7942) 20090101 NO-TCL DRI2' by 'DRI R300 Project'
HTSP [INFO]: Connected to ******:9982
GLW [INFO]: OpenGL driver does not provide adequate vertical sync capabilities. Using soft timers
navigator [INFO]: Opening htsp://
************:9982/channels
navigator [INFO]: Opening htsp://**********:9982/channel/108
CRASH [ERROR]: Signal: 11 in PRG: Showtime (3.5.32.g0e3fd.dirty) [0000000000000000000000000000000000000000] EXE: /home/igosr/showtime/build.linux/showtime, CWD: /home/igosr/showtime/build.linux
CRASH [ERROR]: Fault address ??:0 0x1c (Address not mapped)
CRASH [ERROR]: Loaded libraries: /usr/lib/libfreetype.so.6 /usr/lib/libfontconfig.so.1 /usr/lib/libX11.so.6 /usr/lib/libXext.so.6 /usr/lib/mesa/libGL.so.1 /usr/lib/libasound.so.2 /usr/lib/libpulse.so.0 /usr/lib/libgtk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libatk-1.0.so.0 /usr/lib/libgio-2.0.so.0 /usr/lib/libpangoft2-1.0.so.0 /usr/lib/libgdk_pixbuf-2.0.so.0 /lib/libm.so.6 /usr/lib/libpangocairo-1.0.so.0 /usr/lib/libcairo.so.2 /usr/lib/libpango-1.0.so.0 /usr/lib/libgobject-2.0.so.0 /usr/lib/libgmodule-2.0.so.0 /usr/lib/libgthread-2.0.so.0 /lib/librt.so.1 /lib/libglib-2.0.so.0 /usr/lib/libXss.so.1 /usr/lib/libXxf86vm.so.1 /usr/lib/libXv.so.1 /usr/lib/libavahi-common.so.3 /usr/lib/libavahi-client.so.3 /lib/libssl.so.0.9.8 /lib/libcrypto.so.0.9.8 /lib/libpthread.so.0 /lib/libdl.so.2 /lib/libz.so.1 /lib/libc.so.6 /lib/libexpat.so.1 /usr/lib/libxcb.so.1 /usr/lib/libXdamage.so.1 /usr/lib/libXfixes.so.3 /lib/libdrm.so.2 /usr/lib/libICE.so.6 /usr/lib/libSM.so.6 /usr/lib/libXtst.so.6 /usr/lib/libpulsecommon-0.9.21.so /us
CRASH [ERROR]: Register dump [23]: 0000000000000000 0000000000000000 00007fffa400bd80 0000000000000046 00007fffa400c050 00007fa9c40fc7e0 00007fa9d001f1f8 00007fffa400c050 00007fa9d001f1f8 0000000000000000 00007fa9d001f1f8 0000000000000000 00000000000002cd 0000000000000000 000000000000011d 00007fffa400bf68 00000000005a7ff4 0000000000010202 0000000000000033 0000000000000004 000000000000000e 0000000000000000 000000000000001c
CRASH [ERROR]: STACKTRACE
CRASH [ERROR]: /home/igosr/showtime/src/arch/trap_linux.c:161 0x538a67
CRASH [ERROR]: ??:0 0x7fa9dcd368f0
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_opengl_shaders.c:284 0x5a7ff4
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_opengl.c:487 0x5b1e79
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_opengl.c:521 0x5b222b
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_common.c:526 0x5b142e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_view_loader.c:141 0x5bdd7b
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_playfield.c:268 0x5a8fd6
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:432 0x59bd22
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_layer.c:149 0x5a3524
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_underscan.c:71 0x5afdd8
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_x11.c:896 0x5c1d73
CRASH [ERROR]: /home/igosr/showtime/src/ui/ui.c:150 0x5ce6f2
CRASH [ERROR]: /home/igosr/showtime/src/main.c:455 0x56a499
CRASH [ERROR]: __libc_start_main+0xfd (/lib/libc.so.6)
CRASH [ERROR]: ??:0 0x430bdd
Segmentation fault

When I launch it with gu interface channels works without problem, but can't get EPG :(

Any solutions?

Screenshot.png - ./showtime (128 KB)

Screenshot-1.png - ./showtime --ui (28.2 KB)

Screenshot-2.png - ./showtime --ui (280 KB)

RE: can't get showtime up - Added by Igosr Petroff over 1 year ago

Hi
Compiled again without any errors but crashes :

Crash log same as in previous post.
CRASH [ERROR]: Fault address ??:0 0x1c (Address not mapped)
..........................
Any suggestions?

Regards.

RE: can't get showtime up - Added by Igosr Petroff about 1 year ago

Hi.
Can someone provide here working binary of Showtime compiled for Ubuntu 10.04 64bit?
Don't know why but my compilation crashes all times with glw interface.
Thanks.

Regards.

RE: can't get showtime up - Added by Andreas Öman about 1 year ago

Igosr Petroff wrote:

Hi.
Trying to compile again, but got same error.
/showtime/src/ui/glw/glw_view_eval.c: In function ‘glwf_propSorter’:
/showtime/src/ui/glw/glw_view_eval.c:4373: error: ‘a’ may be used uninitialized in this function.
However if I remove -Werror from makefile compilation done and possible to launch showtime even I can
get epg, but watching channels not working. Crashes with this log:

core [INFO]: Using 2 CPU
blobcache [INFO]: Initialized: 0 items consuming 0 bytes on disk in /home/igosr/.cache/showtime/bc2
i18n [INFO]: Unloading language definition
navigator [INFO]: Opening page:home
navigator [INFO]: Opening htsp://********************
HTTPSRV [INFO]: Listening on port 42000
GLW [INFO]: OpenGL Renderer: 'Mesa DRI R300 (RS600 7942) 20090101 NO-TCL DRI2' by 'DRI R300 Project'
HTSP [INFO]: Connected to ******:9982
GLW [INFO]: OpenGL driver does not provide adequate vertical sync capabilities. Using soft timers
navigator [INFO]: Opening htsp://
************:9982/channels
navigator [INFO]: Opening htsp://**********:9982/channel/108
CRASH [ERROR]: Signal: 11 in PRG: Showtime (3.5.32.g0e3fd.dirty) [0000000000000000000000000000000000000000] EXE: /home/igosr/showtime/build.linux/showtime, CWD: /home/igosr/showtime/build.linux
CRASH [ERROR]: Fault address ??:0 0x1c (Address not mapped)
CRASH [ERROR]: Loaded libraries: /usr/lib/libfreetype.so.6 /usr/lib/libfontconfig.so.1 /usr/lib/libX11.so.6 /usr/lib/libXext.so.6 /usr/lib/mesa/libGL.so.1 /usr/lib/libasound.so.2 /usr/lib/libpulse.so.0 /usr/lib/libgtk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libatk-1.0.so.0 /usr/lib/libgio-2.0.so.0 /usr/lib/libpangoft2-1.0.so.0 /usr/lib/libgdk_pixbuf-2.0.so.0 /lib/libm.so.6 /usr/lib/libpangocairo-1.0.so.0 /usr/lib/libcairo.so.2 /usr/lib/libpango-1.0.so.0 /usr/lib/libgobject-2.0.so.0 /usr/lib/libgmodule-2.0.so.0 /usr/lib/libgthread-2.0.so.0 /lib/librt.so.1 /lib/libglib-2.0.so.0 /usr/lib/libXss.so.1 /usr/lib/libXxf86vm.so.1 /usr/lib/libXv.so.1 /usr/lib/libavahi-common.so.3 /usr/lib/libavahi-client.so.3 /lib/libssl.so.0.9.8 /lib/libcrypto.so.0.9.8 /lib/libpthread.so.0 /lib/libdl.so.2 /lib/libz.so.1 /lib/libc.so.6 /lib/libexpat.so.1 /usr/lib/libxcb.so.1 /usr/lib/libXdamage.so.1 /usr/lib/libXfixes.so.3 /lib/libdrm.so.2 /usr/lib/libICE.so.6 /usr/lib/libSM.so.6 /usr/lib/libXtst.so.6 /usr/lib/libpulsecommon-0.9.21.so /us
CRASH [ERROR]: Register dump [23]: 0000000000000000 0000000000000000 00007fffa400bd80 0000000000000046 00007fffa400c050 00007fa9c40fc7e0 00007fa9d001f1f8 00007fffa400c050 00007fa9d001f1f8 0000000000000000 00007fa9d001f1f8 0000000000000000 00000000000002cd 0000000000000000 000000000000011d 00007fffa400bf68 00000000005a7ff4 0000000000010202 0000000000000033 0000000000000004 000000000000000e 0000000000000000 000000000000001c
CRASH [ERROR]: STACKTRACE
CRASH [ERROR]: /home/igosr/showtime/src/arch/trap_linux.c:161 0x538a67
CRASH [ERROR]: ??:0 0x7fa9dcd368f0
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_opengl_shaders.c:284 0x5a7ff4
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_opengl.c:487 0x5b1e79
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_opengl.c:521 0x5b222b
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_video_common.c:526 0x5b142e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_view_loader.c:141 0x5bdd7b
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_playfield.c:268 0x5a8fd6
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:432 0x59bd22
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_layer.c:149 0x5a3524
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_underscan.c:71 0x5afdd8
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_container.c:506 0x59a96e
CRASH [ERROR]: /home/igosr/showtime/src/ui/glw/glw_x11.c:896 0x5c1d73
CRASH [ERROR]: /home/igosr/showtime/src/ui/ui.c:150 0x5ce6f2
CRASH [ERROR]: /home/igosr/showtime/src/main.c:455 0x56a499
CRASH [ERROR]: __libc_start_main+0xfd (/lib/libc.so.6)
CRASH [ERROR]: ??:0 0x430bdd
Segmentation fault

When I launch it with gu interface channels works without problem, but can't get EPG :(

Any solutions?

Showtime won't work when running on low-end GPUs. It typically crashes like this. It's a known issue. Ssee bug #664 and #380

RE: can't get showtime up - Added by Igosr Petroff about 1 year ago

Finally I got it working on last ubuntu:
igosr@igosru:~$ uname -a
Linux igosru 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Some useful info:
there was compiler errors related to paths. After putting a few header files to /usr/include:
gdkconfig.h, glibconfig.h and making symlink ( I'm too lazy to edit headers)
ln -s /usr/include/gdk-pixbuf-2.0/gdk-pixbuf /usr/include/gdk-pixbuf,
compilation going without any errors :))
For now showtime working very good and fast, both gu and glw interfaces :)) OK
So think low-end GPU s no problem for now.

Regards.

58.png (195 KB)

59.png (172 KB)

48.png (814 KB)

48.png (330 KB)

30.png (378 KB)

(1-7/7)