Hello Matias, I don't remember the status of this issue, can you please enlight me? I tried again to look at the code, but without the pcap file I'm afraid I won't be able to reproduce. (lot of gtk stuff has been fixed in the last two years, trying again HEAD might help)
sorry for the delay Gianfranco On Mon, 29 Jun 2015 20:17:00 +0300 "Matias Wilkman" <matias.wilk...@gmail.com> wrote: > On Mon, 29 Jun 2015 11:20:26 +0300, Gianfranco Costamagna > <costamagnagianfra...@yahoo.it> wrote: > > I can't reproduce, can you please reproduce with the latest git and > > report an upstream issue if it still persists? > > Sure thing, there's now a new issue on Github: > https://github.com/Ettercap/ettercap/issues/687 > > > We fixed a lot of stuff in the unreleased yet version, I guess also this > > problem might be fixed > > https://github.com/Ettercap/ettercap/ > > Sorry, but no. I still got a segfault with git HEAD. In fact, a couple of > different ones. > > Core was generated by `/usr/local/bin/ettercap -w debug_dump.pcap -G'. > Program terminated with signal SIGSEGV, Segmentation fault. > > #0 0x000000000043150b in connfilter (model=0xbb0900, iter=0x7fffffffe0c0, > data=0x0) > at > /home/appas/code/ettercap/src/interfaces/gtk/ec_gtk_view_connections.c:1806 > 1806 switch (conn->co->L4_proto) { > (gdb) > (gdb) bt > #0 0x000000000043150b in connfilter (model=0xbb0900, iter=0x7fffffffe0c0, > data=0x0) > at > /home/appas/code/ettercap/src/interfaces/gtk/ec_gtk_view_connections.c:1806 > #1 0x00007ffff4d42a1c in () at > /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #2 0x00007ffff4d47d87 in () at > /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #3 0x00007ffff4d48169 in () at > /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #4 0x00007ffff4d40fe8 in () at > /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #5 0x00007ffff4d42364 in gtk_tree_model_foreach () > at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > > and > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff7b70596 in conntrack_flagstr (conn=0x9ceeea7ccd540221, > pstr=0x7fffffffe2e0 "", len=2) > at /home/appas/code/ettercap/src/ec_conntrack.c:759 > 759 if (conn->flags & CONN_MODIFIED) > (gdb) bt > #0 0x00007ffff7b70596 in conntrack_flagstr (conn=0x9ceeea7ccd540221, > pstr=0x7fffffffe2e0 "", len=2) at > /home/appas/code/ettercap/src/ec_conntrack.c:759 > > Ooops !! This shouldn't happen... > > Segmentation Fault... > > I think this valgrind output may be related: > > ==14811== Invalid read of size 8 > ==14811== at 0x43155B: connfilter (ec_gtk_view_connections.c:1821)