Re: [Rosegarden-user] Rosegarden 17.12 crashes with errors when started
On April 17, 2018 3:54:54 PM HST, Ted Felix wrote: > On 04/17/2018 04:53 AM, david wrote: > > When I start it from a terminal, I get this: > > free(): invalid pointer > > There are only 10 calls to free() in rg. The ones in JackDriver are > the only ones that look like they might actually get called at > startup. > And per the JACK API docs, it appears that we shouldn't be calling > free(), we should be calling jack_free() here. That's a fair amount > of > evidence pointing to a very specific problem. > >Digging around indicates that even if you could run a debug build, > you would get no helpful debug output if free() is actually crashing > rg. > JackDriver uses something called Audit which performs delayed logging. > > This means in the event of a crash, absolutely no logging occurs. > Seems like a bit of a problem. > > I'm going to switch to jack_free() and see if that still works fine > for me. If so, then we should probably figure out a way to get you > compiling from source so that you can get more details when things go > wrong. > > I think I'll also try and force free() to fail (with a bogus pointer) > and see if the debug logging is lost as I suspect. If so, I'll get > rid > of Audit and go direct to RG_DEBUG. > > Ted. Thanks. Keep me posted. RG on my laptop works, RG on desktop is the broken one. Same RG version on both. Laptop has jackd2 1.19.12 from KXstudio. Desktop has jackd2 1.19.12 from Xenial. Would be quite happy to compile from source. -- David W. Jones gn...@hawaii.rr.com authenticity, honesty, community http://dancingtreefrog.com Sent from my Android device with F/LOSS K-9 Mail. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Rosegarden 17.12 crashes with errors when started
On 04/17/2018 09:54 PM, Ted Felix wrote: I think I'll also try and force free() to fail (with a bogus pointer) and see if the debug logging is lost as I suspect. If so, I'll get rid of Audit and go direct to RG_DEBUG. Yep, forcing free() to fail loses all debug output from the initialise() routine. I will switch to RG_DEBUG for this. Ted. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Rosegarden 17.12 crashes with errors when started
On 04/17/2018 04:53 AM, david wrote: When I start it from a terminal, I get this: free(): invalid pointer There are only 10 calls to free() in rg. The ones in JackDriver are the only ones that look like they might actually get called at startup. And per the JACK API docs, it appears that we shouldn't be calling free(), we should be calling jack_free() here. That's a fair amount of evidence pointing to a very specific problem. Digging around indicates that even if you could run a debug build, you would get no helpful debug output if free() is actually crashing rg. JackDriver uses something called Audit which performs delayed logging. This means in the event of a crash, absolutely no logging occurs. Seems like a bit of a problem. I'm going to switch to jack_free() and see if that still works fine for me. If so, then we should probably figure out a way to get you compiling from source so that you can get more details when things go wrong. I think I'll also try and force free() to fail (with a bogus pointer) and see if the debug logging is lost as I suspect. If so, I'll get rid of Audit and go direct to RG_DEBUG. Ted. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
[Rosegarden-user] Rosegarden 17.12 crashes with errors when started
I have Rosegarden v17.12.1-1 installed on 64-bit Debian Testing+KXStudio repos. When I start it graphically, nothing shows up. When I start it from a terminal, I get this: Thorn - true System Locale: en_US Qt translations path: /usr/share/qt5/translations Qt translations not loaded. RG Translation: trying to load :locale/en_US RG Translations loaded successfully. Loaded application icon "rg-rwb-rose3-16x16" Loaded application icon "rg-rwb-rose3-32x32" Loaded application icon "rg-rwb-rose3-48x48" Loaded application icon "rg-rwb-rose3-64x64" Loaded application icon "rg-rwb-rose3-128x128" AlsaDriver::AlsaDriver [begin] AlsaDriver::setCurrentTimer((auto)) extractVersion: major = 4, minor = 8, subminor = 0, suffix = "rt-amd64" AlsaDriver::versionIsAtLeast: is version 4.8.0-1-rt-amd64 at least 1.0.14? yes extractVersion: major = 4, minor = 8, subminor = 0, suffix = "rt-amd64" AlsaDriver::versionIsAtLeast: is version 4.8.0-1-rt-amd64 at least 2.6.20? yes AlsaDriver::setCurrentTimer((auto)) extractVersion: major = 4, minor = 8, subminor = 0, suffix = "rt-amd64" AlsaDriver::versionIsAtLeast: is version 4.8.0-1-rt-amd64 at least 1.0.14? yes extractVersion: major = 4, minor = 8, subminor = 0, suffix = "rt-amd64" AlsaDriver::versionIsAtLeast: is version 4.8.0-1-rt-amd64 at least 2.6.20? yes AlsaDriver::addDevice(0,0) CREATED OUTPUT PORT 3:out 1 - unnamed for device 0 Renamed 130:3 to General MIDI Device AlsaDriver::addDevice(0,1) AlsaDriver::setRecordDevice: device 1, action 1 WARNING: AlsaDriver::renameDevice: Cannot find device 1 in port map Studio::getMetronomeFromDevice: Having a look at device 1000 Studio::getMetronomeFromDevice: Having a look at device 1 Studio::getMetronomeFromDevice: Having a look at device 0 Studio::getMetronomeFromDevice(0): device is a MIDI device free(): invalid pointer It used to work. Ideas? Thanks. -- David W. Jones gn...@hawaii.rr.com authenticity, honesty, community http://dancingtreefrog.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user