Search Results

by TestUzer
Thu Jan 31, 2019 6:13 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190116) Phidget_finalize
Replies: 2
Views: 23844

Re: SBC2: Bug in Phidget22 C library (20190116) Phidget_finalize

Have done an update/upgrade with a restart. Library is reported as "Phidget22 - Version 1.0.0 - Built Jan 29 2019 11:16:26" Recompiled and executed the test code via script "testloop" from my previous message. Got a slightly different error message "Invalid argument" (w...
by TestUzer
Thu Jan 31, 2019 6:04 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.
Replies: 8
Views: 38441

Re: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.

Have done an update/upgrade with a restart. Library is reported as "Phidget22 - Version 1.0.0 - Built Jan 29 2019 11:16:26" Recompiled and executed the test code from my previous message and had top watch the usage. I can see a leak (may not be the same one as before) eating memory. Starti...
by TestUzer
Sun Jan 20, 2019 7:12 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190116) Phidget_finalize
Replies: 2
Views: 23844

SBC2: Bug in Phidget22 C library (20190116) Phidget_finalize

I've been working on my little application and was noticing on rare occasions mutex exceptions were being thrown, so I did some testing. After a while it was apparent that, calling Phidget_finalize(0); when exiting causes a subsequent execution to occasionally throw the exception shown below. lock 0...
by TestUzer
Sat Jan 19, 2019 9:05 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.
Replies: 8
Views: 38441

Re: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.

Attached is test code to help.

Wasn't expecting this issue to be updated yet, but can confirm no change in 20190116-1 "Phidget22 - Version 1.0.0 - Built Jan 16 2019 16:48:45"
by TestUzer
Wed Jan 16, 2019 12:11 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.
Replies: 8
Views: 38441

Re: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.

Below is the system status information, if that helps. System information Board Name PhidgetSBC2 Board Revision 200 Webif Version 2.1.10-1 Firmware Version PhidgetSBC2 - Version 1.1.0 - Built Thu Jan 15 11:37:24 MST 2015 Kernel Version Linux version 3.2.66 (patrick@debian) (gcc version 4.9.2 ( 4.9.2...
by TestUzer
Sat Jan 12, 2019 4:13 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.
Replies: 8
Views: 38441

Re: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.

Thanks for looking at this, but Phidget_finalize(0); doesn't help in this situation. Adding Phidget_finalize(0); to the end of the program won't change the memory leak happening within the loop. Adding Phidget_finalize(0); to the loop throws a mutex exception. lock 0x40302e24 failed with 22 (Success...
by TestUzer
Wed Jan 09, 2019 8:14 am
Forum: C/C++
Topic: SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.
Replies: 8
Views: 38441

SBC2: Bug in Phidget22 C library (20190107) memory leak for VoltageRatioInput.

Using Phidget22 version 2.1.9.20190107-1 When compiling on the SBC2 I'm seeing a memory leak when calling the Phidget_openWaitForAttachment with Phidget_close on a PhidgetVoltageRatioInput channel but not on DigitalInput channel. Using cut down sample code (including the the common code from the sam...
by TestUzer
Mon Jan 07, 2019 1:44 am
Forum: Bug Report
Topic: SBC2: Debian package "Size mismatch" error
Replies: 1
Views: 22208

SBC2: Debian package "Size mismatch" error

Tried to update/upgrade got an error of Failed to fetch http://www.phidgets.com/debian/pool/main/p/phidget22wwwjs/phidget22wwwjs_1.0.0.20190103-1+deb8_all.deb Size mismatch The update package list at /var/lib/apt/lists/www.phidgets.com_debian_dists_wheezy_main_binary-armel_Packages says Package: phi...
by TestUzer
Thu Jan 18, 2018 8:17 am
Forum: General
Topic: Error with Phidget22 on SBC2
Replies: 0
Views: 18547

Error with Phidget22 on SBC2

I was upgrading some C# code to work with the Phidget22 library on an SBC2, and it refuses to compile. Narrowed the problem down to the following distilled code. using System; using System.IO; using System.Text; using Phidget22; using Phidget22.Events; namespace ConsoleApp { class Program { static v...