General :: Does The Backtrace Call Lost Memory

Oct 11, 2010

Here is a test code for memory alloc and free. It is to detect whether the allocs and frees match. From the result, after backtrace call, there is some memory alloc, but it does not free these memories after calling or the process exit. Why? Nomorlly, the memory alloced need to be freed after use, or the memory will leak. But I run this program for about some times, and find that though the system memory does not real leak,the free memory decreases, and the cache increases(Use free command).


View 6 Replies


Programming :: Memory Allocate In Function And Call It By Reference For Array Structure?

Jul 2, 2011

I am writing a function(in C language in Linux) to initialize an array of a structure from a mysql table by calling a function by reference but I have a problem with call this function by reference . this is my program:PHP Code:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>


View 4 Replies View Related

Ubuntu Networking :: Added Memory Lost Internet

Apr 16, 2010

I added RAM to my Acer (dual boot Windows XP / Ubuntu 9.1). Windows continues to work. Ubunty will no longer recognize the internet connection. I don't know if adding the memory is what did it, but I am puzzled why I can use the ethernet card from Windows but no longer from Ubuntu.

View 7 Replies View Related

Server :: Physical Memory Lost After Running SOSreport?

Jan 2, 2011

Before running SOSreport, the free physical memory is 5389Mb out of 8Gb.

After running SOSreport, the free physical memory is 3229Mb.

Why is this so? how we can free up the physical memory.

View 4 Replies View Related

Programming :: Using Backtrace() Function In C?

Jul 23, 2010

I want to use backtrace() function to debug a crash issue. I tried this sample code to see how backtrace works. backtrace() function always returns 0 with the below code. Is there any kernel configuration that needs to be set for proper working of backtrace?

#include <execinfo.h>
#include <stdio.h>
#include <stdlib.h>
/* Obtain a backtrace and print it to stdout. */
print_trace (void)


View 2 Replies View Related

Debian :: Strange Backtrace On Ibm Thinkpad 600

May 10, 2009

I am reciving a strange backtrace furing the boot process of an IBM thinkpad 600 with debian lenny. The errors appear to be in the 'cs' module, but I'm not sure. Also the "Waiting for /dev to be fully populated..." script in which the backtrace occours also hangs and hasto be Control-C'd, or you have to wait for it to time out. Attached is my syslog

View 9 Replies View Related

Programming :: GDB Internal - Error Using Backtrace?

Jun 16, 2010

I have submitted the following to Bugzilla as well. I have a Fortran routine with a C signal handler. When a signal is caught, the signal handler calls gdb with a script argument to the system() call to output a backtrace. When I build the fortran file with the -g option, run the program, and send it a signal,I receive the error message "stack.c:295: internal-error . Without the -g option the error message does not appear but as expected I get limited output in my backtrace. Below is a description of the environment in which the bug is experienced, output from gdb showing the bugs occurrence, as well as source code and a Makefile to reproduce the bug. The problem occurs in gdb 6.8 but I have seen the same results with gdb 7.1


View 10 Replies View Related

Software :: Script That Call A Java Program That Call A System Command?

Nov 29, 2010

In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab

View 4 Replies View Related

Fedora Networking :: Network Manager Crashes After Upgrade (Backtrace)

May 29, 2011

I was running F15 for a month now. After this week's updates NetworkManager crashes at startup and throws a backtrace. During reading ifcfg-<wifi network name> it was throwing some assert() failed of some hash is not null, but just as a warning. Later it was dying while reading ifcfg-eth0.

I removed all the ifcfg-* files in /etc/NetworkManager and /etc/sysconfig/network-scripts
Then NetworkManager started but at the moment I used the gnome applet to connect to a network it crashed trowing a backtrace (I have no debuginfo installed).

Then I also deleted ifcfg-* in /etc/sysconfig/network/profiles/default and /etc/sysconfig/network/devices, now the NetworkManager does not crash anymore, but instead gnome applet crashes when I try to connect to a network. grrr...

As a result I am still unable to connect to any network. Why so many copies (hardlinks?) to these config scripts? Now it is even worse: I rebooted the system and at the boot time when NetworkManager starts the boot process freezes. It says in VPN the Get() method is not implemented. I am unable event to switch a console and to log in to put the config files back (getty not started?).

View 12 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

Apr 20, 2010

I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)

View 4 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

General :: Memory Corruption Detected In Low Memory

Aug 22, 2010

This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.

View 2 Replies View Related

General :: Top Used Memory Versus Ps Processes Memory

Jan 17, 2010

I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?

View 7 Replies View Related

CentOS 5 :: PXE Boot Fails With "loader Received SIGSEGV! Backtrace"?

Aug 3, 2010

I have a Sony Vaio PCG-5A1N (built for Japan) which has a malfunctioning CD-ROM. The bios doesn't support USB external CD-Drives and it doesn't have any USB boot either.The only method, I am left to work with is the PXE boot. I have finally setup a PXEBOOT on another CentOS server and everything works fine all the way to choosing language etc....but after it grabs images/stage2.img this is what it gives me:

loader received SIGSEGV! Backtrace:

View 8 Replies View Related

General :: How To Call Other File

Apr 10, 2011

i want to know how to call the other file in linux. example i got this code that store into and i want to store the data into other file like example2.

View 2 Replies View Related

General :: What Is Signal0 In System Call

Sep 28, 2010

what is what is signal 0 in linux system call ?i can't find that in kill -l signal list . i need to know what is signal 0 . * for examples signal 1 is SIGHUP and signal 2 is SIGINIT . what is signal 0 ?

View 1 Replies View Related

General :: Call Other Script Having Different Permissions

Feb 7, 2010

I am writing a shell script lets say and i want to call another script lets say having permissions " root:sys" whereas the permissions for are "rootther".Problem is that i cannot change the permissions of either of them. is performing some other important functions as well and is a system script and i am not supposed to change that.If i do not change the permissions, simply skips the part where it is suppose to call anyone tell me how do i call in without changing permissions of any of them.

View 2 Replies View Related

General :: How To Create And Call Process

Sep 24, 2010

I had an interview , where the interviewer asked me the question "How to create and call a process in unix". I answered that we can use the command
FORK()/ CLONE() to create a process.
But I didn't have the answer for the second question, how to call a process.

View 2 Replies View Related

General :: How To Call Certain Command Info

Oct 13, 2010

When I an in Emacs, I want to call info pages like in terminal. E.g., info date will call the date info page, but when I in Emacs, I can only use M-x info call the complete info pages, but I only want to see the date info page. Then which command I should execute in emacs.

View 4 Replies View Related

General :: Call Other Executables From Cpp Code?

Jan 18, 2010

I want to launch other executable from my cpp code. I am aware that system() call may do this , But, problem is that , I want my cpp code to capture the standard hat "called" program is writing to stdout.

View 2 Replies View Related

General :: Nfs :RPC Call Returned Error 101

Feb 23, 2010

i am trying to run an application code in nfs host.but facing the problem as shown below.can anybody tell what the problem could be?


View 2 Replies View Related

General :: Script Won't Call Other Scripts

Jan 7, 2010

I have 3 scripts that need to be run from the cd, I can run them separately but thought it would be easier to just call them from a single script.When I run the script it just goes straight to reboot, which is the last command. Can you see what I am doing wrong? I am logged in as root when I execute it.

View 3 Replies View Related

General :: Mac OS X - Video Call With IPhone 4 Users?

Oct 1, 2010

Is there any application I can use on a Mac and people can use on their iPhones 4 to do video calls?

If beyond Mac OS X apps you can also mention Ubuntu Linux and WIndows apps that can do that too.

As far as I checked, skype is not an option.

View 3 Replies View Related

General :: Swap - Configure To Call Oom_kill On Its Own?

Jun 18, 2011

I do not want my computer to swap data to disk. I have no swap partition:


Back in the day (maybe as recently as kernel 2.4?) this used to work. Memory-hungry processes would be killed by the oom killer and I would restart them. But now (Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64) google-chrome (13.0.782.24 beta) regularly sends my machine into a death-spiral of swapping. Or at least something that feels like swapping: X windows take forever to update, disk drive whirs, gnome panel memory chart hits the ceiling, and I see this message in the syslog:


But, according to syslog, the kernel does not run the oom killer. For good measure, I set swappiness to 0:


My workaround is to use ctrl-alt-sysrq-f when this starts to happen. Anyone have a recipe for configuring Linux to run oom_kill on its own, in this situation?

View 1 Replies View Related

General :: Call Makefile From Shell Script

Apr 12, 2011

I can find all kinds of information on calling a script from a makefile but not the other way around.I'm writing a VERY basic shell script, and I need to call a makefile located in a directory lower than the shell script but can't seem to figure it out../dir/make and ./dir/makefile don't work.

View 2 Replies View Related

General :: The READ System Call In UNIX?

Oct 29, 2010

mplement the read system call in unix...i want the code for read system call...

View 6 Replies View Related

General :: Call Windows Program Using Wine?

Jul 10, 2010

I have Linpus runnig on my Aspire One. I would like to setup an icon on the menu to start a windows program using wine. I can start it manually and it works fine. I want to be able to access it directly from the desktop.

View 3 Replies View Related

General :: Error While Adding The New System Call?

Jun 9, 2011

I have added a new system call for kernel version Linux 2.6.25-14.fc9.i686. after kernel compilation and running the user mode program i am getting the below error

Error :: Function not implemented
Error number 29

I cannot find the syscall_table.S or entry.S file in the source code , so i didn't made the entry of the syscall in this file, how much necessary the entry of syscall presence in this list and how to get this file?

View 1 Replies View Related

General :: Getting Return Status Of Popen Sys Call?

Mar 22, 2011

i using Popen() sys call in my code to run a script. i know it will return file pointer. but requirement is some how i need to get return status of process which is invoked by popen. there any possibility to get its status, if so please let me know. FYI i cant use system() here becoz of some limitations

View 5 Replies View Related

General :: Call A Script In New Shell From Current?

May 3, 2010

How to call script b from inside script a in a new shell.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved