Skip to content

chuck crashes with no errors if you try to write to a long filepath #513

@nshaheed

Description

@nshaheed

From discord user yat1400:

For some reason, chuck crashes with no errors if you try to write to a long filepath

dac => WvOut wv => blackhole;
"/Users/me/Documents/school_fall_25/audio_programming_dataset/test_results/ChucK/bruh_ChucK_test_222222222222222_2_1759708743.wav" => wv.wavFilename;

SinOsc input => Gain dry => dac;
input => DelayL delay => Gain wet => dac;

SinOsc lfo => blackhole;

input.freq(220);
input.gain(0.3);

dry.gain(0.7);
wet.gain(0.5);

lfo.freq(0.5); 

2::ms => dur baseDelay;
1::ms => dur delayDepth;

delay.max(10::ms);

while(true)
{
    (baseDelay + (lfo.last() * delayDepth)) => delay.delay;
    
    1::ms => now;
}

// 5::second => now;

this just returns:
[1] 398 abort chuck ahhhhhh.ck
macbook pro, m3, running sequoia v15.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions