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 4 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

  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • avadhesh.p
  • Peter Mudenda
  • Sudhanshu Yadav
  • Shivakumar
  • Spawin
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin