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 |
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)
|
|
|
|
|
OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Mon, 26 June 2017 05:03
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: Klugier on Mon, 26 June 2017 16:57
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Tue, 27 June 2017 03:05
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: Klugier on Tue, 27 June 2017 12:48
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Thu, 29 June 2017 05:13
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: Klugier on Thu, 29 June 2017 12:07
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Fri, 30 June 2017 03:28
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: Klugier on Fri, 30 June 2017 13:46
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Sun, 09 July 2017 21:31
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: Klugier on Sun, 09 July 2017 23:06
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Mon, 10 July 2017 05:16
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
|
|
|
Re: OpenGL demo resulting in Fatal error, Heap leaks detected! error...
By: ptkacz on Tue, 11 July 2017 04:47
|
Goto Forum:
Current Time: Fri Mar 29 03:09:24 CET 2024
Total time taken to generate the page: 0.01204 seconds
|