<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87048/pc-ble-driver-js-2-8-2-pc-ble-driver-4-1-4-node-14-19-1---sigsegv-on-linux-but-success-on-windows</link><description>Hi, We have a central app running pc-ble-driver-js 2.7.2 with dongles burnt with 4.1.2 firmware, on node 12.x.x, which has been running successfully on windows + ubuntu + debian + rhel for a while now, with the upcoming production aimed for linux distros</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 03 Jun 2022 13:16:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87048/pc-ble-driver-js-2-8-2-pc-ble-driver-4-1-4-node-14-19-1---sigsegv-on-linux-but-success-on-windows" /><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/370896?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 13:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f884dc-9152-40d4-af88-323aa62daf66</guid><dc:creator>user26071</dc:creator><description>[quote user="A.P"]&lt;p&gt;However, as I understand it, this doesn&amp;#39;t address the segmentation fault poping up when using firmware 4.1.4 and pc-ble-driver version 4.1.4 on an Ubuntu machine, which is what was described here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;That is true. The 4.1.2 is a workaround. I will ping the internal ticket and update this here if I hear anything.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/370191?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 11:41:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a3a61d7-aa15-47a5-9d22-0d0e7ef6d088</guid><dc:creator>user83878</dc:creator><description>&lt;p&gt;Hi Edvin!&lt;br /&gt;I see that the 4.1.2 firmware can be used with a pc-ble-driver version 4.1.4.&lt;br /&gt;However, as I understand it, this doesn&amp;#39;t address the segmentation fault poping up when using firmware 4.1.4 and pc-ble-driver version 4.1.4 on an Ubuntu machine, which is what was described here.&lt;/p&gt;
&lt;p&gt;Am I misunderstanding something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/370160?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 10:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4019b95b-ee8b-4067-b244-b4c1e7585674</guid><dc:creator>user26071</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;The last update on this case was in a duplicate (not strictly a duplicate, but same user and same subject), which you can find here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87463/pc-ble-driver-backwards-compatability"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/87463/pc-ble-driver-backwards-compatability&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/370102?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 07:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec4a36c4-5c4f-4a17-ae7d-2394a58f0307</guid><dc:creator>user83878</dc:creator><description>&lt;p&gt;Hi Edvin!&lt;br /&gt;&lt;br /&gt;Is there any update on this?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/365445?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 13:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b254a1e5-5b4d-4de9-aae3-c302de67fb02</guid><dc:creator>user91473</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;An additional update: with the same build logic above (for node 14 on linux), we are able to run the dongle and connect to our peripherals&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;with a dongle burnt with 4.1.2:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go through the process above to compile and create the node bindings files for pc-ble-driver-js v2.8.2 and pc-ble-driver &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;4.1.4&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Unzip our typescript code&lt;/li&gt;
&lt;li&gt;&amp;quot;sudo yarn install&amp;quot; to install all our packages, including pc-ble-driver-js.&lt;/li&gt;
&lt;li&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Replace&lt;/strong&gt;&lt;/span&gt; the bindings files in node_modules/pc-ble-driver-js/build/Release with the bindings files&amp;nbsp;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;we built&lt;/span&gt;&lt;/strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;/span&gt; in step 1.&lt;/li&gt;
&lt;li&gt;Run our central - so far, we have been able to open the adapter, and connect to our peripherals with no issues.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Is this expected? Should a node bindings file compiled against a 4.1.4 pc-ble-driver work with a 4.1.2 dongle?&lt;br /&gt;Has this been tested before?&lt;br /&gt;Roi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/364572?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2022 13:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a0f0e82-de69-4a30-bb10-7d2ae478f980</guid><dc:creator>user91473</dc:creator><description>&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;Hi,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;Just an update that we also tried to build both pc-ble-driver and pc-ble-driver-js from source, and we still receive the &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;same error&lt;/strong&gt;&lt;/span&gt; both on api v2 and v5:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;​cloning pc-ble-driver + git checkout v4.1.4&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;cloning pc-ble-driver-js + git checkout v2.8.2&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;Add to CMakeLists in pc-ble-driver repo (so that the targets.cmake file is created):&lt;/span&gt;&lt;br /&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v2_static NAMESPACE nrf:: FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v3_static NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v5_static NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v6_static NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v2_shared NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v3_shared NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v5_shared NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;export(TARGETS nrf_ble_driver_sd_api_v6_shared NAMESPACE nrf:: APPEND FILE nrf-ble-driverTargets.cmake)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:arial, helvetica, sans-serif;font-size:inherit;"&gt;Run cmake&amp;nbsp;within build folder:&amp;nbsp;&lt;span style="color:#212121;"&gt;sudo cmake -Dspdlog_DIR=/vcpkg/packages/spdlog_x64-linux/share/spdlog -Dfmt_DIR=/vcpkg/packages/fmt_x64-linux/share/fmt -DASIO_INCLUDE_DIR=/vcpkg/packages/asio_x64-linux/include -DCatch2_DIR=/vcpkg/packages/catch2_x64-linux/share/catch2 -DNRF_BLE_DRIVER_VERSION=4.1.4 -G Ninja ..&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Build: sudo cmake --build .&lt;/li&gt;
&lt;li&gt;Change CMakeLists.txt in pc-ble-driver-js to only build v5 (by changing the foreach).&lt;/li&gt;
&lt;li&gt;&lt;span&gt;sudo node build.js --CDnrf-ble-driver_DIR=&amp;quot;/pc-ble-driver/build&amp;quot; --CDCMAKE_CXX_FLAGS=&amp;quot;-I /pc-ble-driver/include/ -I /pc-ble-driver/include/common -I /pc-ble-driver/include/common/sdk_compat -I /pc-ble-driver/include/common/config -I /pc-ble-driver/include/sd_api_v5&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Remove CMakeCache.txt from build&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Change CMakeLists.txt in pc-ble-driver-js to only build v2 (by changing the foreach).&lt;/li&gt;
&lt;li&gt;&lt;span&gt;sudo node build.js --CDnrf-ble-driver_DIR=&amp;quot;/pc-ble-driver/build&amp;quot; --CDCMAKE_CXX_FLAGS=&amp;quot;-I /pc-ble-driver/include/ -I /pc-ble-driver/include/common -I /pc-ble-driver/include/common/sdk_compat -I /pc-ble-driver/include/common/config -I /pc-ble-driver/include/sd_api_v2&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;After this, build/Release will hold both node bindings files. Move them to the node_modules/pc-ble-driver-js/build/Release folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After this, we still receive the same serialization error.&lt;/p&gt;
&lt;p&gt;Roi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-js 2.8.2 + pc-ble-driver 4.1.4 + node 14.19.1 - SIGSEGV on linux, but success on windows</title><link>https://test-devzone.nordicsemi.com/thread/363658?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 14:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e448fbe6-6905-4314-a381-c31cf774ea4b</guid><dc:creator>user26071</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will have to forward this to our serialization team. I will let you know when I hear from them.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>