Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. 'std::length_error' Error

'std::length_error' Error

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By vamsi , 3 May, 2017
Forums
General discussion

Hi Mikko,

I am facing the fallowing error. While reading the large data.

1.0.31.7.0.255 | 1.0.91.7.0.255 | 1.0.1.7.0.255 | 1.0.9.7.0.255 | 1.0.32.7.0.255 | 1.0.33.7.0.255 | 1.0.14.7.0.255 | 1.0.1.8.0.255 | 1.0.9.8.0.255 | 0.0.1.0.0.255 | 0.0.0.1.2.255 | 0.0.94.91.8.255 | 0.0.96.7.0.255 | 0.0.0.1.0.255 | 0.0.94.91.0.255 | 0.0.96.2.0.255
<- 11:36:03 7E A0 19 03 41 F4 00 1E E6 E6 00 C0 01 81 00 07 01 00 5E 5B 03 FF 03 00 81 B3 7E
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted

This error is not specific to any function or for loop iteration in the client example code,If i skip some loops it will continue with the reading the data and again aborting the some where else. please guide me if u have experience with the this error. We are using Linux OS with C++ Gurux code.

Thanks,
cyient team

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

'std::length_error' Error

Hi,

Can you send trace from send and received bytes to me by email? We can check this.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Mega Bangunan Meruya | WA 083148835648
  • TB. SINAR RAHAYU (toko bahan bangunan) | WA 083148835648
  • Toko Bangun Citra Jaya | WA 083148835648
  • Toko Bangunan Wijaya Baru | WA 083148835648
  • Toko Bangunan Sumber Makmur | WA 083148835648
More

Who's new

  • Admin
  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin