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

segfault while using the soft. #4

Closed
Cubox opened this issue Jul 6, 2013 · 5 comments
Closed

segfault while using the soft. #4

Cubox opened this issue Jul 6, 2013 · 5 comments
Labels
Type: Bug Bug to be resolved

Comments

@Cubox
Copy link
Contributor

Cubox commented Jul 6, 2013

Hi,

I started it, used for a while, and I was wondering why it was not working.

╭─<cubox@Thunderaan>-<~/Documents/softs/ZeroTierOne>-<12:26:44>-◇
╰─➤ sudo ./zerotier-one '/Library/Application Support/ZeroTier/One'
debug: pam_yubico.c:478 (do_challenge_response): Failed initializing YubiKey
debug: pam_yubico.c:655 (do_challenge_response): Yubikey core error: no yubikey present
Password:
zerotier-one(80730,0x103281000) malloc: *** error for object 0x103003db0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

EDIT: I am running Mac 10.8.4.

@Cubox
Copy link
Contributor Author

Cubox commented Jul 6, 2013

This bug happened again. I'll try a debug version and get you the stack trace.

@Cubox
Copy link
Contributor Author

Cubox commented Jul 6, 2013

Valgrind gave me this: http://paste.placeholder.fr/show/281/

adamierymenko added a commit that referenced this issue Jul 6, 2013
…n EthernetTap on OSX -- I think the problem may have been that I was using set::erase(key) while also using an iterator, so now it uses erase(iterator). See if it happens again, cause I could not duplicate the issue. Possible minor difference in STL version.
@adamierymenko
Copy link
Contributor

Okay, when you see this can you try this again and see if you see the issue? If you don't I'm marking it closed. BTW, have to get valgrind for OSX. I have it for Linux but OSX would be very nice.

I have noticed occasional valgrind false alarms with network functions by the way, so I think the stuff in Demarc was such.

@adamierymenko
Copy link
Contributor

@Cubox
Copy link
Contributor Author

Cubox commented Jul 6, 2013

Seems fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug to be resolved
Projects
None yet
Development

No branches or pull requests

2 participants