From: Tom H. <to...@st...> - 2011-08-29 18:18:02
|
On 29/08/11 19:06, Christopher Michael wrote: > gdb attach <pid> > (gdb) set unwindonsignal on > (gdb) call eina_stringshare_del(234234) > > works in that it makes it possible to debug using gdb like you are > (calling efl functions inside gdb). > > As far as the alert dialog working (restart/exit), we know it works when > E receives the signal from modules, etc. The problem you are > experiencing could be from gdb catching the signals instead of E, or it > could be due to xcb being threaded...not entirely sure which one, but > the alert code itself does work. > > If you compare the changes to the old alert code and this version, you > will see that there is not much difference really (aside from xcb doing > the dialog drawing) so I am not sure that This even worked in the old > version. If it did work previously, then it could just be the threaded > nature of xcb which is the problem, but as such there is not much can be > done about that...I can't change xcb's threaded nature ;) > > I don't know enough about what gdb is doing wrt signals to dig much > deeper into this. Do we have any gdb gurus that could help ?? Sorry, I was'nt clear: call eina_stringshare_del like you did, *detach gdb* and then press F1/press the button. And still, it fails... This has nothing to do with gdb, it just fails, so no need for gdb gurus. Please check that out. -- Tom. |