Error Message in TCP socket


#1

hi,

anyone know what is the message ?

ERRLOG ch_channel.c:154: Assertion Failure:

© && CHANNEL_CLASS_SIGNATURE == ©->channelClass->signature

Hegler


#2

you’ve passed an argument that isn’t a channel to a WIP function that expected a channel. Either you passed NULL, or some random dangling pointer that wasn’t pointing to a channel.


#3

Use of “Assertions” is a programming technique - you might want to do some googling for further details;
eg,

en.wikipedia.org/wiki/Assertion_%28computing%29

c2.com/cgi/wiki?AssertionsAsDefensiveProgramming

etc,…


#4

More specifically, this one warning has been issued by a wip_read() or a wip_readOpts().