View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] how to track a segmentation fault problem in Xotcl?

From: Catherine Letondal <letondal_at_pasteur.fr>
Date: Fri, 29 Aug 2003 16:26:28 +0200

Hi,

I have just re-installed Xotcl 1.0.2 version and succedeed in running my
application with some minor changes since the last xotcl version I used on this
platform (Sparc/Solaris 7) was the 0.9 :-)

I have a segmentation fault that occurs when a command is called from a Tk menu.
The command is attached to the popup by a:
        add command -command
statement on a menu Tk widget that is raised by a tk_popup.

However, the very same command, when called from the tcl (xowish) interpreter, works
and does not produce any core dump. And most menu items also work well.

So my question is: how do I debug such a situation?
Thanks for any help...

-- 
Catherine Letondal -- Pasteur Institute Computing Center