Ethereal-dev: Re: [Ethereal-dev] Lua for windows, need help

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Lars Roland" <Lars.Roland@xxxxxxx>
Date: Thu, 09 Feb 2006 08:44:52 +0100
Am 08.02.2006, 14:50 Uhr, schrieb Ulf Lamping <ulf.lamping@xxxxxx>:


You shouldn't put anything to stdout in the main function until capture_loop_start() is called (main.c lines 1857-2638, including all subfunctions called)!


Additionally there is a problem with g_error calls in the hot area. On win32 the error message isn't displayed and ethereal terminates immediately without giving any useful information.

This happens for example in proto_register_protocol() in proto.c:3245.

IMO we should have a log handler for such terminating events, which makes sure that the console with the error message is displayed before ethereal is closed.

Lars