AK 2.0.0 crashes on startup on Xubuntu 20.04 64bits

What is Arkos Tracker? Forums Arkos Tracker forum Bug reports AK 2.0.0 crashes on startup on Xubuntu 20.04 64bits

Tagged: 

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #30350
    cpcitor
    Participant

    Hi Arkos!

    You have found a bug? Please check first that is was not previously reported here.

    Not found similar bug report.

    We also need to know:
    – What machine you are using (what OS, what version).

    Xubuntu 20.04 64bits, up-to-date.

    – A detailed procedure for us to reproduce the bug.

    Download from http://www.julien-nevo.com/arkostracker/release/linux64/Arkos%20Tracker%202%20Linux64.zip . Unzip. Launch from command line, either cd then ./ArkosTracker2 or add /full/path/to/ArkosTracker2 to PATH, same result.

    Expected: can use program.

    Observed: window appears in a flash, terminal says:

    [[code]]czo0ODE6XCIuL0Fya29zVHJhY2tlcjIgCgouL0Fya29zVHJhY2tlcjIoKSBbMHg3Yzg3MzddCi4vQXJrb3NUcmFja2VyMigpIFsweDd7WyYqJl19MGJhNTldCi4vQXJrb3NUcmFja2VyMigpIFsweDdiYTU1ZF0KL2xpYi94ODZfNjQtbGludXgtZ251L2xpYnB0aHJlYWQuc28uMCgrMHtbJiomXX14MTUzYzApIFsweDdmZjIzOWY3ZDNjMF0KL2xpYi94ODZfNjQtbGludXgtZ251L2xpYnN0ZGMrKy5zby42KF9fZHluYW1pY19jYXN0e1smKiZdfSsweDU2KSBbMHg3ZmYyMzlkYTVmMTZdCi4vQXJrb3NUcmFja2VyMigpIFsweDlhYzQzMl0KLi9Bcmtvc1RyYWNrZXIyKCkgWzB4OTV7WyYqJl19NWNmOV0KLi9Bcmtvc1RyYWNrZXIyKCkgWzB4ODU5N2IzXQouL0Fya29zVHJhY2tlcjIoKSBbMHg0ZThiMmNdCi9saWIveDg2XzY0LXtbJiomXX1saW51eC1nbnUvbGliYy5zby42KF9fbGliY19zdGFydF9tYWluKzB4ZjMpIFsweDdmZjIzOTljODBiM10KLi9Bcmtvc1RyYWNrZXIye1smKiZdfSgpIFsweDRlYWNlOV0KUHJvY2Vzc3VzIGFycsOqdMOpXCI7e1smKiZdfQ==[[/code]]

    ## Additional information

    2.0.0a9 and others worked and still work.

    ~/.config/ArkosTracker2/crashlog.txt says:

    [[code]]czo3NDc6XCIKKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgpQbGVhc2UgcmV7WyYqJl19cG9ydCB0aGlzIHRvIHRoZSBhdXRob3Igb2YgQXJrb3MgVHJhY2tlci4gSGUgbWF5IGJlIGludGVyZXN0ZWQuCkxvZyBzdGFydGVkOntbJiomXX0gMjQgRGVjIDIwMjAgNDoyMjoyMXBtCgpDUFUgbW9kZWw6IEludGVsKFIpIENvcmUoVE0pIGk1LTEwMjEwVSBDUFUgQCAxLjYwR0h6e1smKiZdfQpDUFUgdmVuZG9yOiBHZW51aW5lSW50ZWwKRGV2aWNlOiAKT1M6IExpbnV4ClBoeXNpY2FsIENQVSBjb3VudDogNApDUFUgY291bnR7WyYqJl19OiA4CgouL0Fya29zVHJhY2tlcjIoKSBbMHg3Yzg3MzddCi4vQXJrb3NUcmFja2VyMigpIFsweDcwYmUzY10KLi9Bcmtvc1RyYWNrZXtbJiomXX1yMigpIFsweDdiYTU1ZF0KL2xpYi94ODZfNjQtbGludXgtZ251L2xpYnB0aHJlYWQuc28uMCgrMHgxNTNjMCkgWzB4N2Y4MGFiYzQwe1smKiZdfTNjMF0KL2xpYi94ODZfNjQtbGludXgtZ251L2xpYnN0ZGMrKy5zby42KF9fZHluYW1pY19jYXN0KzB4MjIpIFsweDdmODBhYmE2OGV7WyYqJl19ZTJdCi4vQXJrb3NUcmFja2VyMigpIFsweDlhYzQzMl0KLi9Bcmtvc1RyYWNrZXIyKCkgWzB4OTU1Y2Y5XQouL0Fya29zVHJhY2tlcntbJiomXX0yKCkgWzB4ODU5N2IzXQouL0Fya29zVHJhY2tlcjIoKSBbMHg0ZThiMmNdCi9saWIveDg2XzY0LWxpbnV4LWdudS9saWJjLnNvLjYoe1smKiZdfV9fbGliY19zdGFydF9tYWluKzB4ZjMpIFsweDdmODBhYjY4YjBiM10KLi9Bcmtvc1RyYWNrZXIyKCkgWzB4NGVhY2U5XQpcIjt7WyYqJl19[[/code]]

    Thank you for your attention.

    #30351
    cpcitor
    Participant

    Hmm, used backticks to quote code as this forum software offers, looks like code got jumbled. Also, tried link to edit my post, goes to another post not in edit mode.

    Copy-pasting again, without any markup:

    ./ArkosTracker2

    ./ArkosTracker2() [0x7c8737]
    ./ArkosTracker2() [0x70ba59]
    ./ArkosTracker2() [0x7ba55d]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7ff239f7d3c0]
    /lib/x86_64-linux-gnu/libstdc++.so.6(__dynamic_cast+0x56) [0x7ff239da5f16]
    ./ArkosTracker2() [0x9ac432]
    ./ArkosTracker2() [0x955cf9]
    ./ArkosTracker2() [0x8597b3]
    ./ArkosTracker2() [0x4e8b2c]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ff2399c80b3]
    ./ArkosTracker2() [0x4eace9]
    Processus arrêté

    ~/.config/ArkosTracker2/crashlog.txt says:

    **********************************************************
    Please report this to the author of Arkos Tracker. He may be interested.
    Log started: 24 Dec 2020 4:27:47pm

    CPU model: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    CPU vendor: GenuineIntel
    Device:
    OS: Linux
    Physical CPU count: 4
    CPU count: 8

    ./ArkosTracker2() [0x7c8737]
    ./ArkosTracker2() [0x70be3c]
    ./ArkosTracker2() [0x7ba55d]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f5b613c63c0]
    /lib/x86_64-linux-gnu/libstdc++.so.6(__dynamic_cast+0x44) [0x7f5b611eef04]
    ./ArkosTracker2() [0x9ac432]
    ./ArkosTracker2() [0x955cf9]
    ./ArkosTracker2() [0x8597b3]
    ./ArkosTracker2() [0x4e8b2c]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f5b60e110b3]
    ./ArkosTracker2() [0x4eace9]

    Thanks.

    #30352
    Targhan
    Keymaster

    Wow, thanks. However, it is going difficult to correct… Unless I install the same OS. I’ll see what I can do, but I don’t promise anything…!

    #30353
    garvalf
    Participant

    I’m using up-to-date Linux Mint which is using a similar basis as Xubuntu 20.04, and Arkos 2.0.0 is working fine here.

    Try this:
    ldd ArkosTracker2

    to check if there are some dependencies problem (even though the resulting error should be different)

    Have you tried to run the 32 bit version as a workaround?

    #30359
    cpcitor
    Participant

    Thanks @garvalf for your reply.

    ldd ./ArkosTracker2

    linux-vdso.so.1 (0x00007ffcd198c000)
    libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007fc8a3b5f000)
    libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fc8a3aa0000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc8a3a95000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc8a3a8f000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc8a3a6c000)
    libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fc8a39e4000)
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc8a3801000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc8a36b2000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc8a3697000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc8a34a5000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fc8a3c8e000)
    libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fc8a346d000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc8a3451000)
    libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fc8a3397000)
    libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fc8a3363000)
    libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc8a3226000)
    libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc8a31fc000)
    libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc8a31f6000)
    libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc8a31ec000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fc8a31d2000)

    Downloaded the 32bit version, fails to start.

    ./ArkosTracker2

    ./ArkosTracker2: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

    ldd ./ArkosTracker2

    linux-gate.so.1 (0xf7fc1000)
    libasound.so.2 => not found
    libfreetype.so.6 => not found
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7f7f000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7f79000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7f56000)
    libGL.so.1 => not found
    libstdc++.so.6 => /lib32/libstdc++.so.6 (0xf7d78000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7c73000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7c54000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7a65000)
    /lib/ld-linux.so.2 (0xf7fc2000)

    Ah, binaries are not static, they depend on local libraries, and since this was not installed as a Debian package, there’s no way the system can automatically tell which packages are needed. I could do guesswork and install 32bit libraries, as a temporary workaround.

    Have you tried the 32bit version?

    #30360
    cpcitor
    Participant

    > Wow, thanks. However, it is going difficult to correct… Unless I install the same OS.

    Should be reproducible in a VM. I tried and… “./ArkosTracker2: No such file or directory” while the executable is in the current directory, with proper execution permission.

    And no /home/<username>/.config/ArkosTracker2/crashlog.txt

    > I’ll see what I can do, but I don’t promise anything…!

    You’re welcome.

    Also, thank you for considering open-sourcing the tools. When this software becomes open-source, it might be easier to provide more precise feedback, perhaps even a pull request on your public code repository.

    Following http://www.julien-nevo.com/arkostracker/index.php/troubleshooting/ I tried

    ./ArkosTracker2 –useOpenGL 0

    and it worked. I now have a workaround.

    Besides, version 2.0.0a9 still works with or without this option in the very same computer, setup etc.

    #30365
    Admin
    Keymaster

    Are you implying that V2.0.0 is NOT working on your setup, but V2.0.0a9 does? I switched to Juce 6 for the V2.0.0 version…

    #30366
    cpcitor
    Participant

    > Are you implying that V2.0.0 is NOT working on your setup, but V2.0.0a9 does? I switched to Juce 6 for the V2.0.0 version…

    Yes, I confirm what I wrote in the first bug report : “2.0.0a9 and others worked and still work.”

    The switch to Juce6 might be related.

    #30367
    cpcitor
    Participant

    To be perfectly precise:

    2.0.0a9, no arg : work
    2.0.0a9, –useOpenGL 0 : work
    2.0.0 final, no arg: crash
    2.0.0 final, –useOpenGL 0 : work

    #30368
    Admin
    Keymaster

    Ok, thanks. Maybe I’ll revert in the next release, I don’t think I saw anything relevant in my use-cases.

    #30489
    Targhan
    Keymaster

    I’ve added two (new?) solutions to the troubleshooting page, in case cpcitor didn’t manage to make it work. Hope it will!

    #30490
    cpcitor
    Participant

    Hi Targhan, thanks for the reply.

    Summary: bug practically solved.

    Not sure I see any solution, none in section “The app crashed!” of https://www.julien-nevo.com/arkostracker/index.php/troubleshooting/ and other parts of the page mention “–useOpenGL 0”.

    Anyway, tested again with 2.0.1 – 20/03/21:

    “ArkosTracker2” works.
    “ArkosTracker2 –useOpenGL 0” also works.
    “ArkosTracker2 –useOpenGL 1” fails exactly like before.

    Conclusion : the default just works, I consider the bug solved.

    Cheers!

    #30496
    Targhan
    Keymaster

    I was actually referring to the top of the new (and first) section about crashes in Linux. It seems you are missing a dependency. Another person had an “not so different” stacktrace, but under Mint 20.1, and by installing at least one of the three dependencies in the troubleshooting section, it worked. I also reproduced that in a VM.

    The default is actually “opengl 1”. It became a default because to switched it to 0 :).

    If it still doesn’t work, I’ll investigate further, and install a VM of your distro.

    #30497
    cpcitor
    Participant

    Hi!

    Looks like all dependencies are found here:

    ldd ./ArkosTracker2

    linux-vdso.so.1 (0x00007ffdb1ff8000)
    libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f9945c28000)
    libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f9945b69000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9945b5e000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9945b58000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9945b35000)
    libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f9945aad000)
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f99458ca000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f994577b000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9945760000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f994556e000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f9945d57000)
    libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f9945536000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f994551a000)
    libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f9945460000)
    libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f994542c000)
    libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f99452ef000)
    libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f99452c5000)
    libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f99452bf000)
    libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f99452b5000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f994529b000)

    Crash mentions libpthread.so.0 libstdc++.so.6 and libc.so.6 which are basic dependencies and installed.

    Notice that the *-dev packages are needed to compile programs, but “most certainly” not to run them. Unless you do run-time compilation, which I doubt.

    > sudo apt-get -y install g++<br /><br />

    The two br html tags are probably unwanted there.

    #30499
    Targhan
    Keymaster

    >Notice that the *-dev packages are needed to compile programs, but “most certainly” not to run them.

    Yet at least one was needed when I tried to run the program on a bare Mint 20.1.

    >The two br html tags are probably unwanted there.
    Thanks! Damn this WordPress editor… So clumsy to add simple code blocks!!!!

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.