jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

JackCtrl - Jack 1.9.17 doesn't start on Win10 64bit

Open alfonso73 opened this issue 3 years ago • 50 comments

Hi JackCtrl/Jack 1.9.17 freezes when launched on Windows 10 64bit

A clear and concise description of what the bug is.

Environment

  • JACK Version: Which version of jack2 are you using? (e.g. the output of jackd --version or a git commit checksum)
  • Operating System: What operating system or distribution in which version are you using? (e.g. Linux, macOS, Windows)
  • Installation: How did you install jack2? (e.g. package manager, from source)

Steps To Reproduce

# Paste a minimal code example here (e.g. about how you started JACK)

Expected vs. actual behavior

A clear and concise description of what you expected to happen vs. what happened.

alfonso73 avatar Jan 26 '21 14:01 alfonso73

please give some more description of the issue please..

falkTX avatar Jan 26 '21 14:01 falkTX

Does qjackctl freeze? Can you open the "messages" window before pressing start, and post a screenshot when it freezes?

On Tue, Jan 26, 2021 at 3:27 PM Filipe Coelho [email protected] wrote:

please give some more description of the issue please..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-767576414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3JY65JKD25LPWPWTRMTS33GLZANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 26 '21 14:01 kmatheussen

I just start qjackctl by double clicking on qjackctl.exe and the whole thing freezes forever and stays as you can see in the screenshot. Btw previous versions I've got used to work flawlessy (apart of the well known security related problem that Supercollider's server doesn't boot on Win10 64x) qjackctl_freeze

alfonso73 avatar Jan 26 '21 15:01 alfonso73

I suspect that it's still a security issue. I say this because after I installed the new Jack 1.9.17 I have a new suspicious symptom from SuperCollider because it's server refuses to start and kind of freezes the server booting process (with previous Jack versions it used to be the same but SC gave an error code). As soon as I uninstall Jack 1.9.17, SuperCollider works correctly again. Excuse me if I use the SC<>Jack interaction problem as a proof of the "bug" (if it is a bug indeed), but it seems to me that it gives good clues of what's goin' on.

alfonso73 avatar Jan 26 '21 16:01 alfonso73

Are you sure sure it's a bug in Jack? It seems like a bug in qjackctl. Can you try to run this program to reset qjackctl settings? http://users.notam02.no/~kjetism/qjackctl_reset.exe

On Tue, Jan 26, 2021 at 5:07 PM Alfonso Santimone [email protected] wrote:

I suspect that it's still a security issue. I say this because after I installed the new Jack 1.9.17 I have a new suspicious symptom from SuperCollider because it's server refuses to start and kind of freezes the server booting process (with previous Jack versions it used to be the same but SC gave an error code). As soon as I uninstall Jack 1.9.17, SuperCollider works correctly again. Excuse me if I use the SC<>Jack interaction problem as a proof of the "bug" (if it is a bug indeed), but it seems to me that it gives good clues of what's goin' on.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-767648084, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3J5HP72YHWWVOTQJ223S33SEDANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 27 '21 06:01 kmatheussen

And if that didn't work, can you try this older version of qjacktl? http://users.notam02.no/~kjetism/qjackctl.exe

On Wed, Jan 27, 2021 at 7:45 AM Kjetil Matheussen [email protected] wrote:

Are you sure sure it's a bug in Jack? It seems like a bug in qjackctl. Can you try to run this program to reset qjackctl settings? http://users.notam02.no/~kjetism/qjackctl_reset.exe

On Tue, Jan 26, 2021 at 5:07 PM Alfonso Santimone < [email protected]> wrote:

I suspect that it's still a security issue. I say this because after I installed the new Jack 1.9.17 I have a new suspicious symptom from SuperCollider because it's server refuses to start and kind of freezes the server booting process (with previous Jack versions it used to be the same but SC gave an error code). As soon as I uninstall Jack 1.9.17, SuperCollider works correctly again. Excuse me if I use the SC<>Jack interaction problem as a proof of the "bug" (if it is a bug indeed), but it seems to me that it gives good clues of what's goin' on.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-767648084, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3J5HP72YHWWVOTQJ223S33SEDANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 27 '21 06:01 kmatheussen

Reseting qjackclt settings i have the same situation. With the old qjackctl i have another variant of teh problem...but still freeze as you cna see in the screenshots Screenshot 2021-01-27 174421 Screenshot 2021-01-27 174508

alfonso73 avatar Jan 27 '21 16:01 alfonso73

Does jack work if you run it from the windows console? Like this (I think):

cd C:\Program Files\JACK2 jackd -dportaudio

On Wed, Jan 27, 2021 at 5:47 PM Alfonso Santimone [email protected] wrote:

Reseting qjackclt settings i have the same situation. With the old qjackctl i have another variant of teh problem...but still freeze as you cna see in the screenshots [image: Screenshot 2021-01-27 174421] https://user-images.githubusercontent.com/3230434/106023976-9afd9300-60c7-11eb-8632-42216c9e8501.png [image: Screenshot 2021-01-27 174508] https://user-images.githubusercontent.com/3230434/106023982-9c2ec000-60c7-11eb-838b-1ceddfa5682c.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-768417430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3JYXOHPMMLU65GHBPETS4A7QJANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 27 '21 16:01 kmatheussen

I have this...and no signs of jack running in the task manager. Screenshot 2021-01-27 225318

alfonso73 avatar Jan 27 '21 21:01 alfonso73

From the screenshot, it looks like jack runs fine. You don't see jackd.exe running under "Windows Command Processor" or something like that in the task manager?

On Wed, Jan 27, 2021 at 10:56 PM Alfonso Santimone [email protected] wrote:

I have this...and no signs of jack running in the task manager. [image: Screenshot 2021-01-27 225318] https://user-images.githubusercontent.com/3230434/106059359-e7aa9380-60f2-11eb-9e46-429a62af4775.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-768603421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3JYCYU3MMJ6ECQPGGY3S4CD2PANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 28 '21 16:01 kmatheussen

@rncbc Does qjackctl access jack in heavy ways, or do any other things, during startup, that could explain the freeze?

kmatheussen avatar Jan 28 '21 16:01 kmatheussen

Does qjackctl access jack in heavy ways, or do any other things, during startup, that could explain the freeze?

what are "heavy ways" ? qjackctl only access jack as a normal client and, if instructed so, spawns the jackd.exe process.

ps. on windows it doesn't do the jackdbus thing, I believe. you know that.

rncbc avatar Jan 28 '21 17:01 rncbc

On Thu, Jan 28, 2021 at 6:59 PM Rui Nuno Capela [email protected] wrote:

Does qjackctl access jack in heavy ways, or do any other things, during startup, that could explain the freeze?

what are "heavy ways" ? qjackctl only access jack as a normal client and, if instructed so, spawns the jackd.exe process.

Sorry, I'm not sure what I meant by "heavy ways". :-) Does qjackctl call any libjack functions or any portaudio functions during startup?

kmatheussen avatar Jan 28 '21 18:01 kmatheussen

Does qjackctl call any libjack functions or any portaudio functions during startup?

of course it does call on libjack! duh? how could it be any other way?

re. portaudio, I really don't know for sure, but the portaudio discovery was integrated in qjackctl setup dialog by,... guess who? ;)

rncbc avatar Jan 28 '21 20:01 rncbc

On Thu, Jan 28, 2021 at 9:01 PM Rui Nuno Capela [email protected] wrote:

Does qjackctl call any libjack functions or any portaudio functions during startup?

of course it does call on libjack! duh? how could it be any other way?

I'm not quite sure what you mean, I'm just trying to figure out how both jackd and qjackctl freezes at startup, as reported here. Doesn't qjackctl check if jack is already running when it starts up? Maybe that call never finishes...

re. portaudio, I really don't know for sure, but the portaudio discovery was integrated in qjackctl setup dialog by,... guess who? ;)

Actually I think it was sletz. :-) (I just improved it to run in it's own thread to prevent the GUI from freezing while scanning for devices) But I guess it doesn't do this during startup.

kmatheussen avatar Jan 28 '21 20:01 kmatheussen

I have this...and no signs of jack running in the task manager.

@alfonso73 This does look like jack has started. When I start jack in the command prompt, in the Task Manager it shows up as a subprocess of Windows Command Processor. Once jack runs in the command prompt, can you start QJackCtl? For me it starts and shows that jack is running (I don't need to click "start" because jack is already started)

dyfer avatar Jan 28 '21 21:01 dyfer

Hi, yes i can see the process where you suggested. But qjackctl still refuses to start. (and Supercollider refuse to start its server unless i unistall jack2)

On Thu, Jan 28, 2021, 22:27 Marcin Pączkowski [email protected] wrote:

I have this...and no signs of jack running in the task manager.

@alfonso73 https://github.com/alfonso73 This does look like jack has started. When I start jack in the command prompt, in the Task Manager it shows up as a subprocess of Windows Command Processor. Once jack runs in the command prompt, can you start QJackCtl? For me it starts and shows that jack is running (I don't need to click "start" because jack is already started)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-769409532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYUVYWXRXI3TFTWWGTBYATS4HJD5ANCNFSM4WTRDYXQ .

alfonso73 avatar Jan 28 '21 22:01 alfonso73

Can you try to run jack like this instead:

jackd.exe -ddummy

And tell us if you can start qjackctl or supercollider afterwards.

On Thu, Jan 28, 2021 at 11:31 PM Alfonso Santimone [email protected] wrote:

Hi, yes i can see the process where you suggested. But qjackctl still refuses to start. (and Supercollider refuse to start its server unless i unistall jack2)

On Thu, Jan 28, 2021, 22:27 Marcin Pączkowski [email protected] wrote:

I have this...and no signs of jack running in the task manager.

@alfonso73 https://github.com/alfonso73 This does look like jack has started. When I start jack in the command prompt, in the Task Manager it shows up as a subprocess of Windows Command Processor. Once jack runs in the command prompt, can you start QJackCtl? For me it starts and shows that jack is running (I don't need to click "start" because jack is already started)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-769409532, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAYUVYWXRXI3TFTWWGTBYATS4HJD5ANCNFSM4WTRDYXQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack2/issues/714#issuecomment-769442452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3J2QN5NPUXKUKR26WTTS4HQS7ANCNFSM4WTRDYXQ .

kmatheussen avatar Jan 28 '21 22:01 kmatheussen

@alfonso73 maybe you have the remnants of an old jack installation? Check if you don't have anything in C:\Program Files (x86)\Jack\ (I think current install goes in Program Files\JACK2)

dyfer avatar Jan 28 '21 22:01 dyfer

Hi, I'm experiencing the same issue on Windows 10 after re-installing Jack 1.9.17. QjackCtl freezes at launch and logs below message. QjackCtl worked fine before I uninstalled and installed it again. After googling a bit, I wasn't able to find related information regarding the BDB1546 error message. Any idea?

"Could not connect to JACK server as client. -Overall operation failed. - Unable to connect to sever. Please check the messages window for more info. ... Jack is stopping... BDB1546 unable to join the environment... cannot open DB environment: Resource temporarily unavilable."

I also noticed Portaudio takes a long time probing audio hardware and eventually times out, when I try to select interface in the QjackCtl setup window. I double-checked there is no old version of Jack in my Program Files (x86) path, and can reproduce the same error message launching Jack in command line.

Thanks.

yyf avatar Jan 29 '21 01:01 yyf

what is the output of:

jackd -d portaudio -l

supposedly it prints the list of devices. there might be some certain devices that are causing this timeout.

The "BDB" stuff is related to meta-data. Weird with that error, but should not be what is causing this.

falkTX avatar Jan 29 '21 02:01 falkTX

@falkTX here is the output I got:

jackdmp 1.9.17 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2021 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details Drivers/internals found in : C:\Program Files\JACK2 Drivers/internals found in : C:\Program Files\JACK2 JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" BDB1546 unable to join the environment cannot open DB environment: Resource temporarily unavailable BDB1546 unable to join the environment cannot open DB environment: Resource temporarily unavailable Cannot connect to named pipe after wait = \.\pipe\server_jack_default_0 err = 2 Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Open error: is JACK server running? jack_deactivate called with a NULL client jack_deactivate called with a NULL client jack_client_close called with a NULL client ********************** Devices list, 27 detected ********************** (... audio device info ...) **************************** End of list **************************** Cannot initialize driver JackServer::Open failed with -1 Failed to open server

yyf avatar Jan 29 '21 02:01 yyf

does that take a long time to run? like if it is timing out

falkTX avatar Jan 29 '21 02:01 falkTX

It's not immediate but didn't time out.

yyf avatar Jan 29 '21 02:01 yyf

with -ddummy i have the same behavior...no qjackctl no SC server starting. I've no residuals of previous Jack neither in Program Files (x86) neither in the path in system enviroment variables. With jackd -d portaudio -l i have the output in the screenshot here Screenshot 2021-01-29 154459

it seems to me that jack doesn't really start...

alfonso73 avatar Jan 29 '21 14:01 alfonso73

please run this instead, which will use verbose mode and alternative server name. so it could give some more info:

jackd -v -n testing -d portaudio -l

falkTX avatar Jan 29 '21 15:01 falkTX

@falkTX Here you go. Seems it failed to open server. Any suggestion?

C:\Program Files\JACK2>jackd -v -n testing -d portaudio -l jackdmp 1.9.17 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2021 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details Drivers/internals found in : C:\Program Files\JACK2 Drivers/internals found in : C:\Program Files\JACK2 JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" Jack: JackWinThread::StartImp : create non RT thread Jack: JackWinThread::ThreadHandler : start Jack: Initializing PortAudio... Cannot connect to named pipe after wait = \.\pipe\server_jack_default_0 err = 2 Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Open error: is JACK server running? jack_deactivate called with a NULL client jack_deactivate called with a NULL client jack_client_close called with a NULL client ********************** Devices list, 23 detected ********************** ... (audio device info) ... **************************** End of list **************************** Cannot initialize driver Jack: no message buffer overruns Jack: JackWinThread::Stop Jack: JackWinThread::ThreadHandler : exit JackServer::Open failed with -1 Jack: Succeeded in unlocking 107341338 byte memory area Jack: JackShmMem::delete size = 0 index = 0 Jack: ~JackDriver Jack: Succeeded in unlocking 1187 byte memory area Jack: JackShmMem::delete size = 0 index = 1 Jack: Cleaning up shared memory Jack: Cleaning up files Jack: Unregistering server `testing' Failed to open server

yyf avatar Jan 29 '21 15:01 yyf

this is what i get

C:\Program Files\JACK2>jackd -v -n testing -d portaudio -l jackdmp 1.9.17 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2021 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details Drivers/internals found in : C:\Program Files\JACK2 Drivers/internals found in : C:\Program Files\JACK2 JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests"

alfonso73 avatar Jan 29 '21 22:01 alfonso73

Some more strange symptoms. A lot of different apps don't start after Jack 1.9.17 is installed (VCV Rack, Max8, NI Reaktor standalone, NI Kontakt standalone). When Jack2 is uninstalled Max8 is back working again but VCV and NI stuff doesn't start no more. I tried register/unregister jackRouter.dll but no improvements. Probably uninstalling Jack leave some garbage around? Infact the JackRouter folder doesn't get deleted and i have to delete it manually. But anyway even if deleted VCV and NI stuff refuses to start. Should i open a new issue? It sounds that it'is all related... BTW never got this behavior for Jack version from several months ago. I just got the SC server issue but no other problems.

alfonso73 avatar Jan 30 '21 19:01 alfonso73

An update about some apps not starting even after JACK2 is uninstalled. I did a Windows registry cleaning process using a specific app and now all those apps works normally. Waiting for some news about this issue and see if i can try install JACK2 again. Thanks and all the best

alfonso73 avatar Feb 03 '21 11:02 alfonso73