Prophidys / RTG2

Realtime Traffic Grapher 2
GNU General Public License v2.0
11 stars 9 forks source link

rtgplot error in db_disconnect #17

Closed Prophidys closed 9 years ago

Prophidys commented 9 years ago

From verhei...@gmail.com on July 15, 2010 08:07:48

What steps will reproduce the problem? 1.run rtgplot from the commandline 2. 3. What is the expected output? What do you see instead? The program should finish without any errors. Currently the program finishes with the following error:

Drawing directional arrow (draw_arrow). Plotting scale (plot_scale). Plotting labels (plot_labels). * glibc detected * ./rtgplot: double free or corruption (!prev): 0x097bd120 *** ======================================================== What version of the product are you using? On what operating system? rtg-0.9.4-18 with modifications (see previous issue) Please provide any additional information below. When the line db_disconnect(NULL); is removed at the end of the main program in rtgplot, the program finished without error messages. So the db_disconnect function seems to cause the error. db_disonnect is contained in librtgmysql.c. Unfortunately I am not a (C-)programmer, I am unable to fix this.

Original issue: http://code.google.com/p/rtg2/issues/detail?id=17

Prophidys commented 9 years ago

From verhei...@gmail.com on September 21, 2010 07:07:08

I am currently using rtgplot through cgi and am not experiencing this problem.

Prophidys commented 9 years ago

From ced.leco...@gmail.com on January 27, 2012 00:50:03

Same as Issue #18 , I merge this issue. If you think that's not the same, just re-open the issue with new elements.

Status: Duplicate
Mergedinto: 18