WhatPulse Forums » Support » Client software v » Trouble with Ubuntu 18.10 Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with Ubuntu 18.10
02-07-2019, 01:50 PM
Post: #21
RE: Trouble with Ubuntu 18.10
Maybe you can allow us to use third client and flag us to not be in rank ?
For example, i don't care about ranking, so you can flag my account to not be in rank and you can allow me to use third client.
Find all posts by this user
Quote this message in a reply
02-15-2019, 12:27 PM (This post was last modified: 02-15-2019 12:31 PM by darksidersforge.)
Post: #22
RE: Trouble with Ubuntu 18.10
You could also just tell us which versions of that librarys you're linking against, which Patchset and include them in the download

OR

use AppImage for example (as someone said before), as it allows you to pack your binary together with everything it needs into a single archive and executes with said librarys that are coming with it INSTEAD of the librarys given by the system it runs on itself. You wouldn't have to open source the code but can deliver the same experience almost across all Distros.

In your exact case it would be a god-send, if you ask me, simplifies that problem here down to which Versions you're packing into it and vice versa
Find all posts by this user
Quote this message in a reply
02-20-2019, 01:07 AM (This post was last modified: 02-20-2019 01:07 AM by flotwig.)
Post: #23
RE: Trouble with Ubuntu 18.10
(02-15-2019 12:27 PM)darksidersforge Wrote:  You could also just tell us which versions of that librarys you're linking against, which Patchset and include them in the download

OR

use AppImage for example (as someone said before), as it allows you to pack your binary together with everything it needs into a single archive and executes with said librarys that are coming with it INSTEAD of the librarys given by the system it runs on itself. You wouldn't have to open source the code but can deliver the same experience almost across all Distros.

In your exact case it would be a god-send, if you ask me, simplifies that problem here down to which Versions you're packing into it and vice versa

With `ldd` you can figure out what libraries are linked. If you can find a way to get these requirements satisfied WhatPulse might work.

Code:
➜ ldd whatpulse
    linux-vdso.so.1 (0x00007ffeec4e0000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f0dc6d98000)
    libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f0dc6a8a000)
    libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f0dc6432000)
    libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f0dc5ec7000)
    libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x00007f0dc5e7c000)
    libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f0dc5cd6000)
    libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f0dc5c95000)
    libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f0dc5735000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f0dc56a1000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0dc5680000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0dc54f6000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0dc5369000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0dc534d000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0dc5163000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f0dc513a000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0dc5134000)
    libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f0dc4f02000)
    libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f0dc4e4f000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0dc4c30000)
    libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f0dc478f000)
    libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f0dc43d8000)
    libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f0dc41c7000)
    libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f0dc40aa000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0dc7513000)
    libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f0dc4074000)
    libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f0dc3fb7000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f0dc3db3000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f0dc3bad000)
    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f0dc38f9000)
    libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f0dc38ca000)
    libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f0dc1d21000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f0dc1cad000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f0dc1a96000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0dc1a8c000)
Find all posts by this user
Quote this message in a reply
02-20-2019, 11:46 AM
Post: #24
RE: Trouble with Ubuntu 18.10
(02-20-2019 01:07 AM)flotwig Wrote:  With `ldd` you can figure out what libraries are linked. If you can find a way to get these requirements satisfied WhatPulse might work.

Code:
➜ ldd whatpulse
    linux-vdso.so.1 (0x00007ffeec4e0000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f0dc6d98000)
    libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f0dc6a8a000)
    libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f0dc6432000)
    libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f0dc5ec7000)
    libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x00007f0dc5e7c000)
    libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f0dc5cd6000)
    libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f0dc5c95000)
    libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f0dc5735000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f0dc56a1000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0dc5680000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0dc54f6000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0dc5369000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0dc534d000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0dc5163000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f0dc513a000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0dc5134000)
    libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f0dc4f02000)
    libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f0dc4e4f000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0dc4c30000)
    libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f0dc478f000)
    libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f0dc43d8000)
    libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f0dc41c7000)
    libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f0dc40aa000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0dc7513000)
    libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f0dc4074000)
    libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f0dc3fb7000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f0dc3db3000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f0dc3bad000)
    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f0dc38f9000)
    libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f0dc38ca000)
    libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f0dc1d21000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f0dc1cad000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f0dc1a96000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0dc1a8c000)

Sadly the versioning string of the library doesnt tell me the actual needed Version of which specific distribution(yes, the versioning and patches of distributions differ..) - or if its just a difference between SQLite and the Qt drivers for it.
Find all posts by this user
Quote this message in a reply
02-22-2019, 04:01 PM
Post: #25
RE: Trouble with Ubuntu 18.10
I have a similar issue on Ubuntu 16.04. In my case, however, the app works and crashes after ~17 minutes.
Any ideas how to debug it? Can I disable database backup?

Code:
22-02-2019 16:59:34.645 DEBUG Starting backup of database to:  "/home/user/.local/share/WhatPulse/whatpulse.db.backup"
Application crashed with signal 11!
0 [./whatpulse(+0x178344) [0x55d91920a344]]
1 [./whatpulse(+0x1ae39d) [0x55d91924039d]]
2 [./whatpulse(sqlite3_backup_step+0x357) [0x55d91924a137]]
3 [./whatpulse(_Z8backupDbP7sqlite3PKcPFviiE+0x6b) [0x55d919173b6b]]
4 [./whatpulse(_ZN11Application14backupDatabaseEv+0x2a5) [0x55d919173f65]]
5 [./whatpulse(_ZN12QtConcurrent15RunFunctionTaskIvE3runEv+0x2b) [0x55d91915b19b]]
6 [/opt/qt59/lib/libQt5Core.so.5(+0xaab97) [0x7fce5426cb97]]
7 [/opt/qt59/lib/libQt5Core.so.5(+0xae779) [0x7fce54270779]]
Aborted (core dumped)
Find all posts by this user
Quote this message in a reply
02-27-2019, 10:21 AM
Post: #26
RE: Trouble with Ubuntu 18.10
Here are commands to workaround repeated crash. They can be put in a script.

Code:
source /opt/qt59/bin/qt59-env.sh
while true; do /home/viktor/apps/whatpulse/whatpulse --closedwindow && break; done

1st line sets the environment for qt 5.9 libs from PPA as Ubuntu 16.10 repository only offers 5.5 version.
2nd line restarts whatpulse service, i.e. no window, every time when the app crashes.
Find all posts by this user
Quote this message in a reply
02-28-2019, 04:49 PM (This post was last modified: 02-28-2019 04:54 PM by darksidersforge.)
Post: #27
RE: Trouble with Ubuntu 18.10
At this point im down to some Segmentation fault, when going whatpulse to allow setting itself suid and permissions up. DONT DO THAT. So if you encounter that, just click GOD NO, and if you agreed, delete the binary so you can get rid of the suid flag and start it with sudo:
Quote:#!/bin/bash
export LD_LIBRARY_PATH=`pwd`/lib
export QT_PLUGIN_PATH=`pwd`/plugins

while true; do ./whatpulse --closedwindow && break; done # credit to viktor ^^

You need QT 5.9.11(base package, just google it, if you take that from the ppa(https://launchpad.net/~beineri/+archive/...0-xenial), open it(.deb is just tar.gz with a fancy name, basically) and take it out of the data.tar.gz) and 64-bit libicu60_60(http://archive.ubuntu.com/ubuntu/pool/ma...amd64.deb) to get it running. Create an directory named "whatpulsed-env" or whatever, Copy the /opt/qt511 out of the qt archive into it, create that script above in your created directory(call it whatever you want and chmod +x on it), copy from the libicu60(respective the data.tar.gz archive in it) /usr/lib/x86_64-linux-gnu/ into your folder(NOT in a new directory, you need the .so's in the same directory as the binary to get it recognized by the linker!).

The Last step is just copying your whatpulse binary into the directory you created. Find&copy: cp `which whatpulse` .

You should now be able to run sudo ./exec.sh (that script above), which fixes whatpulse requesting more permissive flags and the QT-Pluginpathes. If it requests them still, just say no and restart. If you however allow it, you will have to delete the binary or strip that flags of. Thus, just say no, and when yes... copy the i original binary back into the folder.

@victor: Thanks for the hint on Qt V5.9! :-) Helped alot in that journey.

EDIT: Im btw. on Arch.
Find all posts by this user
Quote this message in a reply
03-19-2019, 08:36 AM
Post: #28
RE: Trouble with Ubuntu 18.10
Hey! Very useful post, but both links are dead. Care to reup?
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Sad Linux Client Installation(Ubuntu 18.04) ThatBlazyScouter 4 1,109 11-09-2018 11:27 AM
Last Post: phrenq
  Updated build for Ubuntu 18.04 will be needed dgw 11 3,606 10-22-2018 09:37 AM
Last Post: dgw
Smile Application usage on Ubuntu juniorain 3 1,350 05-26-2018 03:47 PM
Last Post: juniorain
  Ubuntu 17.10 Whatpulse No System Tray aaronmao 1 1,966 04-27-2018 05:23 AM
Last Post: dgw
  2.8.1 issues on Ubuntu sim642 2 2,241 04-11-2018 10:56 AM
Last Post: dgw
  [CLOSED] Network traffic not recorded on Ubuntu 16.04 LTS GnaXi 6 6,014 12-30-2017 09:31 AM
Last Post: cheeseandcereal
Question [CLOSED] Whatpulse 2.8.x for Linux/Ubuntu bogy 1 2,909 07-08-2017 02:54 PM
Last Post: sz_
  Whatpulse crashes system on ubuntu using intel graphics Wilson18com 0 2,104 05-28-2017 01:11 AM
Last Post: Wilson18com
  Ubuntu on Mac SeeEmAge 0 1,906 04-29-2016 09:10 PM
Last Post: SeeEmAge
  Memory leak WhatPulse 2.6.3 on Ubuntu 15.04 Wouter0100 2 3,564 01-07-2016 11:52 AM
Last Post: Wouter0100

Forum Jump:


User(s) browsing this thread: 1 Guest(s)