Internal error after reload modified server mode section

Hi, I didn't found this question, so I hope isn't duplicate. I'm using the latest stable 4.42 version and I'm running Windows 2000 and I want to ask is this is a normal behavior. What is happening is that, after change the server section in the config file (the rest are all client mode), if it has been any connection to that server (and only if it has been a connection), when I reload the modified conf, it gives...: INTERNAL ERROR: get_alloc_list_ptr: Bad magic str_stats: 380 block(s), 96684 byte(s) This happens after no errors in the load (except for DH being hardcoded), SSL context initialized Configuration successful after open every service (clients and server) and then, after the error, closes every service. Trying to reload the conf, doesn't nothing, just stunnel hangs (is not responding to reloads). The only way to restart all is to close stunnel and reopen. Then, the configuration is accepted without problems and works perfectly. This happens, as I said, after modify the conf file and if it was a connection. The section is related to a local test server, where I modify the IP and/or ports where to accept and where to connect. As general options I have: debug = debug delay = yes And the server section: [mySSL] client = no cert = mytestpem.pem accept = 127.0.0.1:443 connect = 127.0.0.1:80 What I'm doing wrong? Is the normal behavior? Is it a new bug? Regards, Javier.

Javier wrote:
What is happening is that, after change the server section in the config file (the rest are all client mode), if it has been any connection to that server (and only if it has been a connection), when I reload the modified conf, it gives...:
INTERNAL ERROR: get_alloc_list_ptr: Bad magic str_stats: 380 block(s), 96684 byte(s) [cut] What I'm doing wrong? Is the normal behavior? Is it a new bug?
It was a new bug. Please install: ftp://ftp.stunnel.org/stunnel/stunnel-4.43b1-installer.exe and let us know if it works for you. Mike

On Tue, 06 Sep 2011 16:55:59 +0200 Michal Trojnara <Michal.Trojnara@mirt.net> wrote:
Javier wrote:
What is happening is that, after change the server section in the config file (the rest are all client mode), if it has been any connection to that server (and only if it has been a connection), when I reload the modified conf, it gives...:
INTERNAL ERROR: get_alloc_list_ptr: Bad magic str_stats: 380 block(s), 96684 byte(s) [cut] What I'm doing wrong? Is the normal behavior? Is it a new bug?
It was a new bug. Please install: ftp://ftp.stunnel.org/stunnel/stunnel-4.43b1-installer.exe and let us know if it works for you.
Mike
Hi, this version worked without giving errors or hanging with the scenario explained. I'm not a fan of betas, but I'll use it :) Regards, Javier.

On Tue, Sep 06, 2011 at 04:55:59PM +0200, Michal Trojnara wrote:
Javier wrote:
What is happening is that, after change the server section in the config file (the rest are all client mode), if it has been any connection to that server (and only if it has been a connection), when I reload the modified conf, it gives...:
INTERNAL ERROR: get_alloc_list_ptr: Bad magic str_stats: 380 block(s), 96684 byte(s) [cut] What I'm doing wrong? Is the normal behavior? Is it a new bug?
It was a new bug. Please install: ftp://ftp.stunnel.org/stunnel/stunnel-4.43b1-installer.exe and let us know if it works for you.
Just out of interest, is this a Windows-specific bug or would it also affect, say, the FreeBSD port of stunnel that I'm just about to update to 4.42? Thanks for your work on stunnel! G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org peter@packetscale.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Do you think anybody has ever had *precisely this thought* before?

On Wed, Sep 07, 2011 at 05:46:25PM +0200, Michal Trojnara wrote:
Peter Pentchev wrote:
Just out of interest, is this a Windows-specific bug or would it also affect, say, the FreeBSD port of stunnel that I'm just about to update to 4.42?
The bug was specific to Windows.
Thanks for the quick response! G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org peter@packetscale.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence was in the past tense.
participants (3)
-
Javier
-
Michal Trojnara
-
Peter Pentchev