Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
On Tuesday 21 October 2014 10:24:16 Julio Jiménez wrote: Hi. After last update (yesterday) I'm getting SIGSEGV everytime I close a windows (modal dialog). Main window and dialog window have both a window icon. Backtrace: #0 0819CB55 msewidgets.pas:1645 GETWINDOWICON(ABITMAP=0xb7fd5040, AICON=0, AMASK=0, ANODEFAULT=false) #1 0809652D mseforms.pas:1638 [...] Looks complicated. How can I reproduce the Problem? Martin -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
Looks complicated. How can I reproduce the Problem? Well, it's really weird. It only happens when I close a tmsesqlquery inside the form (in OnClose). The tmsesqlquery is inside a datamodule. It has a tdblookupbuffer asociated and inside the form, the only widget using it is a tdbenumeditlb. If I close the tmsesqlquery after form destruction, all is ok. the tdbenumeditlb is updatina a field in anothertmsesqlquery. I have tested that if I close that tmsesqlquery then no SIGSEGV. So the problem seems is happening, trying to close a query used by a tdbenumeditlb when datalink source is still open. What is really weird is getting windowicon SIGSEGV when it seems related to datasets. -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
On Tuesday 21 October 2014 13:45:42 Julio Jiménez wrote: So the problem seems is happening, trying to close a query used by a tdbenumeditlb when datalink source is still open. What is really weird is getting windowicon SIGSEGV when it seems related to datasets. Can you prepare a testcase? Martin -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
I'll try, but is not so easy. Seems the sigsegv only happens when the tdbenumeditlb is not visible (inside a tabwidget) when the tab where the component is placed, is visible, no error fired. I'll try to isolate the conditions when it happens. Can you prepare a testcase? -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
On Tuesday 21 October 2014 14:12:20 Julio Jiménez wrote: I'll try, but is not so easy. Seems the sigsegv only happens when the tdbenumeditlb is not visible (inside a tabwidget) when the tab where the component is placed, is visible, no error fired. I'll try to isolate the conditions when it happens. Yes, please do. MSEgui should simply work in any circumstance so I like to fix bugs instead to use workarounds. Martin -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
Weird, I can't reproduce it outside the problematic project (an old one). The same form (after I removed undesired components and code to simplify it). I can reproduce in old project but not in a new one. Yes, please do. MSEgui should simply work in any circumstance so I like to fix bugs instead to use workarounds. -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
Yes, please do. MSEgui should simply work in any circumstance so I like to fix bugs instead to use workarounds. I'm still trying to isolate it. For your info (you wrote the code and probably will know the reason), adding 'application.processmessages' before destroying the form (with formobject.free) also avoids the SIGSEGV, so it looks something is not processed in the right order/time when you close the dataset. Thanks. -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
Am 21.10.2014 16:54, schrieb Julio Jiménez: Yes, please do. MSEgui should simply work in any circumstance so I like to fix bugs instead to use workarounds. I'm still trying to isolate it. For your info (you wrote the code and probably will know the reason), adding 'application.processmessages' before destroying the form (with formobject.free) also avoids the SIGSEGV, so it looks something is not processed in the right order/time when you close the dataset. I don't like to speculate what happens without a reproducible test case. Normally things are completely different from what one thinks. ;-) Martin -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
I agree... I don't like to speculate what happens without a reproducible test case. Normally things are completely different from what one thinks. ;-) -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
On Tuesday 21 October 2014 14:12:20 Julio Jiménez wrote: I'll try, but is not so easy. Seems the sigsegv only happens when the tdbenumeditlb is not visible (inside a tabwidget) when the tab where the component is placed, is visible, no error fired. I'll try to isolate the conditions when it happens. Do you compile with -gh? Such errors often are better reproducible with heaptrace. Martin -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] SIGSEGV after closing a windows.
Yes I'll try to isolate the conditions when it happens. Do you compile with -gh? Such errors often are better reproducible with heaptrace. -- Julio Jiménez Borreguero -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk