Programming :: Effective Tool For Run Time Errors And Memory Leaks Detection

Dec 28, 2010

Created application is working too slow, looks like there are a lot of memory leaks, there are a lot of pointers. Any effective tool for run-time errors and memory leaks detection in Visual Studio C++?

View 2 Replies


ADVERTISEMENT

Programming :: Memory Leaks - Glibc Detected - ./SuffixTree: Malloc() - Memory Corruption - 0x00

Mar 21, 2011

I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.

I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'

Code:

Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.

View 12 Replies View Related

General :: Centos Memory Leaks When Playing Flv?

Feb 14, 2011

I just don't know how centos is using the memory but... I took a look at httpd conf, may be I've missed something when I type "free mem" in ssh the memory is increasing while I'm playing one video, flv and mp4 on my site. it is increasing each time I play a different videos either the same.

View 2 Replies View Related

Programming :: Regarding Memory Errors In G++?

Jul 22, 2011

I have a general question regarding memory errors. I frequently ran into memory errors such as seg fault, double free, etc. Sometimes I got the following traces for example.

*** glibc detected *** /mnt/click: free(): invalid pointer: 0xb7ed8450 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7dff905]
/lib/libc.so.6[0xb7e011a3]

[code]....

Then, I just run gdb, valgrind things and suddenly I started ask questions myself that what are those traces and how can I analyze?

View 1 Replies View Related

Fedora :: Tool For Hard Disk Detection

Jul 16, 2009

In these days my hard disk is weird.I can see in my pc that the red light (when read/write process to the disk happens) remain on and Linux crash, it seems that the hard disk has problems.Therefore, exits a tool according with your experience that let me see the status of all my hard disk?

View 5 Replies View Related

Programming :: Bash Reading Arguments, Most Effective Way?

Aug 17, 2010

I've been reading about getopt and getopts but it doesn't seem like it's possible to parse arguments like --foo or even -foo. I've started my own script trying to achieve this, but I'm still wondering if I'm losing performance and if there is a better way to do this task.

Also I'm using the [[ =~ ]] regex syntax which seems to be available only in newer bash versions, should it be a big issue? My bash version: GNU bash, version 4.1.7(2)-release (x86_64-unknown-linux-gnu)

[Code]...

View 6 Replies View Related

Ubuntu :: Errors - 18 Packets Transmitted, 0 Received, +12 Errors 100% Packet Loss Time 17038ms

Feb 22, 2010

I',m executing ping, but it didn't work, in order to find the mistake in my network I would like to know how to see the errors:

Code:
18 packets transmitted, 0 received, +12 errors, 100% packet loss, time 17038ms, pipe 4 I want to see this +12 errors. Could I do that?

View 2 Replies View Related

General :: Live Proxy Detection Decide Which One Is Working Well At Particular Time - Switch Over Automatically?

Jul 30, 2010

In my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?

View 9 Replies View Related

General :: Memory Corruption Tool In A Program?

Oct 14, 2010

Kindly let me know the Linux tool to find out the memory corruption in a program. The tool could be built for PPC as well.

View 6 Replies View Related

General :: Collect / Tool For Memory Dump?

Dec 10, 2010

how to collect the memory Dump In Linux?

View 1 Replies View Related

Programming :: Detection Of A Command In Shell?

Apr 2, 2010

I would like to know if there is any way to detect a command if it going to be executed in the shell?

Eg:
Cmd: sudo apt-get clean I want a C program to be called before this cmd is executed.

View 8 Replies View Related

Programming :: Valgrind Output Showing Addresses Not Code Against Errors - 2 Errors From 2 Contexts (suppressed: 0 From 0)

Feb 26, 2010

I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.

The output is

==23002== Memcheck, a memory error detector.
==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23002== Using LibVEX rev 1575, a library for dynamic binary translation.

[code]....

View 1 Replies View Related

CentOS 5 :: Severe Display Errors With Jdeveloper 11114 / Which Would Allow To Use This Tool?

Mar 18, 2011

I'm disappointed because I installed jdeveloper 11114 , I mean the .bin file, whoch I ran successfully, but when I launch jdeveloper there is a redraw bug, the toolbar is not displayed successfully, and the components of the menu and of the toolbar appear and disappear when I hover it with the mouse.

any idea which would allow me to use this tool?

View 18 Replies View Related

Programming :: Effective Debugging Or Improving Ones Debugging Skills ?

May 21, 2009

Does anyone know how can one improve his debugging skills or how can one narrow down the problem and try to get to the solution ASAP.Or rather how once should approach a problem.I know this is a bit vague question but I want to know how you people approach?

View 3 Replies View Related

Programming :: Pattern Detection In The Logs + Notification?

Sep 6, 2010

I'm looking for a solution of pattern detection in the logs and then allows to send me an email notification if it detects the previously specified term.I use already Logwatch, but I do not know if it is possible to configure it for that use.

View 1 Replies View Related

Programming :: Hough Transforum Ellipse Detection?

Apr 12, 2010

I am trying to detect ellipse in an image through hough transformation. I am looking for sombody who can guide me the sequence of operation needed to perform and the accurate order of those operation.

View 1 Replies View Related

Programming :: OpenCV - Color Detection / Tracking

Oct 14, 2010

I've introduced myself to OpenCV a bit now and can do some of the most basic things with it. My current goal is to have a solid color object (say a red ball) and have a camera be able to find that object. Anybody know of any resources to start learning how to do this? Any tutorials/books? Or is there something I should be searching for instead of color detection and tracking that will give me things more in the right direction?

View 2 Replies View Related

Programming :: Write A Script That Can Show Me Total Memory Vs Used Memory?

Apr 13, 2010

How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

View 2 Replies View Related

Debian Programming :: Opcode Collision Detection Library

Mar 2, 2015

I would like to use the collision detection routine from the OPCODE library, newest version 1.3 ... There exist documentations, e.g. Opcode.pdf and OpcodeUserManual.pdf, but they do not agree with the source code, neither the current nor the previous version 1.2.

Any working example to check if to meshes collide? I only would like to define the meshes using triangles and connectivities (no callback function). I started with a code like the following, but not successfully.

#include <Opcode.h>
using namespace Opcode;
int main(void) {
IceMaths::IndexedTriangle *Tri0 = new IceMaths::IndexedTriangle[10];
IceMaths::Point *Pnt0 = new IceMaths::Point[10];
MeshInterface Mesh0;

[Code] ....

View 0 Replies View Related

Programming :: SHM Memory Counted As Cache Memory With Kernel 2.6.18?

Aug 25, 2010

Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?

View 4 Replies View Related

Hardware :: Detect ECC Memory Errors Under System?

Jun 13, 2011

I'm aware of Linux ECC project, but how to detect ECC errors/warnings under Linux? Do I need to load additional modules in order to get this information?

View 2 Replies View Related

Debian Hardware :: Any Prorgam For Checking Flash Memory For Errors?

May 13, 2010

Is there any prorgam for checking USB Flash memory for errors, defects, bad clusters, etc...?Like MemTest86+ for RAM, but to check USB Flash-drives.

View 9 Replies View Related

Security :: Side-Channel Leaks In Web Applications?

Apr 1, 2010

I found this to be an interesting take on a problem which has plagued encryption since before the Internet:

Quote:

Popular online applications may leak your private data to a network eavesdropper, even if you're using secure web connections, according to a new paper by Shuo Chen, Rui Wang, XiaoFeng Wang, and Kehuan Zhang. (Chen is at Microsoft Research; the others are at Indiana.) It's a sobering result -- yet another illustration of how much information can be leaked by ordinary web technologies.

View 1 Replies View Related

General :: Windows - How To Plug DNS Leaks When Running OpenVPN

Mar 22, 2011

I've set up OpenVPN on a Linux server. All my Internet traffic goes through the VPN from that server. I'm running Windows 7 at home. I noticed in Wireshark that DNS queries are not going through the encrypted tunnel, but instead directly to my ISP's designated DNS servers.

To overcome this, I tried pushing DNS for OpenVPN from the server to my computer, and also inputting the DNS address in my wireless adapter's configuration options. This appears to have secured the DNS leak, but is it the proper way to go about it? If I didn't push the DNS address from the server to the client and only set the DNS in the client's wireless adapter, then I couldn't visit any website. And if I just pushed the DNS but didn't set it in the adapter, then some DNS requests still leaked to the ISP's DNS servers.

View 1 Replies View Related

General :: Is There System Admin Tool For RHEL On Montioring And Logging System Memory

Apr 20, 2011

Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.

View 2 Replies View Related

General :: Free Command Line Tool Time Which Can Be Used To Find Timing Statistics For Various Commands?

Jun 24, 2011

I'd like to measure network latency for SNMP GET request. There is a free command line tool time which can be used to find timing statistics for various commands. For example it can be used with snmpget in the following way:$ time snmpget -v 2c -c public 192.168.1.3 .1.3.6.1.2.1.2.2.1.10.2IF-MIB::ifInOctets.2 = Counter32: 112857973real 0m0.162suser 0m0.069ssys 0m0.005sAccording to the manual, statistics conists of:

the elapsed real time between
invocation and termination,
the user CPU time (the sum of the

[code]....

View 3 Replies View Related

Programming :: Function Handler Is Called One Time Only Instead 2 Times If The 2 Timers Expires At A Time

Mar 2, 2011

I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?

View 14 Replies View Related

OpenSUSE Install :: Kthreads Uses No Cpu Time Or Shared Memory

Aug 13, 2010

When the systen is running there is a program/utility/kernel-driver? kthreadd in system monitor all the following programs are a child process of kthreadd. Is kthreadd part of elevator=cfq and can kthreadd be influenced by params. kthreads uses no cpu time memory or shared memory so it must be in kernel. is there any documentation on this subject? System 11.3 on quad processor 8 gb mem nvidia-card and driver.

View 3 Replies View Related

General :: Using / Usr / Bin / Time Always Returns 0 When Getting Maximum Resident Memory?

Mar 5, 2010

First time here at LQ, so if the post is in the wrong place, this is a bit programming related. I've been trying to find the maximum resident memory of a process in a memory constraint situation.

Instead of using top, or ps, which gives me real-time snapshot at the memory usage of a process, is there a way to determine the maximum resident memory used by a process? /usr/bin/time seem to provide this functionality within the format string

[Code]...

The minor page-fault is suspicious, does that mean memory is being used.. but not recorded? if so, how can I know how much memory is being mapped?

View 3 Replies View Related

Red Hat / Fedora :: System Is Eating More Memory And The Usage Is Keep On Increasing And At Particular Time

May 5, 2011

My server is keep on hanging So I have rebooted several times in the last couple of weeks, the system is eating more memory and the usage is keep on increasing and at particular time it became saturated and my server hungs. I could not find which process is eating more memory. I have used the below commands to check if any process is eating more memory but no luck. No such process are using high memory.

1) Top
2) ps -eo pcpu,pmem,user,args

[Code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved