shouso / gmote

Automatically exported from code.google.com/p/gmote
0 stars 0 forks source link

Issue with vlc > 1.1 on linux #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the Gmote server on a Linux box with VLC version 1.1 or newer
2. Connect from the phone to the pc
3. Try to run a video file

The server will fail with:
Nov 25, 2010 10:30:58 PM org.gmote.server.GmoteServer handleReceiveData
INFO: Received command: Command: RUN

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f65b76072a0, pid=26745, tid=140071907981072
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
# Problematic frame:
# C  [libc.so.6+0xe32a0]  tfind+0x20
#
# An error report file with more information is saved as:
# /opt/GmoteServerLinux2.0.0/hs_err_pid26745.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

The file /opt/GmoteServerLinux2.0.0/hs_err_pid26745.log has been attached.

The gmote server I'm running is the 2.0.0 on Ubuntu linux maverick meerkat 
10.10.

A difference between the vlc 1.0.x installed on the previous Ubuntu release 
(10.04 lucid lynx) and the one I have (vlc 1.1.5) is the handler 
libvlc_media_new_location() instead of the libvlc_media_new() that the old one 
has.

Original issue reported on code.google.com by dilu...@gmail.com on 25 Nov 2010 at 9:01

Attachments:

GoogleCodeExporter commented 8 years ago
This happens to me also on Ubuntu 10.10 64-bit, whenever I try to open any 
media file (music or video).

I also attach my log file. 

Original comment by richey.ward on 18 Jan 2011 at 5:35

Attachments:

GoogleCodeExporter commented 8 years ago
The problem can be solved by downloading the VLC 1.0.6 source code 
(http://download.videolan.org/pub/videolan/vlc/1.0.6/vlc-1.0.6.tar.bz2), 
extracting it (tar -xjf vlc-1.0.6.tar.bz2 && cd vlc-1.0.6) configuring it 
(./configure --prefix=/usr), compiling it (make) and installing it (sudo make 
install). Of course the build-essentials package must be installed and a LOT of 
other development packages, but afterwards it works like a dream (the only 
drawback being the 1.0.x series vlc, instead of 1,1.x; minor)

Of course this is until the guys that develop gmote construct a version that 
uses the correct calls :) (i.e. libvlc_media_new_location() instead of 
libvlc_media_new())

Original comment by dilu...@gmail.com on 18 Jan 2011 at 6:05

GoogleCodeExporter commented 8 years ago
Well, just for fun, I tried to update code for vlc 1.1.5 (fc14.x86_64)

Changes/hacks aren't trivial, had to reimplement Playlist class with own code, 
as old vlc api for playlist has gone and MediaListPlayer api doesn't fit needs.

One can try my archives from 
https://github.com/meadow/gmoteserver-hacks/archives/master

Still, I have sometimes crashes with tray context menu, but, i believe, these 
are java.awt/x64 bugs

Original comment by nlugo...@gmail.com on 22 Jan 2011 at 3:46

GoogleCodeExporter commented 8 years ago
Hi

I have tried your hack for gmote and it's working well on Ubuntu 10.10 x86

I have creashes with tray context menu too, but it doesn't matter me now.

It's wonderfull. Good work. Thanks a lot.

Original comment by robin.la...@gmail.com on 27 Jan 2011 at 1:36

GoogleCodeExporter commented 8 years ago
your hack works for me. gentoo x86, vlc 1.1.6.

thank you.

Original comment by marko.ho...@gmail.com on 7 Feb 2011 at 9:46

GoogleCodeExporter commented 8 years ago
github page which contains the hack is no more available
would someone please upload the source somewhere?
thanks

Original comment by tommaso....@gmail.com on 15 Apr 2011 at 9:38

GoogleCodeExporter commented 8 years ago
I have installed the daily build from vlc (1.2.0) via ppa on ubuntu. I am still 
recieving the same error. What can i do?
Thank you very much.

Original comment by maltej...@gmail.com on 7 May 2011 at 9:07

GoogleCodeExporter commented 8 years ago
I have the same issue! Does anybody know of any plans for new Linux Gmote 
server or we should be looking for some hacks/patches.

Original comment by nb.alex...@gmail.com on 17 Oct 2011 at 7:56

GoogleCodeExporter commented 8 years ago
I have the same issue. If the problem is with the newer versions of VLC, can we 
change the default player? According to this:
http://www.gmote.org/faq#Can_I_use_a_media_player_other
it seems like that Windows media player can be use as a default player in a 
windows environment. Do you know how to use totem instead of vlc in Linux?

Original comment by g.firm...@gmail.com on 23 Oct 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Same problem here. the development for this software has been stopped for over 
2 years. not really hopeful to see it working anymore 

Original comment by nimaghaf...@gmail.com on 23 Feb 2012 at 3:48

GoogleCodeExporter commented 8 years ago
Is the source code available ?

Original comment by smi...@gmail.com on 20 May 2012 at 5:15