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 1 month 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin