Bug 550237 - Segmentation Fault on ettercap
Summary: Segmentation Fault on ettercap
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ettercap
Version: 12
Hardware: x86_64
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-24 05:59 UTC by Francisco Medina
Modified: 2010-12-04 01:17 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-04 01:17:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A patch by Timothy Redaelli that fix the BUG (590 bytes, patch)
2010-04-22 13:17 UTC, Balazs Zachar
no flags Details | Diff
patched rpm files for temporary usage (899.07 KB, application/x-gzip)
2010-04-22 13:27 UTC, Balazs Zachar
no flags Details

Description Francisco Medina 2009-12-24 05:59:27 UTC
Description of problem:
Segmentation Fault... when scanning for hosts

Version-Release number of selected component (if applicable):

ettercap-0.7.3-34.fc12.x86_64

How reproducible:


Steps to Reproduce:
1.As root execute  ettercap -i wlan0 -C
2.Then set a mask 255.255.255.0 with n key
3.Sniff -> Unified snifffing -> wlan0
4.Host -> Scan for Host
  
Actual results:


Expected results:

List of hosts

Additional info:

Comment 1 Otto 2010-03-25 17:03:59 UTC
The same happens to me:

$ su -
# ettercap-gtk
Sniff > Unified sniffing > Network interface: eth0
Host > Scan for hosts

Ooops ! This shouldn't happen...
Segmentation Fault...

Please recompile in debug mode, reproduce the bug and send a bugreport

$ rpm -qa|grep ettercap
ettercap-common-0.7.3-34.fc12.i686
ettercap-0.7.3-34.fc12.i686
ettercap-gtk-0.7.3-34.fc12.i686

$ uname -a[dl36@no023478 ~]$ uname -a
Linux no023478.xxxxxxxx.com.br 2.6.32.9-70.fc12.i686 #1 SMP Wed Mar 3 05:14:32 UTC 2010 i686 i686 i386 GNU/Linux

Comment 2 Balazs Zachar 2010-04-22 13:15:20 UTC
Hi, same problem... 

It looks the ubuntu guys already found the solution (it is a x86_64 related problem):
https://bugs.launchpad.net/debian/+source/ettercap/+bug/364917

Attached you can find the patch written by Timothy Redaelli...

I recompiled my fedora package with that patch and it fixed the problem...

Regards,
Balázs Zachár

PS: Attached you can find my recompiled rpms...

Comment 3 Balazs Zachar 2010-04-22 13:17:06 UTC
Created attachment 408319 [details]
A patch by Timothy Redaelli that fix the BUG

Comment 4 Balazs Zachar 2010-04-22 13:27:10 UTC
Created attachment 408323 [details]
patched rpm files for temporary usage

Comment 5 Fedora Update System 2010-04-26 15:04:27 UTC
ettercap-0.7.3-35.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ettercap-0.7.3-35.fc13

Comment 6 Fedora Update System 2010-04-26 15:04:33 UTC
ettercap-0.7.3-35.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ettercap-0.7.3-35.fc12

Comment 7 Gwyn Ciesla 2010-04-26 15:05:35 UTC
Thanks so much!  Updates are on their way. . .

Comment 8 Fedora Update System 2010-04-27 05:51:02 UTC
ettercap-0.7.3-35.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ettercap'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ettercap-0.7.3-35.fc13

Comment 9 Fedora Update System 2010-04-28 01:13:05 UTC
ettercap-0.7.3-35.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ettercap'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ettercap-0.7.3-35.fc12

Comment 10 Gwyn Ciesla 2010-05-10 14:28:42 UTC
CCing both feedback submitters.  Once of you tested on 12, the other on 13.  Can you please try each other's tests?

Comment 11 Balazs Zachar 2010-05-11 10:50:18 UTC
Hi,

I just tested your rpms on fedora 12 again.
It looks last time I was not thorough enough. :(  
I still get segfault for simetimes.
But I feel it much better, than before the patch. (really!)
Now it rarely crash (I am scanning 4095 hosts).
Before the patch it crashed every time.

Comment 12 Gwyn Ciesla 2010-05-11 14:58:58 UTC
So it sounds like a step in the right direction, at least.  I'll push this to stable, since it's an improvement, but keep the bug open for now.

Comment 13 Kevin Fenzi 2010-05-11 17:49:55 UTC
I tried on f12 here and didn't get a segfault, but then I have very few hosts and it's running on a virtual. 

So, sounds like it might be large number of hosts or just sporadic?

Comment 14 Fedora Update System 2010-05-12 12:17:47 UTC
ettercap-0.7.3-35.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2010-05-12 17:53:03 UTC
ettercap-0.7.3-35.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 jojaloca 2010-06-01 22:06:15 UTC
In fedora 13 with ettercap-0.7.3-35.fc13 the problem persist.

ettercap -G 

Host ---> Scan for hosts

Ooops ! This shouldn't happen...
Segmentation Fault...

Comment 17 isada 2010-09-13 12:42:37 UTC
In Fedora 13 with Kernel 2.6.34.6-54.fc13 and ettercap-0.7.3-35.fc13 the same problem still persist.

Comment 18 Poncho 2010-10-16 14:01:51 UTC
There is an updated version of this patch.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521857

Comment 19 Bug Zapper 2010-11-04 02:39:27 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 20 Kyle Pablo 2010-11-28 04:06:55 UTC
Problem still exist F14 x86_64

ettercap-0.7.3-36.fc14.x86_64

Comment 21 Bug Zapper 2010-12-04 01:17:09 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.