View Issue Details

IDProjectCategoryView StatusLast Update
0001659ardourbugspublic2008-11-21 00:00
ReporterFredL2 Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001659: Crash on export
DescriptionWhen I try to export a session with a stereo track, ardour simply hangs. No segmentation fault, it just freezes. It writes 44 bytes of the export file, though.
Additional InformationAsk me about my setup and I will answer
TagsNo tags attached.

Activities

paul

2007-05-10 11:43

administrator   ~0003910

this is asking about your setup. please attach the session file too.

2007-05-10 13:45

 

random.ardour (7,001 bytes)

FredL2

2007-05-10 15:20

reporter   ~0003921

OK. Guess I could've been more specific ;)
I'm using 64-bit Arch Linux 0.8(Voodoo), with default package.
All packages are the latest version available in repo.

libsndfile is 1.0.17-1
JACK is 0.103.0-1

And one more thing. Ardour seems to bring JACK down with it upon crash.

FredL2

2007-05-15 16:26

reporter   ~0003975

Something that might be of interest: Upon the crash, jackd says:
jackd_client_create_thread: error 11 creating thread with default parameters: Resource temporarily unavailable
could not start create freewheel thread

Also, upon startup, ardour says it can't lock down memory for rt thread (can't allocate memory)

2007-05-16 07:06

 

joesitting.ardour (31,543 bytes)

obsidian

2007-05-16 07:16

reporter   ~0003977

Last edited: 2007-05-16 07:57

Hi

I think I'm experiencing a related issue here. I've uploaded my session file (joesitting.ardour). I'm running the current SVN version (which I update almost daily) on UbuntuStudio 7.04, i386, JACK 0.105.0

When I export the session, ardour creates the wav file filled with silence. Sometimes there is a loud crack / peaking sound immediately as it finishes the export. Sometimes it crashes at this point (leaving JACK running), but most of the time Ardour keeps running. No message are output to the console during or after the export, but I've included the console output below anyway.

Interesting thing is that during playback everything seems fine, but during the export, the track level meters indicate sound on the wrong tracks and at levels much higher than during playback, and the master level meter indicates no sound at all (hence the silent wav file). This appears to be some kind of bug with the audio routing to the master track during export.


My console output:

Ardour/GTK 2.1pre
   (built using 1801 and GCC version 4.1.2 (Ubuntu 4.1.2-0ubuntu4))
Copyright (C) 1999-2007 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Loading ui configuration file /home/craig/.ardour2/ardour2_ui.rc
theme_init() called from internal clearlooks engine
Loading color definition file /home/craig/.ardour2/ardour.colors
loading system configuration file /etc/ardour2/ardour_system.rc
loading user configuration file /home/craig/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: looking for control protocols in /home/craig/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control protocol Mackie not usable
JACK tmpdir identified as [/dev/shm]
loading bindings from /home/craig/.ardour2/ardour.bindings
Loading session /home/craig/blender/scenes/crashtest/audio/joesitting using snapshot joesitting (1)
Loading history from '/home/craig/blender/scenes/crashtest/audio/joesitting/joesitting.history'.
ardour: [ERROR]: could not reconstitute MementoCommand from XMLNode. object type = N6ARDOUR11AudioRegionE id = 1179265881

paul

2007-05-16 11:06

administrator   ~0003978

just a note: 2.1pre (trunk in svn) is known to be broken. you should expect to discover more issues like this for a while.

obsidian

2007-05-16 11:58

reporter   ~0003979

Thanks Paul

I've switch to the ardour2.0-ongoing branch - all is working well again. Thanks to all the Ardour developers for providing such an awesome DAW!

FredL2

2007-05-19 04:48

reporter   ~0003996

Last edited: 2007-05-19 04:57

I solved it. It had nothing to do with Ardour, but with jack. It appears that there's a bug in JACK on x86_64 that messes up memory locking. Disabling memory locking bypasses the export bug. It's not a beautiful solutio, though, and I will try to discuss it with the JACK developers.

Thank you for your patience.

paul

2007-05-23 15:53

administrator   ~0004016

most of us *are* the JACK developers. what do you think the bug is?

FredL2

2007-05-28 15:55

reporter   ~0004024

It might be a configuration issue on my part, but I'm experiencing that JACK is unable to lock memory on linux kernel 2.6.20.7 SMP (x86_64). I'm getting "unable to lock down memory for RT thread" messages. Might be a kernel bug. I think something about SHM and/or IPC is faulty on x86_64 in this particular kernel release.
I'll upgrade the kernel and see what happens.

paul

2007-05-30 13:57

administrator   ~0004027

see notes.

it would be nice if we didn't crash when this happens, but the problem seems barely understood. its certainly not an Ardour issue as far as i can tell.

Issue History

Date Modified Username Field Change
2007-05-10 11:24 FredL2 New Issue
2007-05-10 11:43 paul Note Added: 0003910
2007-05-10 13:45 FredL2 File Added: random.ardour
2007-05-10 14:23 cth103 Status new => feedback
2007-05-10 15:20 FredL2 Note Added: 0003921
2007-05-15 16:26 FredL2 Note Added: 0003975
2007-05-16 07:06 obsidian File Added: joesitting.ardour
2007-05-16 07:16 obsidian Note Added: 0003977
2007-05-16 07:57 obsidian Note Edited: 0003977
2007-05-16 11:06 paul Note Added: 0003978
2007-05-16 11:58 obsidian Note Added: 0003979
2007-05-19 04:48 FredL2 Note Added: 0003996
2007-05-19 04:50 FredL2 Note Edited: 0003996
2007-05-19 04:57 FredL2 Note Edited: 0003996
2007-05-23 15:53 paul Note Added: 0004016
2007-05-28 15:55 FredL2 Note Added: 0004024
2007-05-30 13:57 paul Status feedback => resolved
2007-05-30 13:57 paul Resolution open => fixed
2007-05-30 13:57 paul Assigned To => paul
2007-05-30 13:57 paul Note Added: 0004027
2008-11-21 00:00 seablade Status resolved => closed