Project

General

Profile

wthttp/proxy error after upgrade to Wt4.9.1

Added by Maurice Verreck about 1 year ago

After an upgrade from Wt4.7 to Wt4.9.1 I receive the following error after a regular WLineEdit::setText()

[2023-Feb-07 06:40:22.560] 5151 - [error] "wthttp/proxy: error reading status line from child process 5203: End of file"
[2023-Feb-07 06:40:22.560] 5151 - [info] "wthttp/proxy: signal from dead session, sending reload."
[2023-Feb-07 06:40:22.560] 5151 - [error] "wthttp/proxy: error reading status line from child process 5203: End of file"
127.0.0.1 - - [2023-Feb-07 06:40:22.560] "GET /Toets++?wtd=Tpp070Y1etHOvW7SfZ4G2BJ&sid=1014349807&webGL=true&scrW=1472&scrH=828&tz=60&tzS=Europe%2FAmsterdam&htmlHistory=true&deployPath=%2FToets%2B%2B&request=script&rand=3616570090 HTTP/1.1" 200 76
[2023-Feb-07 06:40:22.560] 5151 - [error] "wthttp/proxy: Child process 5203 terminated after receiving signal 11 (core dumped)"127.0.0.1 - - [2023-Feb-07 06:40:22.560] "GET /Toets++?wtd=Tpp070Y1etHOvW7SfZ4G2BJ&request=style&page=2 HTTP/1.1" 503 105

Then the application restarts. This part of the application (a login widget) always worked fine. Can anybody give a short indication of the meaning of this error and where to start looking for the root cause?
Sorry for not being more specific for this moment.


Replies (4)

RE: wthttp/proxy error after upgrade to Wt4.9.1 - Added by Roel Standaert about 1 year ago

It looks to me like you got a segmentation fault. Either there's a bug in Wt, or you have a bug in your code that incidentally didn't cause a crash before.

Try to run your program under a debugger. See if you can also reproduce it when you turn off dedicated session processes.

If you think the issue may be in Wt, try to make a small self-contained sample application that reproduces your issue and report it.

RE: wthttp/proxy error after upgrade to Wt4.9.1 - Added by Maurice Verreck about 1 year ago

Thanks for your quick reply Roel.
Although it is likely my own bug, I broke it down into a very very minimal MWE and the failure is still there. Perhaps I chose the wrong options in wt_config.xml?
I would really appreciate any follow-up on this, since I ran out of ideas for the moment. I will enclose the files in a well documented folder.
Thanks for any help

RE: wthttp/proxy error after upgrade to Wt4.9.1 - Added by Maurice Verreck about 1 year ago

Update: I reverted to 4.7.0 and it all works again.

RE: wthttp/proxy error after upgrade to Wt4.9.1 - Added by Roel Standaert about 1 year ago

I'm not noticing anything wrong with the code you sent, at least not immediately. I can run it just fine, as well.

I suppose there's maybe something going wrong with your build? I can't really test that out, since it appears that you build Wt outside of the Dockerfile.

    (1-4/4)