On Tue, 2005-09-20 at 16:18 -0600, Ashley Oviatt wrote: > Good to know. > > Well, I installed ltrace and it still segfaults. here's the output:
Well, like he said, this is expected behavior. Why are you trying to trace a library? You need to trace a program that actually uses the library in order to debug it. Michael > > # ltrace -d /usr/local/lib/libsablot.so > DEBUG: read_config_file.c:172: read_config_file(): Reading config file > `/etc/ltrace.conf'... > DEBUG: read_config_file.c:172: read_config_file(): Reading config file > `/root/.ltrace.conf'... > DEBUG: elf.c:32: do_init_elf(): Reading ELF from > /usr/local/lib/libsablot.so... > DEBUG: elf.c:216: do_init_elf(): /usr/local/lib/libsablot.so 1207 PLT > relocations > DEBUG: execute_program.c:75: execute_program(): Executing > `/usr/local/lib/libsablot.so'... > DEBUG: execute_program.c:89: execute_program(): PID=4462 > DEBUG: breakpoints.c:85: enable_all_breakpoints(): Enabling breakpoints > for pid 4462... > DEBUG: process_event.c:70: process_event(): event: none > DEBUG: process_event.c:73: process_event(): event: signal (SIGSEGV [11]) > --- SIGSEGV (Segmentation fault) --- > DEBUG: process_event.c:81: process_event(): event: exit signal (SIGSEGV > [11]) > +++ killed by SIGSEGV +++ > DEBUG: process_event.c:135: remove_proc(): Removing pid 4462 > > DEBUG: wait_for_something.c:30: wait_for_something(): No more children > > ----------------------------------------------------------------------------------- > > Maybe something is wrong with the elf libraries? Any thoughts? > > Ashley > > > > -------------------- > BYU Unix Users Group > http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael Torrie <[EMAIL PROTECTED]> -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
