473,320 Members | 1,600 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Unwanted debug messages

Hi. I'm just trying to compile a program here, but when I run the
program, I get debug output like:

6192: symbol=printf; lookup in file=/lib/tls/i686/cmov/libc.so.6

when I'm trying to make calls to printf(). The program works fine, but
this extra junk that gets printed has to go. I checked my LD_DEBUG
environment variable, and it was not set, so I guess that's not the
problem, but now I'm stumped. Any ideas on what this is? BTW, this is
the new Kubuntu release.

Jan 18 '06 #1
3 1510
rocketman...@gmail.com wrote:
Hi. I'm just trying to compile a program here, but when I run the
program, I get debug output like:

6192: symbol=printf; lookup in file=/lib/tls/i686/cmov/libc.so.6

when I'm trying to make calls to printf(). The program works fine, but
this extra junk that gets printed has to go. I checked my LD_DEBUG
environment variable, and it was not set, so I guess that's not the
problem, but now I'm stumped. Any ideas on what this is? BTW, this is
the new Kubuntu release.


It is very likely that you are doing something illegal in you code that
is invoking undefined behavior which is caught by your C library and is
triggering the debug messages but without seeing your code how am I
supposed to know? Reduce your code to the smallest *compilable*
program that exibits the behavior (and doesn't use non-Standard C
functions because those are off-topic here) and post it here.

Robert Gamble

Jan 18 '06 #2
ro**********@gmail.com wrote:
Hi. I'm just trying to compile a program here, but when I run the
program, I get debug output like:

6192: symbol=printf; lookup in file=/lib/tls/i686/cmov/libc.so.6

when I'm trying to make calls to printf(). The program works fine, but
this extra junk that gets printed has to go. I checked my LD_DEBUG
environment variable, and it was not set, so I guess that's not the
problem, but now I'm stumped. Any ideas on what this is? BTW, this is
the new Kubuntu release.


This will be something specific to your environment rather than a C
language issue. Since we only deal with the C language, not all the
masses of implementations, I suggest you ask on a Linux or GNU mailing
list or group, or possibly a mailing list for your distribution.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Jan 18 '06 #3
k, sorry about that

Jan 18 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kevin | last post by:
Hi All, Can someone please tell me what the difference is between DEBUG and TRACE. From what I can see, they are two different classes, but with the same members? Whats the purpose of have two...
0
by: High and dRy | last post by:
Print debug messages at the beginning of all the methods with the method name and the argument values and at the end with the return values. Is it possible to do the in C# without writing debug...
10
by: Scott | last post by:
I have a simple asp.net app which works fine in debug mode, but crashes on the following line when I run it on the production server: Dim dt As DataTable I have tried the following variations...
2
by: FBM | last post by:
Hi, I am preparing project for submission and i'd like to allow the print out of debug messages. I know that with something like #define DEBUG #ifdef DEBUG print(X); #endif
5
by: Tom | last post by:
I am having a problem where an extra gap (whitespace, padding) appears in a table cell where I don't want it. The data fed in the table is via dynamic HTML, so the amount in the middle cell may...
2
by: Bill_DBA | last post by:
I have the following stored procedure that is called from the source of a transformation in a DTS package. The first parameter turns on PRINT debug messages. The second, when equals 1, turns on the...
5
by: Jonas Hallgren | last post by:
Hello, Is there any general tips on how to solve this problem: my Debug version runs fine but when I do a Release version I get error messages!? I'm hoping it is a simple option somewhere or...
2
by: creativeinspiration | last post by:
Hi everybody. I was wondering if there is a way in C++ to have debug messages, and the ability to turn them off. For example, lets say I would like my program to have two modes. One mode is the...
2
by: Bob S | last post by:
I am using Debug.WriteLine and Trace.WriteLine to output messages from a dll. This dll is used in an application. No matter whether i run the program in release mode or debug mode and whether i...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.