Bug#625798: qtractor: Track names with slashes cause MIDI recording to silently fail

Drake Wilson drake at begriffli.ch
Fri May 6 00:54:33 UTC 2011


Package: qtractor
Version: 0.4.8-2
Severity: normal

(This arguably causes data loss.)

To reproduce:

  1. Start up Qtractor.  Connect a MIDI source to its Master bus using
     the ALSA sequencer.

  2. Create a new MIDI track named "Foo / Bar", assigned to channel 1.

  3. Arm the track for recording, then enable the master record arm
     with the red record button.  Create a new session of any unused
     name when/if so prompted.

  4. Start the transport using the play button.  Play MIDI notes on channel
     1.  They will appear in the timeline as they are purportedly recorded.

  5. Stop the transport using the play button again.  The MIDI clip that
     has just been recorded now contains no visible events.

  6. Double-click on the clip to open it in the clip editor to confirm
     that there are no events.  (It additionally has no apparent name
     and shows up with the name of the session's containing directory,
     which are less serious anomalies.)

Observe that a track named "Foo ; Bar" (with a semicolon instead of a
slash) does not experience the same behavior.

My wild guess is that since the track name is used as part of the name
of the backing store MIDI file, the slash isn't getting denatured from
its role as a directory separator, so creating the backing file fails
due to a bogus nonexistent path component, destroying the recorded
data.  (At least, I haven't found any obvious way of getting it back.
Fortunately I was able to record it again after figuring out what was
going on.)

   ---> Drake Wilson

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qtractor depends on:
ii  jackd                5                   JACK Audio Connection Kit (default
ii  libasound2           1.0.23-3            shared library for ALSA applicatio
ii  libc6                2.13-2              Embedded GNU C Library: Shared lib
ii  libgcc1              1:4.6.0-6           GCC support library
ii  libjack0 [libjack-0. 1:0.120.1+svn4142-1 JACK Audio Connection Kit (librari
ii  liblo7               0.26~repack-7       Lightweight OSC library
ii  libmad0              0.15.1b-6           MPEG audio decoder library
ii  libogg0              1.2.0~dfsg-1        Ogg bitstream library
ii  libqt4-xml           4:4.7.2-4           Qt 4 XML module
ii  libqtcore4           4:4.7.2-4           Qt 4 core module
ii  libqtgui4            4:4.7.2-4           Qt 4 GUI module
ii  librdf0              1.0.13-2            Redland Resource Description Frame
ii  librubberband2       1.3-1.1+b1          an audio time-stretching and pitch
ii  libsamplerate0       0.1.7-3             Audio sample rate conversion libra
ii  libslv2-9            0.6.6-9             A library for simple use of LV2 pl
ii  libsndfile1          1.0.24-1            Library for reading/writing audio 
ii  libstdc++6           4.6.0-6             The GNU Standard C++ Library v3
ii  libvorbis0a          1.3.2-1             The Vorbis General Audio Compressi
ii  libvorbisenc2        1.3.2-1             The Vorbis General Audio Compressi
ii  libvorbisfile3       1.3.2-1             The Vorbis General Audio Compressi
ii  libx11-6             2:1.4.3-1           X11 client-side library
ii  zlib1g               1:1.2.3.4.dfsg-3    compression library - runtime

qtractor recommends no packages.

qtractor suggests no packages.

-- no debconf information





More information about the pkg-multimedia-maintainers mailing list