Welcome to the most active Linux Forum on the web.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


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

Rep: Reputation: 0
vsnprintf crashes (Segmentation fault) from /lib64/tls/

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/
(gdb) bt
#0 0x0000003707e796d0 in strlen () from /lib64/
#1 0x00002b9e349764d7 in dosprintf () from /opt/SUNWwebserver/lib/
#2 0x00002b9e34976974 in PR_vsnprintf () from /opt/SUNWwebserver/lib/

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);


system configuration is:-

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

Any idea on this issue?



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

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

All times are GMT -5. The time now is 02:35 PM.

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