Re: Gtkmm program crashing when started
- From: Yann LEYDIER <yann leydier info>
- To: gtkmm-list gnome org
- Subject: Re: Gtkmm program crashing when started
- Date: Wed, 12 Dec 2012 13:55:56 +0100
This certainly means that you have a memory problem.
In this case, you should run your program through valgrind or its
equivalent on windows to detect the double frees and faulty memory
accesses.
yann
PS: don't forget to reply to the list ;)
On 12/12/2012 13:27, Jonas Platte wrote:
If it was problem of my program, it would crash the program every time I
started it. And I surely don't delete anything when starting. It has to
be a bug in glibmm or something similar. The big problem is that I can't
really debug it as I don't know if the program will crash when I start
the debugging.
I just wanted to know if anyone knows this problem.
Am 12.12.2012 13:19, schrieb Yann LEYDIER:
Hi,
you should look at the whole call stack, not just the last line.
However, a crash on unreference() suggests that you delete an object
twice.
yann
On 12/12/12 13:11, Jonas Platte wrote:
Hello,
I think I need help with a program I wrote. It uses gtkmm and it
sometimes crashes without a reason when I start it (segmentation fault).
I tried to let it crash when started with debugging and it stopped in
/usr/include/glibmm-2.4/glibmm/refptr.h in line 208:
pCppObject_->unreference(); // This could cause pCppObject to be
deleted.
Is this a known bug?
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]