Segfault in libps6000.so.1.0.0

Post your Linux discussions here
Post Reply
sidd
Newbie
Posts: 0
Joined: Sun Aug 12, 2012 7:13 pm

Segfault in libps6000.so.1.0.0

Post by sidd »

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

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Segfault in libps6000.so.1.0.0

Post by Martyn »

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 Support Manager

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

Re: Segfault in libps6000.so.1.0.0

Post by DaveHughes »

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

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Segfault in libps6000.so.1.0.0

Post by Martyn »

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 878 times
Martyn
Technical Support Manager

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

Re: Segfault in libps6000.so.1.0.0

Post by DaveHughes »

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.

peckert
Newbie
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

Re: Segfault in libps6000.so.1.0.0

Post by peckert »

Is there a 64bit version of the driver?

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Segfault in libps6000.so.1.0.0

Post by Martyn »

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 Support Manager

Post Reply