Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 59608
Status: resolved
Priority: 0/
Queue: Device-USB

People
Owner: cpan.wade [...] anomaly.org
Requestors: MSULLAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.34
Fixed in: 0.35



Subject: Seg. faults after upgrade from 0.31 to 0.34
Hi. Some strange segmentation faults have been encountered with the releases after 0.31. The change from a void pointer into a char pointer seems to not work completely correctly. My system runs the libusb-0.1-4 2:0.1.12-13 package delivered with debian. Is there any more information I can provide to help solve the problem? Have tried playing with the C code and it looks like any change from void to char results in a memory problem.
On Wed Jul 21 18:39:39 2010, MSULLAND wrote: Show quoted text
> Hi. > > Some strange segmentation faults have been encountered with the
releases Show quoted text
> after 0.31. The change from a void pointer into a char pointer seems
to Show quoted text
> not work completely correctly.
Thanks for reporting this. There really shouldn't be any difference at the C level between the char* and void*. I suspect that the previously supplied patch went a little overboard. I'll see if I can tease out the actual changes that need to be made and get a correction in place shortly. G. Wade
After looking at the discussion on Perl Monks that lead to the submitted patch. I can see what the other poster was trying to do and where the patch went wrong. I have just uploaded release 0.35 as an attempted fix for the problem. It should be indexed and available on CPAN in a few hours.
Tested the updated version now and everything looks to be working perfectly. On Wed Jul 21 23:37:33 2010, GWADEJ wrote: Show quoted text
> After looking at the discussion on Perl Monks that lead to the submitted > patch. I can see what the other poster was trying to do and where the > patch went wrong. > > I have just uploaded release 0.35 as an attempted fix for the problem. > > It should be indexed and available on CPAN in a few hours.