Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql-sniffer randomly exits #3

Closed
anall opened this issue May 13, 2011 · 4 comments
Closed

mysql-sniffer randomly exits #3

anall opened this issue May 13, 2011 · 4 comments

Comments

@anall
Copy link
Contributor

anall commented May 13, 2011

I have had no luck tracking this down, but mysql-sniffer seems to exit to the prompt for no reason randomly. ( No error, no crash, no nothing fun at all -- no one query seems to trigger it )

Just logging this here so there's a record of it.

@zorkian
Copy link
Owner

zorkian commented May 14, 2011

I've noticed this. So far I haven't spent a lot of time trying to figure this out. My plan was to attach gdb and see if I can run the program until it exits, then get a stack trace.

@anall
Copy link
Contributor Author

anall commented May 14, 2011

I've traced this down -- for some reason pcap.Next() is timing out even though it's told not to. Pull requests incoming.

@anall anall closed this as completed May 14, 2011
@anall anall reopened this May 14, 2011
@anall
Copy link
Contributor Author

anall commented May 14, 2011

See

zorkian/gopcap#1
#4

@zorkian
Copy link
Owner

zorkian commented May 15, 2011

Awesome, thank you! Although you might have considered just making it not exit when pkt is nil. Then you don't need the response code, you just need to assume that a nil packet means to try again.

@zorkian zorkian closed this as completed May 15, 2011
bedestall5 added a commit to bedestall5/gopacket that referenced this issue Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants