Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSegmentation Fault in dnsmasq #194
Comments
This comment has been minimized.
This comment has been minimized.
|
dnsmasq comes from pkgsrc. So it'd really help if you told us what dataset you're on, and either steps to reproduce this or access to the core file will be necessary. Without any additional debugging information there isn't much we can do. |
This comment has been minimized.
This comment has been minimized.
|
Sure. Dataset is smartos 1.9.1 base64 (cf7e2f40-9276-11e2-af9a-0bad2233fb0b) pkgin in dnsmasq checking the log reports "Method "start" failed due to signal SEGV.", and manually running /opt/local/sbin/dnsmasq gives the segmentation fault. How would you like me to deliver this core dump? |
This comment has been minimized.
This comment has been minimized.
|
posted for the weekend at: http://brianewell.com/smartos/dnsmasq-2.64-core.bz2 |
This comment has been minimized.
This comment has been minimized.
|
I had the exact same issue. It also occurs in a 32-bit base (60ed3a3e-92c7-11e2-ba4a-9b6d5feaa0c4) image.
Here is my /opt/local/etc/dnsmasq.conf:
Just running I will try with a default dnsmasq configuration and report back. |
This comment has been minimized.
This comment has been minimized.
|
I found the behavior was the same with a modified or stock config |
This comment has been minimized.
This comment has been minimized.
|
@brian-ewell thanks. That's good to know :) |
This comment has been minimized.
This comment has been minimized.
|
Attempted to compile this package from source (dnsmasq-2.65) and got another core dump |
This comment has been minimized.
This comment has been minimized.
|
I have found the bug, and will update the packages. |
This comment has been minimized.
This comment has been minimized.
|
Thank you Jonathan :) On 2013-04-04, at 9:54, Jonathan Perkin notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
Thank you! I know this is probably a fringe package for this distribution, thanks for being on top of fixing it. Let me know when it's up and I'll close the issue after testing. |
This comment has been minimized.
This comment has been minimized.
|
Have been in conversation with the author or dnsmasq, he brought up this: http://www.thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=71c73ac17c7d0908621ef031d82f8e8bc44933d2 |
This comment has been minimized.
This comment has been minimized.
|
Yeh, I came up with an independent fix and then found that when trying to submit it upstream. I've taken that patch as well as a follow-up change as per http://mail-index.netbsd.org/pkgsrc-changes/2013/04/04/msg087160.html |
This comment has been minimized.
This comment has been minimized.
|
This is now starting to appear in repositories, and should be in all of them within the next few hours. The version you are looking for is dnsmasq-2.64nb1. |
Getting a segmentation fault from dnsmasq as distributed through the package manager on the following:
"Live Image": "20130321T213641Z",
"CPU Type": "AMD Turion(tm) II Neo N54L Dual-Core Processor"
I would post the core dump, but I doubt that's what github had in mind when it comes to an "image".