LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2010, 02:34 AM   #1
Ron_09
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
vsnprintf crashes (Segmentation fault) from /lib64/tls/libc.so.6


In one 64 bit linux 5 box vsnprintf is crashing.
It is not consistent but after some iteration it crashes
with same input.

following is the stack trace:-

--------------------------------------------------------
#0 0x0000003707e796d0 in strlen () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003707e796d0 in strlen () from /lib64/libc.so.6
#1 0x00002b9e349764d7 in dosprintf () from /opt/SUNWwebserver/lib/libnspr4.so
#2 0x00002b9e34976974 in PR_vsnprintf () from /opt/SUNWwebserver/lib/libnspr4.so
.......
------------------------------------------------------------

code snippet is as below:-

............
// msg has been successfully allocated
// PR_vsnprintf is a simple wrapper on vsprintf
va_list args;
va_start(args, fmt);
PR_vsnprintf(msg, MAX_MSG_LEN, fmt, args);
va_end(args);

------------------------------------------------------------

system configuration is:-

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Any idea on this issue?
 
  


Reply

Tags
crash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling and installing glibc [/lib/tls/libc.so.6] knareshkumar Programming 6 04-23-2013 09:58 AM
_int_free() call crashes in gtk/pango lib (segmentation fault), what is the reason benni1 Programming 2 05-08-2009 08:36 AM
errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference johnpaulodonnell Programming 2 07-25-2008 04:37 AM
GPDF/XPDF Crashes/Segmentation fault Tarrin Linux - Software 4 03-16-2005 04:10 PM
evolution 1.4 crashes upon options menu (segmentation fault) rob1477 Linux - Newbie 3 09-18-2004 03:19 AM


All times are GMT -5. The time now is 09:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration