http://bugzilla.novell.com/show_bug.cgi?id=617924 http://bugzilla.novell.com/show_bug.cgi?id=617924#c0 Summary: python-yui crashes with segfault when using TreeItem widget Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: i586 OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pirhoalpha@gmail.com QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-1.14 Firefox/3.0.6 When I create TreeItems, the program runs fine until the end, where is crashes with a segfault. I am using python 2.6. The yast development team thought this was most likely a dangling pointer issue. Even this simple code crashes: import sys sys.path.insert(0, '/usr/src/packages/BUILD/libyui-bindings-0.1.0/build/swig/python/') import yui item = yui.YTreeItem("root") item2 = yui.YTreeItem(item, "Desktop") Every other widget that I tried worked though. Reproducible: Always Steps to Reproduce: 1. Run following python code (change sys.path to where python bindings are): import sys sys.path.insert(0, '/usr/src/packages/BUILD/libyui-bindings-0.1.0/build/swig/python/') import yui item = yui.YTreeItem("root") item2 = yui.YTreeItem(item, "Desktop") Actual Results: segmentation fault Expected Results: error free exit Yast developers said this is probably a dangling pointer issue or at least deals with memory ownership issues. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.