Rosegarden 21.12 Crashes

Still new to all of this? Feel free to post in any of the subforums on this site, but in this subforum newbie questions are especially encouraged!

Moderators: MattKingUSA, khz

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Impostor wrote: Tue Nov 28, 2023 12:09 pm
OmegAudio wrote: Tue Nov 28, 2023 12:22 am

I went back to the original script: ~$ sudo chown -R $USER:$USER ~ (I replaced user with my name)
The script takes only a second or two to run. And my RoseGarden test files do not change owner or group.

OmegAudio wrote: Tue Nov 28, 2023 12:22 am

I ran the code: sudo chown -R $user:$user ~ (user is replacement for actual name)

If you mean you ran
sudo chown -R $jack:$jack ~
if your username is jack, that doesn't work. USER is a specific environment variable, $USER is its value. When you run the command with your username jack, you should replace $USER with jack.

sudo chown -R jack:jack ~

but you could just run it with $USER, provided you're not logged in as root, or use a root shell (in the latter case the terminal prompt has changed from ~$ to #, don't know about the former). You can check with
echo $USER
ran verbatim.

This is the exact script I ran:
sudo chown -R chris:chris ~

User avatar
Impostor
Established Member
Posts: 1392
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 148 times
Been thanked: 366 times

Re: Rosegarden 21.12 Crashes

Post by Impostor »

OmegAudio wrote: Tue Nov 28, 2023 7:46 pm

This is the exact script I ran:
sudo chown -R chris:chris ~

What does
echo $USER
return?

folderol
Established Member
Posts: 2083
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 232 times
Been thanked: 400 times
Contact:

Re: Rosegarden 21.12 Crashes

Post by folderol »

I wonder if you've somehow managed to get ownership but not write permission.

The Yoshimi guy {apparently now an 'elderly'}
OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Impostor wrote: Tue Nov 28, 2023 8:06 pm
OmegAudio wrote: Tue Nov 28, 2023 7:46 pm

This is the exact script I ran:
sudo chown -R chris:chris ~

What does
echo $USER
return?

When I open terminal and run:
echo user
It returns "user" for a value.
There is only one profile and one user, myself, on the computer. And when it boots it is set to open to the desktop.

User avatar
Impostor
Established Member
Posts: 1392
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 148 times
Been thanked: 366 times

Re: Rosegarden 21.12 Crashes

Post by Impostor »

OmegAudio wrote: Wed Nov 29, 2023 6:47 pm
Impostor wrote: Tue Nov 28, 2023 8:06 pm
OmegAudio wrote: Tue Nov 28, 2023 7:46 pm

This is the exact script I ran:
sudo chown -R chris:chris ~

What does
echo $USER
return?

When I open terminal and run:
echo user
It returns "user" for a value.
There is only one profile and one user, myself, on the computer. And when it boots it is set to open to the desktop.

$USER, not user...

Anyway, I'm out of ideas. Hope you can fix it someday.

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Impostor wrote: Wed Nov 29, 2023 7:16 pm
OmegAudio wrote: Wed Nov 29, 2023 6:47 pm
Impostor wrote: Tue Nov 28, 2023 8:06 pm

What does
echo $USER
return?

When I open terminal and run:
echo user
It returns "user" for a value.
There is only one profile and one user, myself, on the computer. And when it boots it is set to open to the desktop.

$USER, not user...

Anyway, I'm out of ideas. Hope you can fix it someday.

when I ran echo $USER it returned nothing.
When I ran echo user it returned user

I know I should not be using terminal and sudo rosegarden.
But that makes it work.

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

OmegAudio wrote: Wed Nov 29, 2023 9:02 pm
Impostor wrote: Wed Nov 29, 2023 7:16 pm
OmegAudio wrote: Wed Nov 29, 2023 6:47 pm

When I open terminal and run:
echo user
It returns "user" for a value.
There is only one profile and one user, myself, on the computer. And when it boots it is set to open to the desktop.

$USER, not user...

Anyway, I'm out of ideas. Hope you can fix it someday.

when I ran echo $USER it returned nothing.
When I ran echo user it returned user

I know I should not be using terminal and sudo rosegarden.
But that makes it work.

I went back and tried again: echo $USER
Instead of echo $user
and it returns: chris (which is my user and group)

User avatar
Impostor
Established Member
Posts: 1392
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 148 times
Been thanked: 366 times

Re: Rosegarden 21.12 Crashes

Post by Impostor »

OmegAudio wrote: Wed Nov 29, 2023 9:33 pm

I went back and tried again: echo $USER
Instead of echo $user
and it returns: chris (which is my user and group)

You could try
sudo chown -R -v $USER:$USER ~
The -v option gives feedback for every file it processes, even if ownership doesn't change.

or
sudo chown -v $USER:$USER testfile
on that root owned testfile of yours. Could give some valuable info.

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Impostor wrote: Thu Nov 30, 2023 6:27 pm
OmegAudio wrote: Wed Nov 29, 2023 9:33 pm

I went back and tried again: echo $USER
Instead of echo $user
and it returns: chris (which is my user and group)

You could try
sudo chown -R -v $USER:$USER ~
The -v option gives feedback for every file it processes, even if ownership doesn't change.

or
sudo chown -v $USER:$USER testfile
on that root owned testfile of yours. Could give some valuable info.

Greetings, I ran this: sudo chown -R -v $USER:$USER ~
And every file in the list has retained as chris:chris
It is a very long list and I am not sure I can see everytyhing.
Because when I get to the top I do not see the command I entered.

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

bluebell wrote: Sun Nov 26, 2023 8:55 pm
OmegAudio wrote: Sun Nov 26, 2023 5:55 pm

I try to open Rosegarden then open one of the .rg files and again Rosegarden crashes.
If I open terminal and run: sudo rosegarden
I can then open a project file and edit and save without crashing.

Running Rosegarden with sudo seems to be a work around. I have used Rosegarden for years. And always was able to run the application from the Show Applications and the Rosegarden Icon. And open and edit existing files. Until recently when I reinstalled Ubuntu 22.04

Maybe starting Rosegarden with strace gives some hints:

Code: Select all

strace -eopen rosegarden

Then open a rg file.

Hello bluebell
I tried using your command to see what it would record.
Here is the command I used:
strace -eopen rosegarden

Then Rosegarden opened. And I then opened my test file and it crashed.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[main] System Locale: "en_US"
[main] Qt translations path: "/usr/share/qt5/translations"
[main] Qt translations loaded successfully.
[main] RG Translation: trying to load :locale/ "en_US"
[main] RG Translations loaded successfully.
[main] Loaded application icon " "rg-rwb-rose3-16x16" "
[main] Loaded application icon " "rg-rwb-rose3-32x32" "
[main] Loaded application icon " "rg-rwb-rose3-48x48" "
[main] Loaded application icon " "rg-rwb-rose3-64x64" "
[main] Loaded application icon " "rg-rwb-rose3-128x128" "
[main] Unbundling examples...
[main] Unbundling templates...
[main] Unbundling libraries (device files)...
[main] Creating RosegardenMainWindow instance...
[SequencerThread] run()
[PluginFactory] PluginFactory::instance( "dssi" ): creating new DSSIPluginFactory
[JackDriver] initialise() begin...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::JackShmReadWritePtr - Init not done for -1, skipping unlock
[JackDriver] initialise() - JACK server not running. jackStatus: 11 (hex)
[JackDriver] Attempt to start JACK server was NOT made per user config
[PluginFactory] PluginFactory::instance( "ladspa" ): creating new LADSPAPluginFactory
[AlsaDriver] renameDevice(): WARNING: Cannot find device 1 in port map
[ChannelManager] getSettings(): allowReset: true
[RosegardenMainWindow] slotDisplayWarning(): MAIN WINDOW DISPLAY WARNING: type 1 text "<h3>Audio sequencing and synth plugins unavailable!</h3>"
[WarningWidget] WarningWidget::queueMessage( "<h3>Audio sequencing and synth plugins unavailable!</h3>" , "<p>Rosegarden could not connect to the JACK audio server. This probably means that Rosegarden was unable to start the audio server due to a problem with your configuration, your system installation, or both.</p><p>If you want to be able to play or record audio files or use plugins, we suggest that you exit Rosegarden and use the JACK Control utility (qjackctl) to try different settings until you arrive at a configuration that permits JACK to start. You may also need to install a realtime kernel, edit your system security configuration, and so on. Unfortunately, this is an extremely complex subject.</p><p> Once you establish a working JACK configuration, Rosegarden will be able to start the audio server automatically in the future.</p>" )
do_connect: could not connect to socket
connect: No such file or directory
WARNING: Rosegarden::Exception: "Failed to connect to LIRC"
WARNING: Rosegarden::Exception: "Failed to open tranzport device /dev/tranzport0"
[main] sfxload not executable or soundfont not readable : "/usr/bin/asfxload" ""
[main] Launching the sequencer...
[RosegardenMainWindow] launchSequencer() - sequencer already running - returning

[main] Starting the app...
[StartupTester] StartupTester::StartupTester(): URL: "http://www.rosegardenmusic.com/latest-version.txt"
[FileDialog] FileDialog::FileDialog(...) using paths: examples: "/home/chris/.local/share/rosegarden/examples"
templates: "/home/chris/.local/share/rosegarden/templates"
rosegarden: "/home/chris/rosegarden"
[AlsaDriver] renameDevice(): WARNING: Cannot find device 1 in port map
[Composition] dtor: WARNING: 3 observers still extant:
[Composition] 0x56021cd43d98 : N10Rosegarden17TrackParameterBoxE
[Composition] 0x56021cd12380 : N10Rosegarden20CompositionModelImplE
[Composition] 0x56021d61f8b0 : N10Rosegarden12TrackButtonsE
[AlsaDriver] renameDevice(): WARNING: Cannot find device 1 in port map
[RosegardenMainWindow] about to execute a command 17760
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

** I do not use Rosegarden for Audio, only for midi.

User avatar
bluebell
Established Member
Posts: 1927
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 113 times
Been thanked: 122 times

Re: Rosegarden 21.12 Crashes

Post by bluebell »

Unfortunately that doesn't give any hints for the crash.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
Babarosa
Established Member
Posts: 52
Joined: Sun Feb 23, 2014 10:16 pm
Has thanked: 3 times
Been thanked: 18 times

Re: Rosegarden 21.12 Crashes

Post by Babarosa »

@OmegAudio
You are using a quite old version. Next week version 23.12 will be published. In the meantime you can download from my website the latest release compiled yesterday for Debian 12 (should also work in Ubuntu): "www.stockinger.org", then klick on the "Musik"-Tab.

Did you delete the existing config file in your home directory and restart Rosegarden?

Start Rosegarden from a terminal and read the output. Maybe some messages will help.

Debian 12 - MOTU M4, ESI Maya22 USB - Rosegarden, Reaper

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Babarosa wrote: Fri Dec 01, 2023 9:21 am

@OmegAudio
You are using a quite old version. Next week version 23.12 will be published. In the meantime you can download from my website the latest release compiled yesterday for Debian 12 (should also work in Ubuntu): "www.stockinger.org", then klick on the "Musik"-Tab.

Did you delete the existing config file in your home directory and restart Rosegarden?

Start Rosegarden from a terminal and read the output. Maybe some messages will help.

Good Morning Barbarosa
The old version is what is provided by the Ubuntu application repository.
I did uninstall and reinstall with no change.

Delete the existing config file? I have not yet learned how to do that. That is on my list to learn.

When I start from a terminal it does provide a long list of actions.
I will capture that and provide ASAP.

OmegAudio
Established Member
Posts: 14
Joined: Sat Nov 25, 2023 5:27 pm
Has thanked: 3 times

Re: Rosegarden 21.12 Crashes

Post by OmegAudio »

Babarosa wrote: Fri Dec 01, 2023 9:21 am

@OmegAudio
You are using a quite old version. Next week version 23.12 will be published. In the meantime you can download from my website the latest release compiled yesterday for Debian 12 (should also work in Ubuntu): "www.stockinger.org", then klick on the "Musik"-Tab.

Did you delete the existing config file in your home directory and restart Rosegarden?

Start Rosegarden from a terminal and read the output. Maybe some messages will help.

Greetings Babarosa
Here is the logging from Terminal when I opened Rosegarden.
Then closed Rosegarden
I only use Rosegarden for Midi. And it works wonderfully when I open from Terminal with sudo, as seen below.

I appreciate your input.

chris@OmegAudio:~$ sudo rosegarden
[sudo] password for chris:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[main] System Locale: "en_US"
[main] Qt translations path: "/usr/share/qt5/translations"
[main] Qt translations loaded successfully.
[main] RG Translation: trying to load :locale/ "en_US"
[main] RG Translations loaded successfully.
[main] Loaded application icon " "rg-rwb-rose3-16x16" "
[main] Loaded application icon " "rg-rwb-rose3-32x32" "
[main] Loaded application icon " "rg-rwb-rose3-48x48" "
[main] Loaded application icon " "rg-rwb-rose3-64x64" "
[main] Loaded application icon " "rg-rwb-rose3-128x128" "
[main] Unbundling examples...
[main] Unbundling templates...
[main] Unbundling libraries (device files)...
[main] Creating RosegardenMainWindow instance...
[SequencerThread] run()
[PluginFactory] PluginFactory::instance( "dssi" ): creating new DSSIPluginFactory
[PluginFactory] PluginFactory::instance( "ladspa" ): creating new LADSPAPluginFactory
[JackDriver] initialise() begin...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Failed to connect to session bus for device reservation: /usr/bin/dbus-launch terminated abnormally without any error message

To bypass device reservation via session bus, set JACK_NO_AUDIO_RESERVATION=1 prior to starting jackd.

Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::JackShmReadWritePtr - Init not done for -1, skipping unlock
[JackDriver] initialise() - JACK server not running. jackStatus: 11 (hex)
[JackDriver] Attempt to start JACK server was made per user config
[AlsaDriver] renameDevice(): WARNING: Cannot find device 1 in port map
[ChannelManager] getSettings(): allowReset: true
[RosegardenMainWindow] slotDisplayWarning(): MAIN WINDOW DISPLAY WARNING: type 1 text "<h3>Audio sequencing and synth plugins unavailable!</h3>"
[WarningWidget] WarningWidget::queueMessage( "<h3>Audio sequencing and synth plugins unavailable!</h3>" , "<p>Rosegarden could not connect to the JACK audio server. This probably means that Rosegarden was unable to start the audio server due to a problem with your configuration, your system installation, or both.</p><p>If you want to be able to play or record audio files or use plugins, we suggest that you exit Rosegarden and use the JACK Control utility (qjackctl) to try different settings until you arrive at a configuration that permits JACK to start. You may also need to install a realtime kernel, edit your system security configuration, and so on. Unfortunately, this is an extremely complex subject.</p><p> Once you establish a working JACK configuration, Rosegarden will be able to start the audio server automatically in the future.</p>" )
do_connect: could not connect to socket
connect: No such file or directory
WARNING: Rosegarden::Exception: "Failed to connect to LIRC"
WARNING: Rosegarden::Exception: "Failed to open tranzport device /dev/tranzport0"
[main] sfxload disabled
[main] Launching the sequencer...
[RosegardenMainWindow] launchSequencer() - sequencer already running - returning

[main] Starting the app...
[StartupTester] StartupTester::StartupTester(): URL: "http://www.rosegardenmusic.com/latest-version.txt"
[StartupTester] StartupTester::slotNetworkFinished(): Comparing current version " 21.12 " with latest version " "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" "
[FileDialog] FileDialog::FileDialog(...) using paths: examples: "/root/.local/share/rosegarden/examples"
templates: "/root/.local/share/rosegarden/templates"
rosegarden: "/root/rosegarden"

(rosegarden:53308): dconf-WARNING **: 19:06:19.305: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.336: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.362: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.377: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.411: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.429: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.444: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.460: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:19.475: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:21.816: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(rosegarden:53308): dconf-WARNING **: 19:06:21.816: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
Profiling points:

By name:
ActionFileParser::enterActionState(6):
CPU: 0.0105 ms/call [0 ms total]
Real: 0.009667000 ms [0.058000000 ms total]
Worst: 0.024000000 ms/call [0 ms CPU]
ActionFileParser::leaveActionState(11):
CPU: 0.0363636364 ms/call [0 ms total]
Real: 0.035455000 ms [0.390000000 ms total]
Worst: 0.213000000 ms/call [0 ms CPU]
Composition::getMaxContemporaneousSegmentsOnTrack(512):
CPU: 0.00150390625 ms/call [0 ms total]
Real: 0.001313000 ms [0.672000000 ms total]
Worst: 0.011000000 ms/call [0 ms CPU]
Composition::rebuildVoiceCaches(1):
CPU: 0.006 ms/call [0 ms total]
Real: 0.005000000 ms [0.005000000 ms total]
Worst: 0.005000000 ms/call [0 ms CPU]
CompositionModelImpl::getSegmentRects()(4):
CPU: 0.282 ms/call [1 ms total]
Real: 0.281500000 ms [1.126000000 ms total]
Worst: 1.123000000 ms/call [1 ms CPU]
CompositionView::drawAll()(4):
CPU: 7.9485 ms/call [31 ms total]
Real: 7.876750000 ms [31.507000000 ms total]
Worst: 10.576000000 ms/call [10 ms CPU]
CompositionView::drawArtifacts()(4):
CPU: 0.05325 ms/call [0 ms total]
Real: 0.052500000 ms [0.210000000 ms total]
Worst: 0.062000000 ms/call [0 ms CPU]
CompositionView::drawAudioPreviews(4):
CPU: 0.00125 ms/call [0 ms total]
Real: 0.001000000 ms [0.004000000 ms total]
Worst: 0.002000000 ms/call [0 ms CPU]
CompositionView::drawSegments(clipRect)(4):
CPU: 6.60625 ms/call [26 ms total]
Real: 6.575250000 ms [26.301000000 ms total]
Worst: 8.915000000 ms/call [8 ms CPU]
CompositionView::paintEvent()(4):
CPU: 7.95275 ms/call [31 ms total]
Real: 7.879000000 ms [31.516000000 ms total]
Worst: 10.578000000 ms/call [10 ms CPU]
CompositionView::scrollSegmentsLayer()(4):
CPU: 6.6115 ms/call [26 ms total]
Real: 6.579000000 ms [26.316000000 ms total]
Worst: 8.920000000 ms/call [8 ms CPU]
CompositionView::slotUpdateAll()(7):
CPU: 0.00314285714 ms/call [0 ms total]
Real: 0.002143000 ms [0.015000000 ms total]
Worst: 0.004000000 ms/call [0 ms CPU]
RosegardenSequencer::updateClocks(1646):
CPU: 0.00467739976 ms/call [7 ms total]
Real: 0.002066000 ms [3.400000000 ms total]
Worst: 0.029000000 ms/call [0 ms CPU]
Rotary::paintEvent(12):
CPU: 0.31025 ms/call [3 ms total]
Real: 0.311500000 ms [3.738000000 ms total]
Worst: 1.302000000 ms/call [1 ms CPU]

By total:
CompositionView::paintEvent() 31.516000000 ms
CompositionView::drawAll() 31.507000000 ms
CompositionView::scrollSegmentsLayer() 26.316000000 ms
CompositionView::drawSegments(clipRect) 26.301000000 ms
Rotary::paintEvent 3.738000000 ms
RosegardenSequencer::updateClocks 3.400000000 ms
CompositionModelImpl::getSegmentRects() 1.126000000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.672000000 ms
ActionFileParser::leaveActionState 0.390000000 ms
CompositionView::drawArtifacts() 0.210000000 ms
ActionFileParser::enterActionState 0.058000000 ms
CompositionView::slotUpdateAll() 0.015000000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::drawAudioPreviews 0.004000000 ms

By average:
CompositionView::paintEvent() 7.879000000 ms
CompositionView::drawAll() 7.876750000 ms
CompositionView::scrollSegmentsLayer() 6.579000000 ms
CompositionView::drawSegments(clipRect) 6.575250000 ms
Rotary::paintEvent 0.311500000 ms
CompositionModelImpl::getSegmentRects() 0.281500000 ms
CompositionView::drawArtifacts() 0.052500000 ms
ActionFileParser::leaveActionState 0.035455000 ms
ActionFileParser::enterActionState 0.009667000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::slotUpdateAll() 0.002143000 ms
RosegardenSequencer::updateClocks 0.002066000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.001313000 ms
CompositionView::drawAudioPreviews 0.001000000 ms

By worst case:
CompositionView::paintEvent() 10.578000000 ms
CompositionView::drawAll() 10.576000000 ms
CompositionView::scrollSegmentsLayer() 8.920000000 ms
CompositionView::drawSegments(clipRect) 8.915000000 ms
Rotary::paintEvent 1.302000000 ms
CompositionModelImpl::getSegmentRects() 1.123000000 ms
ActionFileParser::leaveActionState 0.213000000 ms
CompositionView::drawArtifacts() 0.062000000 ms
RosegardenSequencer::updateClocks 0.029000000 ms
ActionFileParser::enterActionState 0.024000000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.011000000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::slotUpdateAll() 0.004000000 ms
CompositionView::drawAudioPreviews 0.002000000 ms

By number of calls:
RosegardenSequencer::updateClocks 1646
Composition::getMaxContemporaneousSegmentsOnTrack 512
Rotary::paintEvent 12
ActionFileParser::leaveActionState 11
CompositionView::slotUpdateAll() 7
ActionFileParser::enterActionState 6
CompositionView::drawArtifacts() 4
CompositionView::drawAudioPreviews 4
CompositionModelImpl::getSegmentRects() 4
CompositionView::drawSegments(clipRect) 4
CompositionView::scrollSegmentsLayer() 4
CompositionView::drawAll() 4
CompositionView::paintEvent() 4
Composition::rebuildVoiceCaches 1
[RosegardenMainWindow] dtor...
[SequencerThread] run(): Sequencer status changed from 0 to 7
[Composition] dtor: WARNING: 3 observers still extant:
[Composition] 0x55d5aca35e98 : N10Rosegarden17TrackParameterBoxE
[Composition] 0x55d5aca75410 : N10Rosegarden20CompositionModelImplE
[Composition] 0x55d5ad2c23e0 : N10Rosegarden12TrackButtonsE
Profiling points:

By name:
ActionFileParser::enterActionState(6):
CPU: 0.0105 ms/call [0 ms total]
Real: 0.009667000 ms [0.058000000 ms total]
Worst: 0.024000000 ms/call [0 ms CPU]
ActionFileParser::leaveActionState(11):
CPU: 0.0363636364 ms/call [0 ms total]
Real: 0.035455000 ms [0.390000000 ms total]
Worst: 0.213000000 ms/call [0 ms CPU]
Composition::getMaxContemporaneousSegmentsOnTrack(512):
CPU: 0.00150390625 ms/call [0 ms total]
Real: 0.001313000 ms [0.672000000 ms total]
Worst: 0.011000000 ms/call [0 ms CPU]
Composition::rebuildVoiceCaches(1):
CPU: 0.006 ms/call [0 ms total]
Real: 0.005000000 ms [0.005000000 ms total]
Worst: 0.005000000 ms/call [0 ms CPU]
CompositionModelImpl::getSegmentRects()(4):
CPU: 0.282 ms/call [1 ms total]
Real: 0.281500000 ms [1.126000000 ms total]
Worst: 1.123000000 ms/call [1 ms CPU]
CompositionView::drawAll()(4):
CPU: 7.9485 ms/call [31 ms total]
Real: 7.876750000 ms [31.507000000 ms total]
Worst: 10.576000000 ms/call [10 ms CPU]
CompositionView::drawArtifacts()(4):
CPU: 0.05325 ms/call [0 ms total]
Real: 0.052500000 ms [0.210000000 ms total]
Worst: 0.062000000 ms/call [0 ms CPU]
CompositionView::drawAudioPreviews(4):
CPU: 0.00125 ms/call [0 ms total]
Real: 0.001000000 ms [0.004000000 ms total]
Worst: 0.002000000 ms/call [0 ms CPU]
CompositionView::drawSegments(clipRect)(4):
CPU: 6.60625 ms/call [26 ms total]
Real: 6.575250000 ms [26.301000000 ms total]
Worst: 8.915000000 ms/call [8 ms CPU]
CompositionView::paintEvent()(4):
CPU: 7.95275 ms/call [31 ms total]
Real: 7.879000000 ms [31.516000000 ms total]
Worst: 10.578000000 ms/call [10 ms CPU]
CompositionView::scrollSegmentsLayer()(4):
CPU: 6.6115 ms/call [26 ms total]
Real: 6.579000000 ms [26.316000000 ms total]
Worst: 8.920000000 ms/call [8 ms CPU]
CompositionView::slotUpdateAll()(7):
CPU: 0.00314285714 ms/call [0 ms total]
Real: 0.002143000 ms [0.015000000 ms total]
Worst: 0.004000000 ms/call [0 ms CPU]
RosegardenSequencer::updateClocks(1657):
CPU: 0.00467652384 ms/call [7 ms total]
Real: 0.002066000 ms [3.423000000 ms total]
Worst: 0.029000000 ms/call [0 ms CPU]
Rotary::paintEvent(12):
CPU: 0.31025 ms/call [3 ms total]
Real: 0.311500000 ms [3.738000000 ms total]
Worst: 1.302000000 ms/call [1 ms CPU]

By total:
CompositionView::paintEvent() 31.516000000 ms
CompositionView::drawAll() 31.507000000 ms
CompositionView::scrollSegmentsLayer() 26.316000000 ms
CompositionView::drawSegments(clipRect) 26.301000000 ms
Rotary::paintEvent 3.738000000 ms
RosegardenSequencer::updateClocks 3.423000000 ms
CompositionModelImpl::getSegmentRects() 1.126000000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.672000000 ms
ActionFileParser::leaveActionState 0.390000000 ms
CompositionView::drawArtifacts() 0.210000000 ms
ActionFileParser::enterActionState 0.058000000 ms
CompositionView::slotUpdateAll() 0.015000000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::drawAudioPreviews 0.004000000 ms

By average:
CompositionView::paintEvent() 7.879000000 ms
CompositionView::drawAll() 7.876750000 ms
CompositionView::scrollSegmentsLayer() 6.579000000 ms
CompositionView::drawSegments(clipRect) 6.575250000 ms
Rotary::paintEvent 0.311500000 ms
CompositionModelImpl::getSegmentRects() 0.281500000 ms
CompositionView::drawArtifacts() 0.052500000 ms
ActionFileParser::leaveActionState 0.035455000 ms
ActionFileParser::enterActionState 0.009667000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::slotUpdateAll() 0.002143000 ms
RosegardenSequencer::updateClocks 0.002066000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.001313000 ms
CompositionView::drawAudioPreviews 0.001000000 ms

By worst case:
CompositionView::paintEvent() 10.578000000 ms
CompositionView::drawAll() 10.576000000 ms
CompositionView::scrollSegmentsLayer() 8.920000000 ms
CompositionView::drawSegments(clipRect) 8.915000000 ms
Rotary::paintEvent 1.302000000 ms
CompositionModelImpl::getSegmentRects() 1.123000000 ms
ActionFileParser::leaveActionState 0.213000000 ms
CompositionView::drawArtifacts() 0.062000000 ms
RosegardenSequencer::updateClocks 0.029000000 ms
ActionFileParser::enterActionState 0.024000000 ms
Composition::getMaxContemporaneousSegmentsOnTrack 0.011000000 ms
Composition::rebuildVoiceCaches 0.005000000 ms
CompositionView::slotUpdateAll() 0.004000000 ms
CompositionView::drawAudioPreviews 0.002000000 ms

By number of calls:
RosegardenSequencer::updateClocks 1657
Composition::getMaxContemporaneousSegmentsOnTrack 512
Rotary::paintEvent 12
ActionFileParser::leaveActionState 11
CompositionView::slotUpdateAll() 7
ActionFileParser::enterActionState 6
CompositionView::drawArtifacts() 4
CompositionView::drawAudioPreviews 4
CompositionModelImpl::getSegmentRects() 4
CompositionView::drawSegments(clipRect) 4
CompositionView::scrollSegmentsLayer() 4
CompositionView::drawAll() 4
CompositionView::paintEvent() 4
Composition::rebuildVoiceCaches 1
[RosegardenMainViewWidget] dtor
[main] Rosegarden main() exiting with rc: 0
[RosegardenSequencer] dtor...
[SoundDriver] SoundDriver::SoundDriver (exiting)
[AudioPlayQueue] dtor...
[AudioPlayQueue] This tends to be the last thing you'll see on a normal exit.

Post Reply