public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/2497] New: STP_STRING_SIZE set by stap is too small
@ 2006-03-30  9:39 guanglei at cn dot ibm dot com
  2006-03-30 11:45 ` [Bug runtime/2497] " fche at redhat dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: guanglei at cn dot ibm dot com @ 2006-03-30  9:39 UTC (permalink / raw)
  To: systemtap

Hi,
 If you use:
   log(backtrace( )) 
 in your codes, you will find that in many cases the result string will be
truncated.
   
  I found it is due to the following codes generated by translator:
   ...
   #ifndef MAXSTRINGLEN
   #define MAXSTRINGLEN 128
   ...
   #define STP_STRING_SIZE MAXSTRINGLEN

  so STP_STRING_SIZE is set to 128, and this is obviously too small for some
underlying transport functions.

-- 
           Summary: STP_STRING_SIZE set by stap is too small
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: guanglei at cn dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2497

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-04-12 19:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30  9:39 [Bug runtime/2497] New: STP_STRING_SIZE set by stap is too small guanglei at cn dot ibm dot com
2006-03-30 11:45 ` [Bug runtime/2497] " fche at redhat dot com
2006-03-30 14:29 ` jrs at us dot ibm dot com
2006-03-31  2:50 ` bibo dot mao at intel dot com
2006-03-31 13:35 ` guanglei at cn dot ibm dot com
2006-03-31 14:35 ` fche at redhat dot com
2006-03-31 14:49 ` guanglei at cn dot ibm dot com
2006-03-31 17:49 ` hunt at redhat dot com
2006-04-03  3:43 ` guanglei at cn dot ibm dot com
2006-04-04  0:38   ` Martin Hunt
2006-04-04  0:38 ` hunt at redhat dot com
2006-04-04 14:56   ` Frank Ch. Eigler
2006-04-04  2:08 ` guij at cn dot ibm dot com
2006-04-04 19:31   ` Martin Hunt
2006-04-04 19:31 ` hunt at redhat dot com
2006-04-05  0:17 ` guanglei at cn dot ibm dot com
2006-04-12 19:21 ` hunt at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).