Test and Measurement Forum

Segfault in libps6000.so.1.0.0

Post your Linux discussions here

Segfault in libps6000.so.1.0.0

Postby sidd » Mon Aug 13, 2012 3:40 pm

I'm trying to run the example program PS6000con, included w/ the 32-bit PS6403a linux driver kit, and not having much luck. It looks like a seg-fault in the shared lib is the source of the error, but I'm not familiar enough w/ libusb and the usb stack to be certain. Output from dmesg is below.

usb 2-1.4: new high-speed USB device number 5 using ehci_hcd
usb 2-1.4: reset high-speed USB device number 5 using ehci_hcd
usb 2-1.4: usbfs: process 2352 (PS6000con) did not claim interface 0 before use
show_signal_msg: 36 callbacks suppressed
PS6000con[2352]: segfault at 228 ip b7604a29 sp bf891a20 error 6 in libps6000.so.1.0.0[b75e4000+4b000]

At this point I've tried this on every combination of Ubuntu 11.04 and 12.04, natively and under virtualbox on an OSX host, without success.

Any help or comments greatly appreciated!

-sidd
sidd
Newbie
 
Posts: 0
Joined: Sun Aug 12, 2012 7:13 pm

Re: Segfault in libps6000.so.1.0.0

Postby Martyn » Wed Aug 15, 2012 9:23 am

The driver has not been rebuilt since adding the A and B variants of the 6000 range. A new driver will be released shortly.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Segfault in libps6000.so.1.0.0

Postby DaveHughes » Mon Jul 01, 2013 1:45 pm

Hello,

I have recently purchased a PicoScope 6000 series scope for the lab I work in, can you give me an update on the new Linux driver?

We purchased this model due to perceived compatibility with Linux, but only just now have I found in the forums that there is a bug in the driver. Has this been fixed or will I have to return the item and get something that works with Linux?

Regards,
Dave
DaveHughes
Newbie
 
Posts: 0
Joined: Mon Jul 01, 2013 1:43 pm

Re: Segfault in libps6000.so.1.0.0

Postby Martyn » Mon Jul 01, 2013 2:55 pm

You can try the attached

It is something I produced to test out the new 6000 devices under Linux a while ago, but it never made a formal release. We have been waiting to recruit a Linux build engineer to manage the process, but it has taken some time. Good news is we have been succesful at last and he started today :D
Attachments
libps6000.tar.gz
Picoscope 6000 Driver
(1.14 MiB) Downloaded 200 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Segfault in libps6000.so.1.0.0

Postby DaveHughes » Tue Jul 02, 2013 12:53 pm

Many thanks for this, the example program seems to be working now, so I guess that my coding can continue!

Top Marks for customer service too.
DaveHughes
Newbie
 
Posts: 0
Joined: Mon Jul 01, 2013 1:43 pm

Re: Segfault in libps6000.so.1.0.0

Postby peckert » Thu Aug 15, 2013 4:29 pm

Is there a 64bit version of the driver?
peckert
Newbie
 
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

Re: Segfault in libps6000.so.1.0.0

Postby Martyn » Wed Aug 21, 2013 12:19 pm

Not at present although we are very close to providing new 6000 series drivers that will have 64 bit versions, these are currently in testing and waiting for approval for release.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests