[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - latest smtube gives Floating point exception on ubuntu 16.04
Page 2 of 3

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 11:13 am
by rvm

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 12:54 pm
by ronpriest
I have solved this problem by recompiling smtube from the source code
after installing its dependancies qt4dev....etc..etc
its now working

Thanks for your help

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 2:09 pm
by rvm
Glad that you found a solution.

Did you try first my suggestion to create the file ~/.config/smplayerhdpi.ini?

I think many other people could be affected by this problem. So I'd like to fix it. I think it can be caused by the new High DPI support (only available if compiled with Qt 5). That's why I asked you to modify that file, to turn that feature off. If that doesn't fix the problem at least I would know that the problem is not there.

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 2:52 pm
by ronpriest
I will uninstall smtube and install again from the ppa ,yes its 16.6
if it works without me recompiling it again then it was a dependancy problem
I will also try your suggestion in the previous post

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 4:49 pm
by ronpriest
Ok I installed a fresh copy of Linux Lite 3.0 (16.04 ubuntu based) to recreate the original problem
did all the updates
installed smplayer smtube version 16.6 from ppa as normal
and got the same Floating point exception error as before
I then tried your fix

/home/ron/.config/smplayerhdpi.ini with the content you specified

click the smplayer icon and lo and behold all is working

Well Done

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 7:50 pm
by rvm
Thank you very much for your testing.

I'll install Linux Lite 3.0 and try to reproduce the problem.

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Tue Jun 07, 2016 10:32 pm
by rvm
I installed Linux Lite 3.0 (32 bit) on a virtual machine, installed all the updates but still smtube works fine.

I'll try tomorrow with the 64 bit version.

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Wed Jun 08, 2016 10:46 am
by ronpriest
OK
I will Recap Briefly
I have 3 64 bit machines at my home

One machine 1 I installed Challet OS 64bit (16.04 ubuntu based)
then install smplayer smtube from ppa
smtube works fine
then installed all OS updates
smtube stops working and gives Floating point exception error
smplayerhdpi.ini IS NOT present in /.config

On machine 2 I installed Linux Lite 3.0 64 bit (16.04 ubuntu based)
then install smplayer smtube from ppa
smtube works fine
then install all OS updates
smtube stops working giving Flaoating point exception error
smplayerhdpi.ini IS NOT present in /.config

On machine 3 I installed Challet OS 32 BIT (16.04 UBUNTU BASED)
then installed smplayer smtube from ppa
smtube works fine
then Installed all OS updates
smtube still works fine
and smplayerhdpi.ini IS PRESENT in /.config

SO smplayerhdpi.ini seems to be present on 32 Bit but absent on 64 Bit machines

In both cases of the 64 bit machines creating smplayerhdpi.ini manually set to disabled
and placing it in /.config solves the problem

So why is smplayerhdpi.ini missing in the case of the 64bit machines
yet present on the 32 bit ?

The mystery deepens

hope this helps
have a nice day

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Wed Jun 08, 2016 11:01 am
by rvm
smplayerhdpi.ini is created on the first run but it seems smtube crashes before it can save it.

Re: latest smtube gives Floating point exception on ubuntu 1

PostPosted: Wed Jun 08, 2016 11:49 am
by rvm
I've just installed Linux Lite 3.0 64 bit on a virtualbox, installed the updates, I can't still experience any crashes at all :?