[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
Fixed in precise Pangolin -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
Sorry for misunderstanding, this is clearly a bug in ettercap, fixed in ettercap_rc, not in ubuntu yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
I'm also getting this bug when using 'System.Timer' in Mono. Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion `layout-wrap_loop_count == 0' failed Using GTK-verion 'gtk-sharp-2.12.10' on Ubuntu 12.04 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
I repeat, this seems to be a bug against gtk, please open a bug here [1] and post here the bug number [1] https://bugs.launchpad.net/ubuntu/+source/gtk+3.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
This bug should be re-opened. I am using Oneiric, ettercap version 0.7.3 and am still having this problem. My backtrace is a bit different from the one above, however, the segfault also occurs for me in gdk_window_set_geometry_hints (). Below is the backtrace from gdb: -- Starting program: /usr/sbin/ettercap -G [Thread debugging using libthread_db enabled] ettercap NG-0.7.3 copyright 2001-2004 ALoR NaGA Dissector dns not supported (etter.conf line 70) [New Thread 0x7fffe7d35700 (LWP 5861)] [New Thread 0x7fffe7534700 (LWP 5862)] [New Thread 0x7fffe6d33700 (LWP 5863)] Program received signal SIGSEGV, Segmentation fault. 0x760944b4 in gdk_window_set_geometry_hints () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (gdb) bt #0 0x760944b4 in gdk_window_set_geometry_hints () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 #1 0x7653ed23 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #2 0x75de40a4 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #3 0x75df5e5f in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #4 0x75dff6b1 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #5 0x75dff852 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #6 0x76390f60 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #7 0x76043d26 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 #8 0x75b23a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x75b24258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x75b24792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #11 0x7640cdb7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type return to continue, or q return to quit--- #12 0x004506c5 in gtkui_start () #13 0x0041295f in main () Is there any other information I could provide that would help diagnose the problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
I think you should open a bug against libgtk2.0-0 because this seems to be a gtk crash. Please feel free to link the bug here -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
This bug should be fixed in oneiric. Please test and reopen if you still have problem ** Changed in: ettercap (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
I got the same problem but the ppa doesn't work anymore. I am trying to compile from source but dove into dependency hell... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
The ppa works well for me. The bug does not appear. Thanks JKL. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
If you aren't able to apply the patch and rebuild from source, try installing the version from the below PPA. It has the patch applied. https://launchpad.net/~jkl102001/+archive/ppa If it works for you, leave a note here saying so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
Not solved in 11.04. ettercap NG-0.7.3 copyright 2001-2004 ALoR NaGA Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a bugreport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
** Patch removed: add GTK locking to key UI functions called by threads (minimally tested) https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007/+attachment/1480136/+files/GTK-locking.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/588007 Title: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
I am waiting for this bug to be patched... -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
** Changed in: ettercap (Ubuntu) Status: New = Triaged ** Changed in: ettercap (Ubuntu) Importance: Undecided = Medium -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
The software doesn't use GTK locking properly, and it doesn't appear to be maintained upstream (last release 2005). Here is my initial effort at a patch (minimally tested). It fixes this bug, but it is possible that it may introduce new bugs due to lock contention (i.e. calling gdk_threads_enter() twice). The patch is against the Ubuntu bzr sources, and it was generated using bzr diff. In order for the patch to be correct, I need to prove that gdk_threads_enter() gets called exactly once before each group of GTK/GDK operations, and gdk_threads_leave() gets called exactly once after. So far that hasn't been especially easy to prove, because there are a lot of different threads. Also there is a whole UI abstraction layer to deal with due to the dual GTK/ncurses frontends. ** Patch added: add GTK locking to key UI functions called by threads (minimally tested) http://launchpadlibrarian.net/53215279/GTK-locking.patch -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
The approach taken in that patch won't work, because the UI ops functions are sometimes called in the main thread when GTK is already locked and should not be locked again, and sometimes they are called in a worker thread when GTK needs to be locked. As expected, it causes deadlock. -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
** Tags added: patch -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
This patch takes a different approach. It removes GTK locking and forces all GTK operations into the main thread via g_idle_add. This approach has the advantage that it doesn't require knowing whether the main thread or some worker thread is attempting to performing the operations. It also has the advantage that it will probably fix other crash bugs specific to Windows, since the Windows GTK backend does not support multithreaded access to the windowing system. Anyone see any obvious problems with this approach? ** Patch added: remove GTK locking, use g_idle instead http://launchpadlibrarian.net/53257891/use-g-idle.patch -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
When scanning for hosts, this is the backtrace I get: Program received signal SIGSEGV, Segmentation fault. #0 0x760c3084 in gdk_window_set_geometry_hints () from /usr/lib/libgdk-x11-2.0.so.0 #1 0x76571035 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #2 0x744e45de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #3 0x744f81dd in ?? () from /usr/lib/libgobject-2.0.so.0 #4 0x744f9a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #5 0x744fa033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #6 0x763bf580 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #7 0x76073db6 in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #8 0x7402f8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #9 0x74033748 in ?? () from /lib/libglib-2.0.so.0 #10 0x74033c55 in g_main_loop_run () from /lib/libglib-2.0.so.0 #11 0x7643dbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x00462bec in gtkui_start () at ec_gtk.c:441 #13 0x00432b93 in ui_start () at ec_ui.c:79 #14 0x00421f10 in main (argc=2, argv=0x7fffe798) at ec_main.c:173 I'm running Lucid64, and I built ettercap from the current Ubuntu bzr sources. It looks like the problem is with GTK. Some Google searches turn up other bugs related to gdk_window_set_geometry_hints. The consensus seems to be that it's some kind of tricky race condition/threading problem. Oy. https://bugs.launchpad.net/ubuntu/+source/computer-janitor/+bug/420307 https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/424917 -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
kubuntu lucid 10.04 32bit Linux 2.6.33 #1 SMP Mon Jul 5 03:07:52 CEST 2010 i686 GNU/Linux i have same ettercap-gtk problem sudo ettercap -G ettercap NG-0.7.3 copyright 2001-2004 ALoR NaGA (unknown:17893): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x9d4f1e0' (unknown:17893): Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion `layout-wrap_loop_count == 0' failed (unknown:17893): Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion `layout-wrap_loop_count == 0' failed Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a bugreport -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
Hello There, i have same ettercap-gtk problem on lucid x86 (32b) here is the output : # ettercap -G ettercap NG-0.7.3 copyright 2001-2004 ALoR NaGA (unknown:1957): Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion `layout-wrap_loop_count == 0' failed (unknown:1957): Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion `layout-wrap_loop_count == 0' failed unknown: Fatal IO error 11 (Ressource unavailable) on X server :0.0. -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/49454618/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/49454619/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/49454620/ProcStatus.txt ** Attachment added: XsessionErrors.txt http://launchpadlibrarian.net/49454621/XsessionErrors.txt -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 588007] Re: Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash
(unknown:6679): Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators Ooops ! This shouldn't happen... Segmentation Fault... -- Once selected interface, if Hosts List is open and click on Scan for hosts Ettercap crash https://bugs.launchpad.net/bugs/588007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs