Ethereal-dev: Re: [Ethereal-dev] Dumpcap: Coredump when disconnecting Ethernet during capture
Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 05.12.05 17:15:22:
>
> I just managed to dump core with dumpcap.
> While I was capturing I removed the Ethernet plug. After 10-20 seconds,
> Ethereal crashed and dumped core:
Hmmm, Ethereal or dumpcap crashed?!? dumpcap isn't used in Ethereal today, so what do you mean exactly here?
>
> 17:03:19 Err file capture.c: line 368
> (capture_input_error_message): assertion failed: (capture_opts->state ==
> CAPTURE_PREPARING)
> Aborted (core dumped)
>
> The core did not provide any usable info.
>
> Ulf, any ideas?
I've added this assert not long ago. Could you please try if it also happens with current Ethereal? I've maybe introduced a new bug which should be obviously fixed.
BTW: Which OS?
However, dumpcap in it's current state isn't ready for prime time.
It's currently more of a backup copy of my own work, so it won't get lost (just in case).
It's mostly untested, so please don't spend any valuable time on it for now.
I'm currently looking how to combine code from ethereal and tethereal, as there's a lot of duplicated (slightly changed) capture related code. I don't want to duplicate it another time in dumpcap.
>
> Btw: How about renaming dumpcap to tinycap as final name?
>
Hmmm, as we need to add some more features into it and it's already not really tiny (ringbuffer, ...), tinycap might be a bit too small, but I'll keep thinking about it.
Regards, ULFL
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193