HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> GetDataInfo function seg fault http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1251453211 Message started by flashtop on Aug 28th, 2009 at 2:53am |
Title: GetDataInfo function seg fault Post by flashtop on Aug 28th, 2009 at 2:53am
hy guys
I think I might have found a seg fault error. If the GetDataInfo(matrix, DataFilterID, ...) batch language command is run with an empty Datafilter, I get a segmentation fault. BTW, is there an error printing command which prints the buffer immediately? I was unable to locate the problem using the HYPHYMP execution from the command line as the "fprintf" statements I used to track the error weren't executed before the Seg Fault error. However, when using the GTK GUI I was able to track the error line before the GUI printed out the seg fault Hope this helps you guys Gordon |
Title: Re: GetDataInfo function seg fault Post by Sergei on Aug 28th, 2009 at 5:52pm
Dear Gordon,
You should not be able to create empty filters in HyPhy, so if you can – that's a bug! Can you attach some example code that crashes the program? Sergei |
Title: Re: GetDataInfo function seg fault Post by flashtop on Aug 30th, 2009 at 5:19am
Hey Sergei
I get a seg fault with just a one line batchfile with the GetDataInfo command. If the data filter does not exist ( such as a typo in the filter name or if it hasn't been created yet ) it seg faults. i.e. my data filter was called "part" but I made a caps typo in the command and called it "Part", which caused the error. ciao gordon |
Title: Re: GetDataInfo function seg fault Post by Sergei on Sep 1st, 2009 at 10:25am
Dear Gordon,
The current (SVN 605) version of HyPhy reports an error if I try [code] GetDataInfo(res,garbageID,1,1); [/code] but does not segfault. Can you confirm which version is crashing in your example? Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |