View Issue Details

IDProjectCategoryView StatusLast Update
0009412ardourbugspublic2023-07-08 22:37
Reporteraggraef Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformArchOSLinuxOS Version(any)
Product Version7.5 
Summary0009412: "Uninitialized Parameter symbol() called" warning
DescriptionWhenever I run Ardour (7.5-120 at present) for an extended period of time, I can see a large number of these messages in the log window:

2023-07-06T21:31:57 [WARNING]: Uninitialized Parameter symbol() called.

These pop up occasionally, at seemingly random times. The message probably comes from `std::string EventTypeMap::to_symbol(const Evoral::Parameter& param) const` in event_type_map.cc:231 and seems to indicate an unkown automation type.

This happens even with the most basic session, e.g., with a single MIDI track, some notes, not even a synth, nor any automation on it.
Steps To ReproduceCreate a new session, add a MIDI track with a MIDI clip on it, and wait. The messages should start popping up. If not, try to hit play and stop.
TagsNo tags attached.

Activities

x42

2023-07-08 03:04

administrator   ~0027860

It happens when ardour saves. Either explicitly, or periodic
Thread 1 "ArdourGUI" hit Breakpoint 1, ARDOUR::EventTypeMap::to_symbol[abi:cxx11](Evoral::Parameter const&) const (this=0x6060003eace0, param=...) at ../libs/ardour/event_type_map.cc:297
297			PBD::warning << "Uninitialized Parameter symbol() called." << endmsg;
(gdb) bt
#0  ARDOUR::EventTypeMap::to_symbol[abi:cxx11](Evoral::Parameter const&) const (this=0x6060003eace0, param=...) at ../libs/ardour/event_type_map.cc:297
0000001  0x00007ffff55bf39b in ARDOUR::AutomationList::state(bool, bool) const (this=0x619001705280, save_auto_state=true, need_lock=true) at ../libs/ardour/automation_list.cc:335
#2  0x00007ffff55bf118 in ARDOUR::AutomationList::get_state() const (this=0x619001705280) at ../libs/ardour/automation_list.cc:327
#3  0x00007ffff558f33c in ARDOUR::Automatable::get_automation_xml_state() const (this=0x62500262ca50) at ../libs/ardour/automatable.cc:329
0000004  0x00007ffff601a41a in ARDOUR::Route::state(bool) const (this=0x62500262c900, save_template=false) at ../libs/ardour/route.cc:2609
0000005  0x00007ffff64a9db2 in ARDOUR::Track::state(bool) const (this=0x62500262c900, save_template=false) at ../libs/ardour/track.cc:185
#6  0x00007ffff5c142f8 in ARDOUR::MidiTrack::state(bool) const (this=0x62500262c900, save_template=false) at ../libs/ardour/midi_track.cc:241
#7  0x00007ffff6019345 in ARDOUR::Route::get_state() const (this=0x62500262c900) at ../libs/ardour/route.cc:2538
0000008  0x00007ffff62f960c in ARDOUR::Session::state(bool, ARDOUR::Session::snapshot_t, bool, bool) const (this=
    0x6260000e7100, save_template=false, snapshot_type=ARDOUR::Session::NormalSave, for_archive=false, only_used_assets=false) at ../libs/ardour/session_state.cc:1519
0000009  0x00007ffff62ed2ef in ARDOUR::Session::save_state(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool, bool, bool)
...

(gdb) p param
$1 = (const Evoral::Parameter &) @0x6190017053b0: {_type = 31, _id = 0, _channel = 0 '\000'}


Looks like MidiVelocityAutomation is missing

x42

2023-07-08 03:11

administrator   ~0027861

MIDI Velocity tracks are work in progress (and currently show a fake Automation Control in the track-header, which is what that enum is used for)

paul

2023-07-08 22:37

administrator   ~0027879

Fixed in commit 1c54f0e4

Issue History

Date Modified Username Field Change
2023-07-06 19:56 aggraef New Issue
2023-07-08 03:04 x42 Note Added: 0027860
2023-07-08 03:11 x42 Note Added: 0027861
2023-07-08 22:37 paul Assigned To => paul
2023-07-08 22:37 paul Status new => resolved
2023-07-08 22:37 paul Resolution open => fixed
2023-07-08 22:37 paul Note Added: 0027879