*** buffer overflow detected ***: multichaind terminated

+2 votes

Hi 

I have hosted the multichain on the Digital ocean, And when ever am trying to issuing the asset (through API)am getting the following error 

*** buffer overflow detected ***: multichaind terminated

The same code base which is working fine in my local though. The Digital ocean machine details as below,

OS: Ubuntu 16.04.3 LTS

RAM: 1GB

Memory; 20 GB

Swap: 2GB

Is there any problem with the system requirements to run Multichain. 

Thanks in advance.

Regards,

Shiva.P

asked Nov 16, 2017 by shivap17
This looks like a regular bug. Can you please post the full API call you are making, and let us know which version of MultiChain you are running.
Hi,

Thanks for the response.

The version that am using is MultiChain 1.0.1

Am using the following API call

$this->no_displayed_error_result($issuetxid, $this->multichain('createrawsendfrom', Config::get('constants.ADMIN_ADDRESS'), $addresses, $data, 'send'));
Could you please use PHP's print_r() function to show the content of $addresses and $data so we can see what's in there? That may help.
Hi,

$addresses value is as below,


Array
(
    [1HBYVT78TJMfmURQdoW3kuqUgJXr2DCQEKwMXA] => Array
        (
            [issue] => Array
                (
                    [raw] => 1
                )

        )

)


And $data value is,
Array
(
    [0] => Array
        (
            [name] => MyProduct
            [multiple] => 1
            [open] => 1
            [details] => Array
                (
                    [productId] => 33460b94-f6e2-48d5-90b5-cf4aa7822c4b
                    [price] => 1
                    [owner] => cf7c161b-66b0-4982-ae85-0552cc279485
                )

        )

)

Please let me know if any.

Thanks in advance.
Thanks - we tried to reproduce the problem based on what you sent, but didn't see it here. So it is probably some bug which is triggered by the specific details of your blockchain, or content of your wallet.

If you can still reproduce this problem, it would be really helpful if you can stop your node, then send the following to multichain dot debug at gmail:

* A zip archive of your entire blockchain directory.
* The PHP code you are using to call the API that triggers this error.

If you don't want to do this because of confidentiality, we completely understand. Unfortunately we can't see any other way to reproduce the problem in order to identify and fix it.

Please log in or register to answer this question.

...