bugDenemo - Bugs: bug #61107, Denemo 2.5.1 64-bit AppImage does...

 
 

bug #61107: Denemo 2.5.1 64-bit AppImage does not start

Submitter:  None
Submitted:  Thu 02 Sep 2021 12:24:46 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Oct 2021 12:42:14 PM UTC, comment #5: 

The Preferences/Audio/Output device was changed back to 'default' and audio output still works.

Anonymous
Wed 27 Oct 2021 02:55:29 PM UTC, comment #4: 

 you wrote:
"fixed the sound by pointing the audio output in Preferences/Audio/Output device to "ALSA: HDA Intel PCH: HDMI 0(hw:0,3)"

This fix will work, but has the drawback that Denemo will hog the output (and correspondingly won't be able to start playing if something else is using it).
The correct fix is outside of Denemo - in the Alsa control panel you should set up the default device to be the one you want and specify "default" in Denemo. Then Denemo will coexist with other programs (vlc, audacity etc).


" GLib - CRITICAL: g_string_assign: assertion 'string != NULL' failed" that is happening on every start, fortunately it is harmless

Thank you for the feedback about the initial start up - I've often wondered whether people would find it just too annoying.

Richard Shann <rshann>
Group administrator
Wed 27 Oct 2021 02:28:25 PM UTC, comment #3: 

Thank you for pointing out the flatpak version. I tried the 32-bit binary file for version 2.2.0 as well as the flatpak. Both started and worked without sound though the 2.5.0 version looks better!

In the flatpak version, I fixed the sound by pointing the audio output in Preferences/Audio/Output device to "ALSA: HDA Intel PCH: HDMI 0(hw:0,3)" as that is where my speakers are.

There is one little concern still though it doesn't seem to be affecting anything yet. Among the startup messages in the terminal for the flatpak denemo-2.5.0, this was the only one in red.
  GLib - CRITICAL: g_string_assign: assertion 'string != NULL' failed

The extra messages for new users, the ability to turn them off later, the First Steps video and the manual are all helpful to learn how to use the package. Thank you very much for this great package.

Anonymous
Sun 19 Sep 2021 01:24:40 PM UTC, comment #2: 

There is now a flatpak version of Denemo which may suit you better - see Downloads page of denemo.org

Richard Shann <rshann>
Group administrator
Thu 02 Sep 2021 02:20:54 PM UTC, comment #1: 

This is a different problem from  bug #59547 as there is a problem with the library
libgtk-3.so.0
failing to provide a symbol that Denemo has been compiled to expect. I've just checked the contents of that library which is copied from my machine's /usr/lib/x86_64-linux-gnu as part of building the AppImage and the symbol is indeed there:

rshann@debian:/usr/lib/x86_64-linux-gnu$ strings libgtk-3.so.0 | grep g_log_structured
g_log_structured

(well, technically that just proves that the string is present ...)

I'm not at all sure how this can be debugged further - the AppImage folk might have an idea, it may be possible to extract the libraries from the AppImage and then do a comparison with the original library or something.

Richard Shann <rshann>
Group administrator
Thu 02 Sep 2021 12:24:46 PM UTC, original submission:  

Denemo 2.5.1 64-bit AppImage does not start on my desktop PC.

OS is LinuxMint 18.3 64-bit version with Xfce desktop environment.

The AppImage file is marked as executable. Cannot find any information on the internet on what needs to be done to correct the problem.

Messages in terminal follow:
"""
~$ ./denemo_2.5.1.AppImage
/tmp/.mount_denemoPgDvzw
(null) - WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-elsmQkEYg0: Connection refused
Denemo data expected in /tmp/.mount_denemoPgDvzw/share/denemo
Denemo - WARNING : Failed to add font dir /tmp/.mount_denemoPgDvzw/share/denemo/fonts.
Denemo - MESSAGE : Loading preference file: /home/tc/.denemo-2.5.1/denemorc
Running lilypondLog level set to 287
Denemo - MESSAGE : Audio driver is 'portaudio'
Denemo - MESSAGE : Initializing Fluidsynth
fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible.
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Denemo - MESSAGE : Initializing PortAudio backend
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Denemo - MESSAGE : Opening output device 'ALSA: default'
Denemo - MESSAGE : MIDI driver is 'portmidi'
Denemo - MESSAGE : Initializing PortMidi backend
Denemo - MESSAGE : Opening input device 'ALSA: Midi Through Port-0'
Denemo - MESSAGE : Output device is disabled
./bin/denemo: symbol lookup error: /tmp/.mount_denemoPgDvzw/lib/libgtk-3.so.0: undefined symbol: g_log_structured
"""
------------------------------------

This problem is similar to bug #59547: Denemo does not start.

I followed the instructions in rshann's last comment to edit the denemorc XML file and the results are below the referred comment in the bug report.

"Thu 10 Dec 2020 11:50:44 AM UTC, comment #10:

Thank you for the debug output. From this it is clear that opening the default output audio device (and/or the input MIDI device) causes the ALSA library to crash.
In this circumstance the only way to choose an audio output device is to edit the file
~/denemo-2.4.5/denemorc

at the line 72

    <portaudio_device>default</portaudio_device>

to become

    <portaudio_device>none</portaudio_device>

As a precaution, it would be good to also disable the MIDI in device line 76 to become

    <portmidi_input_device>none</portmidi_input_device>

with these edits, the program should start and it would be possible to choose from the Edit menu

Edit->Change Preferences

at the Audio tab the output device that works (if any!).

The program will work without audio, but it is easier to use with audio feedback.
If you can report back on the behavior with this startup file I would be very grateful."


Messages in terminal after editing the denemorc file follow:
"""
~ $ ./denemo_2.5.1.AppImage
/tmp/.mount_denemobXerHv
(null) - WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-XzvuJ9VPlL: Connection refused
Denemo data expected in /tmp/.mount_denemobXerHv/share/denemo
Denemo - WARNING : Failed to add font dir /tmp/.mount_denemobXerHv/share/denemo/fonts.
Denemo - MESSAGE : Loading preference file: /home/tc/.denemo-2.5.1/denemorc
Running lilypondLog level set to 287
Denemo - MESSAGE : Audio driver is 'portaudio'
Denemo - MESSAGE : Initializing Fluidsynth
fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible.
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Denemo - MESSAGE : Initializing PortAudio backend
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Denemo - WARNING : Invalid device 'none'
Denemo - WARNING : Initializing audio backend 'portaudio' failed, falling back to dummy
Denemo - MESSAGE : Initializing dummy audio backend
Denemo - MESSAGE : MIDI driver is 'portmidi'
Denemo - MESSAGE : Initializing PortMidi backend
Denemo - MESSAGE : Input device is disabled
Denemo - MESSAGE : Output device is disabled
./bin/denemo: symbol lookup error: /tmp/.mount_denemobXerHv/lib/libgtk-3.so.0: undefined symbol: g_log_structured
"""

Please let me know if any more information is required. Other than compiling from source code, I should be able to follow other instructions.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-27 rshann StatusNone Postponed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code