[maemo-developers] delete-event processing of GtkWindow causes cordump

From: Zhu, Peter J peter.j.zhu at intel.com
Date: Mon Jul 23 11:36:49 EEST 2007

As I wrote one application for new hildon-1/hildon-wm, I found there is
a serious problem
with one of the toplevel windows it creates. If one tries to close that
window by click X at top right corner, coredump happens. Then
I tried to found the difference of that window with others. Then
I found that the buggy window has connected with "delete-event" signal
and the callback of the signal returns FALSE to let window continue

To verify the issue is NOT caused by the special application logic
itself, I write one very simle program that only creates one toplevel
window and has delete-event-cb callback. If the callback returns TRUE,
no problem. If it returns FALSE, then the program coredump as attched at
last of mail.

In my understanding it should be a problem of components of app
framework. It might be hildon-wm, matchbox or gtk porting

Your thoughts? -Peter

*** glibc detected *** /opt/hildon-hello: free(): invalid next size
(fast): 0x080bf3a0 ***
======= Backtrace: =========

More information about the maemo-developers mailing list