Hi. I have included backtrace showing the problem that I am having. I hope that someone can suggest a solution to this problem.
Thanks xml_test2|Thu2:23pm} gdb ./test GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (sparc-sun-solaris2.6), Copyright 1996 Free Software Foundation, Inc... (gdb) run Starting program: /compbio/users/kent/xml_test2/./test warning: Unable to find dynamic linker breakpoint function. warning: GDB will be unable to debug shared library initializers warning: and track explicitly loaded dynamic code. 0 URL: http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=17740184 1 URL: http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=15156844 2 URL: http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=13422061 Program received signal SIGABRT, Aborted. 0xfeba9ab8 in __sigprocmask () (gdb) where #0 0xfeba9ab8 in __sigprocmask () #1 0xfeb9e514 in _resetsig () #2 0xfeb9dcb4 in _sigon () #3 0xfeba0cc8 in _thrp_kill () #4 0xff2cb198 in raise () #5 0xff2b57c4 in abort () #6 0xfee8ba70 in Letext () #7 0xfee8baa0 in __terminate () #8 0xfee8c5b8 in throw_helper (eh=0x575b0, pc=0x1fd33, my_udata=0xffbef3f8, offset_p=0xffbef3f4) #9 0xfee8c7c0 in __throw () #10 0x20014 in main (argc=1, args=0xffbef784) at test.cpp:27 (gdb) l test.cpp:27 22 cout << i << " URL: " << urls[i] << '\n'; 23 24 XMLURL xml_url(urls[i]); 25 26 URLInputSource url(xml_url); 27 BinInputStream *input = url.makeStream(); 28 } 29 30 return 0; 31 } (gdb) In message <[EMAIL PROTECTED]>, Kent Vander Velden writes : > > Hello, > > I have tried Xerecs 1.6 and the last snapshot with the following code >and continue to receive aborts in the makeStream() call after about the >third iteration of the for() loop. It is such a simple piece of code I >am at a complete loss as to what would be causing the problem. Any >help would be greatly appreciated! > > Thanks. > > > Here are the versions of OS and compiler that I am using: > > >~|Wed3:40pm} gcc -v >Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs >gcc version 2.95.3 20010315 (release) >~|Wed3:40pm} uname -a >SunOS sun05 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-Enterprise > > > The Code: > >#include <iostream> > >#include <stdio.h> > >#include <util/PlatformUtils.hpp> >#include <framework/URLInputSource.hpp> > >int >main(int argc, char *args[]) { > XMLPlatformUtils::Initialize(); > > const char *urls[6] = { > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=17740184", > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=15156844", > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=13422061", > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=13429916", > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=18497225", > "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt >=xml&dispmax=200&uid=17224952" > }; > > for(int i=0; i<6; i++) { > cout << i << " URL: " << urls[i] << '\n'; > > XMLURL xml_url(urls[i]); > > URLInputSource url(xml_url); > BinInputStream *input = url.makeStream(); > } > > return 0; >} > > > >--- >Kent Vander Velden >[EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --- Kent Vander Velden [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
