[SOLVED] libgd segfaults with GBrowse2 and multiple search results
I just wanted to post a solution, or potential solution, for any others who may be experiencing the mysterious libgd.so segfault errors. In my case the errors happened whenever a search result returned multiple regions. The page returned would be empty below the "Search" section, abruptly ending before rendering the Overview and any other sections on the web page.
I'm running Ubuntu, and I saw the error in /var/log/kern.log:
gbrowse[10265]: segfault at 7ffff7a63ff8 ip 00007f70eaf9a355 sp 00007ffff7a64000 error 6 in libgd.so.2.0.0[7f70eaf90000+22000]
I tried a ton of stuff, compiled numerous libgd's, uninstalled/reinstalled about every library, package, Perl module, noticed the poor PHP people and their GD imagerotate() problems, etc etc! Ultimately, as I should've guessed, I had a duplicate Perl module in my filesystem which was causing conflict, in part because the older Perl module occurred first in the <at> INC.
Bio/Graphics/Glyph/ideogram.pm
If you have more than one...
yeah, you don't want more than one, delete the older one. Good news, BOOYAH the search works great now!
I should mention that there were other duplicate/older Perl modules -- obviously the remnants of GBrowse 1.x. I'd suggest to others, if you have GBrowse2 problems, look for any duplicate modules to see if you've got the old residue of GBrowse 1.x in your filesystem.
Hope this solution helps someone else enjoy GBrowse2!
Best regards,
James M. Ward
Bioinformatics and Computational Biology
Duke University Neurobiology
jmw86069 <at> gmail.com
james.m.ward-4+jYJfmkT58@public.gmane.org
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse