Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » OpenGL demo resulting in Fatal error, Heap leaks detected! error...
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error... [message #48394 is a reply to message #48390] Fri, 30 June 2017 03:28 Go to previous messageGo to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Regarding the AMD Threadripper, just some humor. I was thinking how much faster U++ would compile with one of those new processors.

As of operating system, I am making use of the following:

Linux Mint 18.1 Cinnamon 64 bit
Cinnamon Version 3.2.7
Linux Kernel 4.4.0-53-generic

I ran GDB against the program as was able to retrieve the following information:
(gdb) run
Starting program: /home/ptkacz/upp.out/reference/GCC.Debug.Debug_Full.Gui.Shared/GLDrawDemo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffea54c700 (LWP 5026)]
[New Thread 0x7fffe9d4b700 (LWP 5027)]
The program 'GLDrawDemo' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 3534 error_code 2 request_code 154 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
/usr/bin/xmessage

Thread 1 "GLDrawDemo" received signal SIGSEGV, Segmentation fault.
0x00000000005636bb in Upp::Ctrl::PanicMsgBox (title=0x7a91be "Fatal error", text=0x7b2b7f "Heap leaks detected!")
    at //home/ptkacz/upp/uppsrc/CtrlCore/GtkApp.cpp:56
56		__BREAK__;
(gdb) list
51			GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR,
52			                                           GTK_BUTTONS_CLOSE, "%s: %s", title, text);
53			gtk_dialog_run(GTK_DIALOG (dialog));
54			gtk_widget_destroy(dialog);
55		}
56		__BREAK__;
57	}
58	
59	void InitGtkApp(int argc, char **argv, const char **envptr)
60	{
(gdb) 


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting the width of a layout?
Next Topic: gcc 4.4 compatible version?
Goto Forum:
  


Current Time: Fri Mar 29 03:09:24 CET 2024

Total time taken to generate the page: 0.01204 seconds