Search Results

Search: Posts Made By: rupeshkp728
Forum: Red Hat 05-18-2017
24,504
Posted By rupeshkp728
RPM Install error: libc.so.6 is needed by
I have an application rpm which when installed is failing to get installed with error

error: Failed dependencies:
libc.so.6 is needed by testSam-4.7.x86_64
libc.so.6(GLIBC_2.0)...
1,232
Posted By rupeshkp728
Systemd errors of missing file “No such file or directory” inspite of file being present
The contents of my service file srvtemplate-data-i4-s1.conf is


[Unit]
Description=test service for users
After=network.target local-fs.target

[Service]
Type=forking
RemainAfterExit=no...
Forum: Programming 04-03-2015
1,816
Posted By rupeshkp728
File Path in Mac OS
Suppose I have file in linux OS the absolute path of which is:

/media/OS_Files/myfile


What will be the absolute path of this file in MAC OS?
Any good link which which explain the absolute...
10,088
Posted By rupeshkp728
I tried setting the filter value to 3f but it did...
I tried setting the filter value to 3f but it did not help.

Core man page mentions "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual DSO pages are always dumped,...
10,088
Posted By rupeshkp728
Thanks Murphy for the info. I am using SUSE...
Thanks Murphy for the info.
I am using SUSE Linux SLES x86_64.

I will check your suggestions.
10,088
Posted By rupeshkp728
Collecting Shared Memory in core dump
I have an application which crashed while accessing a shared memory.

typedef struct
{
...
} LnxUserData;

LnxUserData *ptrLnxUserData;

fd = shm_open(shrSegName, O_CREAT|O_RDWR|O_EXCL,...
3,126
Posted By rupeshkp728
ADSever error in ldap_connect failed
I have created a windows server 2008 r2 Active Directory Server where I will create users. These users will be AD owners of data created on SUSE-OES server.
I am facing issue while while creating my...
Forum: Programming 06-20-2014
2,177
Posted By rupeshkp728
Malloc to void pointer fails
I have a function to which I will pass a struct ID and it will return me a string.
I will pass a pointer to store the name string and that pointer will be allocated memory by the function called.
...
7,498
Posted By rupeshkp728
GDB not showing line details
I have bunch of source code which I compiled using -ggdb3 flag.
I have copied the source code and executable to an another machine.
When I run the exe in gdb it does not show the statments at the...
Forum: Programming 05-23-2014
4,207
Posted By rupeshkp728
ok that is fine
ok that is fine
Forum: Programming 05-23-2014
4,207
Posted By rupeshkp728
Thanks Coronna and Techmonk for the replies. I...
Thanks Coronna and Techmonk for the replies.
I guess(may be I am wrong) the func call is incorrect.


myfunc(&mycs);
myfunc(&myds);


We need to pass object of type S.

S sobj = {.type =...
Forum: Programming 05-22-2014
4,207
Posted By rupeshkp728
Passing a pointer to memory location which is big...
Passing a pointer to memory location which is big enough to hold the larger of the two structures will solve this problem.
Union will solve this issue.
Forum: Programming 05-22-2014
4,207
Posted By rupeshkp728
Parameter passing to function with void * as Argument
Earlier I had one structure C

typedef struct c
{
int cc;
}CS;


I used to call a library function say int GetData(CS *x) which was returning me the above structure C with data.
...
Forum: Programming 12-11-2013
1,201
Posted By rupeshkp728
I am using sles 11 linux 64 bit on a dual core...
I am using sles 11 linux 64 bit on a dual core machine.
Forum: Programming 12-10-2013
1,201
Posted By rupeshkp728
View Stack Trace of different cores
I have a C program which is running as daemon and has some threads.
The program is running on dual core cpu and it may happen that different threads may run on different cpu core.
The problem is...
3,075
Posted By rupeshkp728
View User Mode Call Stack of Hung Process
I have a multithreaded usermode program(actually a daemon) which is in hanged state.

To debug it I tried attaching the process to gdb, but the gdb hangs.
gstack also gets hanged.


I peeped...
Forum: Programming 10-01-2013
2,911
Posted By rupeshkp728
I had not included stdlib.h. Including it...
I had not included stdlib.h.
Including it resolves the issue.
Forum: Programming 10-01-2013
2,911
Posted By rupeshkp728
This is the program. I have made small changes...
This is the program.
I have made small changes to make it look clear

int main(int argc, char *argv[])
{
unsigned long long int intValue;

if(atoi(argv[2]) == 1)
{
...
Forum: Programming 10-01-2013
2,911
Posted By rupeshkp728
I am using 64 bit version of suse. # uname...
I am using 64 bit version of suse.

# uname -m
x86_64


Output of printf is:

sizeof ULL is 8 bytes
Forum: Programming 10-01-2013
2,911
Posted By rupeshkp728
Thanks all for the reply. ---------- Post...
Thanks all for the reply.

---------- Post updated at 08:28 PM ---------- Previous update was at 08:21 PM ----------

I am using llu only
printf("Integer of %s is %llu \n", numStr , num);
...
Forum: Programming 09-30-2013
2,911
Posted By rupeshkp728
I printed it in gdb (gdb) p strtoull(numStr, 0,...
I printed it in gdb
(gdb) p strtoull(numStr, 0, 10) $17 = 1073741824

I tried p/u and it still prints the same thing.
Forum: Programming 09-30-2013
2,911
Posted By rupeshkp728
I am not printing the value instead storing it in...
I am not printing the value instead storing it in some variable.
now the value returnd by strtoull is wrong.
Forum: Programming 09-30-2013
2,911
Posted By rupeshkp728
C function "strtoull" failing
I have a code in which I am passing string "5368709120" to function strtoull() and it should had returned me number 5368709120 but instead it returns me 1073741824 which is incorrect.

What may be...
14,973
Posted By rupeshkp728
The output of top command for the process daemon...
The output of top command for the process daemon shows an increased memory usage from 6 mb the normal usage to 800mb when the daemon is utilized.
After the daemon utilization completes still the...
14,973
Posted By rupeshkp728
Using Valgrind with already running process
I have a process(c program) which runs as daemon and is causing memory leak.
Is there any way to detect memory leak in this already running process?
Just like we attach gdb to a live process to...
Showing results 1 to 25 of 172

 
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy