<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged segmentation-fault</title>
<link>https://www.multichain.com/qa/tag/segmentation-fault</link>
<description>Powered by Question2Answer</description>
<item>
<title>Segmentation fault on Windows 10 (but not on Mac)</title>
<link>https://www.multichain.com/qa/39583/segmentation-fault-on-windows-10-but-not-on-mac</link>
<description>&lt;p&gt;Hi, when I try to connect a slave node to the master node (with Windows 10), the slave node process receives the signal&amp;nbsp;SIGSEGV and exits. On Mac, this setup works without problems.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;I started the mutlichain slave node as child process with this command in NodeJS:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;multichaind -txindex,-printtoconsole,-port=7447,-autosubscribe=streams,MyChain1@master-node:7447&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Then I get these logs:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | MultiChain version build 2.1.2 protocol 20012 (Jan 12 2021, 14:36:17)&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using OpenSSL version OpenSSL 1.0.1h 5 Jun 2014&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using BerkeleyDB version Berkeley DB 4.8.30: (April&amp;nbsp; 9, 2010)&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Default data directory /root/.multichain/MyChain1&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using data directory /root/.multichain/MyChain1&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using config file /root/.multichain/MyChain1/MyChain1.conf&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using at most 125 connections (1048576 file descriptors available)&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Using 5 threads for script verification&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | multichaind&amp;nbsp; | Using wallet wallet.dat&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | init message: Verifying wallet...&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Wallet file exists. WalletDBVersion: 3.&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | multichaind&amp;nbsp; | Binding RPC on address :: port 8000 (IPv4+IPv6 bind any: 1)&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | multichaind&amp;nbsp; | init message: Initializing multichain...&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | multichaind&amp;nbsp; | nFileVersion = 100000&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Keys: 2 plaintext, 0 encrypted, 2 w/ metadata, 2 total&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | multichaind&amp;nbsp; | mchn: Checking seed address master-node:7447&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | NodeJS-DEBUG: Child exited with code null and got signal SIGSEGV&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | NodeJS-DEBUG: on close for Slave with code: null and got signal SIGSEGV&lt;br&gt;slave-node_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | NodeJS-DEBUG: Multichain stopped with exit code null. Retry in 10 Seconds...&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/39583/segmentation-fault-on-windows-10-but-not-on-mac</guid>
<pubDate>Wed, 15 Sep 2021 08:36:32 +0000</pubDate>
</item>
<item>
<title>Starting Multichain 2.0.3 results in Segmentation fault</title>
<link>https://www.multichain.com/qa/16661/starting-multichain-2-0-3-results-in-segmentation-fault</link>
<description>Hi&lt;br /&gt;
&lt;br /&gt;
We have started running multichain 2.0.3 images within our kubernetes cluster (we have been running 1.x nodes for a couple of years now), and our new instances are crashing upon startup with the message below.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
MultiChain 2.0.3 Daemon (Community Edition, latest protocol 20011)&lt;br /&gt;
&lt;br /&gt;
Other nodes can connect to this node using:&lt;br /&gt;
multichaind asset-chain@172.16.42.75:6489&lt;br /&gt;
&lt;br /&gt;
Node ready.&lt;br /&gt;
&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Do you know what would cause this error and where we should be looking for a root cause?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Marty</description>
<guid isPermaLink="true">https://www.multichain.com/qa/16661/starting-multichain-2-0-3-results-in-segmentation-fault</guid>
<pubDate>Fri, 15 Nov 2019 18:58:00 +0000</pubDate>
</item>
</channel>
</rss>