seg fault in __libc_start_main () from /lib/tls/libc.so.6

Anonymous anonymous at easysw.com
Fri Sep 3 08:49:25 PDT 2004


Hello

whenever I do a function call to CUPS I get seg faults in
__libc_start_main () from /lib/tls/libc.so.6.

the functions specifically are

cupsprintFile()
and cupsgetdest()

when I comment these functions out my program runs fine.
My boss says there is a problem with my red hat Kernel.
Does anyone think elsewise?

I am not an awesome programmer so if anyone can give any suggestions what I can do more to find out, I will be very thankful.

I am using Kdevelop with Redhat 9 and kernel 2.4.20-30.9.
If anybody needs more info I will be happy to provide.

PLZ REPLY ...really need a helping hand.

Thanks
Ahmad Munir



obioux{91} gdb systest
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /home/amunir/systest/systest/systest
Using default printer: wen4500
Created temporary file: /tmp/com2filed9zK6e
Using temporary file:/tmp/com2filed9zK6e

Program received signal SIGSEGV, Segmentation fault.
0x6c696632 in ?? ()
(gdb) backtrace
#0  0x6c696632 in ?? ()
#1  0x42022bba in guess_category_value () from /lib/tls/libc.so.6
#2  0x42022144 in __dcigettext () from /lib/tls/libc.so.6
#3  0x42021df5 in dcgettext () from /lib/tls/libc.so.6
#4  0x4207a869 in strerror_r () from /lib/tls/libc.so.6
(gdb) #5  0x4207a6c5 in strerror () from /lib/tls/libc.so.6
(gdb) #6  0x080492eb in add_dp_service (dp_record=0xbfffd648) at main.c:182
(gdb) #7  0x0804a600 in main (argc=1, argv=0xbfffd6a4) at main.c:582
(gdb) #8  0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) (gdb) frame 8






More information about the cups mailing list