Sponsored Content
Top Forums Programming unable to create phonon application on Qt Post 302542141 by vistastar on Tuesday 26th of July 2011 09:56:39 PM
Old 07-26-2011
You should always check NULL pointers, ie
Phonon::MediaObject *music
 

8 More Discussions You Might Find Interesting

1. Linux

do u know some application id that create admin id

Hi All, I got this problem with my var logs, it got failed login as admin because it doesn't exist every 15 minutes and everyday. Do you know some applications that try to create an application id as "admin"? The problem is that this is a test server, so lots of applications installed and... (2 Replies)
Discussion started by: itik
2 Replies

2. Shell Programming and Scripting

File creating in another path.. application unable to locate

I am submitting a concurrent program (of HOST tyme) from Oracle apps screen, The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies

3. Shell Programming and Scripting

Unable to run application using ssh

I'm testing a C++ based application (HLR) in my solaris system. Whenever i start the application remotely from some other solaris server using ssh command the application throws an error and goes down. command i used: ssh root@192.168.151.77 "./start_hlr.sh" Below is the error observed : ... (1 Reply)
Discussion started by: Arun_Linux
1 Replies

4. UNIX and Linux Applications

phonon-backend-gstreamer vs phonon-backend-vlc vs phonon-backend-xine

phonon-backend-gstreamer vs phonon-backend-vlc vs phonon-backend-xine What are the advantages and disadvantages of phonon-backend-gstreamer, phonon-backend-vlc, and phonon-backend-xine. I was reading this and got curious. ... (1 Reply)
Discussion started by: cokedude
1 Replies

5. Red Hat

How to create PATH for a application?

hi every one In linux, how to create a PATH for a application ? i searched, but no positive response any one like me got stuck with this problem? (3 Replies)
Discussion started by: rajeshz
3 Replies

6. IP Networking

Unable to access web application hosted in same network

All, I have various web applications hosted in a client network. These web apps are accessed through a Apache web server. We have deployed a new web application server and it is not serviced through the Apache web server. So i am unable to access this applications. But i am able to access... (3 Replies)
Discussion started by: vel4ever
3 Replies

7. Ubuntu

Which is the best application to create recovery disk?

Hi Experts.... I am using Ubuntu 12.04 LTS 32-Bit edition on my laptop I just reinstalled OS for some reason and installed many application packages using sudo as well as by downloading, now I would like to create recovery disk so that if I reinstall OS once again, I should be able to install... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies

8. Programming

The application was unable to start correctly(0xc0150002).

Dear Team, please help me on the issue "The application was unable to start correctly(0xc0150002).click ok to close the application" Have created the build using installshield 2012. dll was generated from VS2008. Used 3rd party libraries.Included all the libraries,dll. This was the first tme... (1 Reply)
Discussion started by: SA_Palani
1 Replies
ptrace(2)							System Calls Manual							 ptrace(2)

NAME
ptrace - Traces the execution of a child process SYNOPSIS
#include <sys/signal.h> #include <sys/ptrace.h> int ptrace ( long request, long int process, ulong_t *address, ulong_t data ); PARAMETERS
Determines the action to be taken by the ptrace function. Specifies the process ID. Determined by the value of the request parameter. Determined by the value of the request parameter. DESCRIPTION
The ptrace function permits a parent process to control execution of a child process. It is primarily used by utility programs to enable breakpoint debugging. The child process behaves normally until it receives a signal. When a signal is delivered, the child process is stopped, and a SIGCHLD signal is sent to its parent. The parent process can wait for the child process to stop using the wait function. When the child process is stopped, its parent process can use the ptrace function to examine and modify the image memory of the child process, to either terminate the child process or permit it to continue. As a security measure, the ptrace function inhibits the set-user ID facility when any subsequent exec function is issued by the child process. When a traced process calls one of the exec functions, it stops before executing the first instruction of the new image as if it had received the SIGTRAP signal. The request parameter is set to one of the values in the following list. Only the PT_TRACE_ME request can be issued by child processes; the remaining requests can only be used by the parent process. For each request, the process parameter is the process ID of the child process. The child process must be in a stopped state before the following requests are made. This request sets the child process trace flag. It must be issued by the child process that is to be traced by its parent process. When the trace flag is set, the child process is left in a stopped state on receipt of a signal, and the action specified by the sigaction function is ignored. The process, address, and data parameters are ignored, and the return value is not defined for this request. Do not issue this request when the parent process does not expect to trace the child process. These requests return the address space data of the child process at the location pointed to by the address parameter. The PT_READ_I and PT_READ_D requests produce equal results. The data parameter is ignored. These requests fail when the value of the address parameter is not in the address space of the child process or, on some machines, when the address parameter is not properly aligned. These errors return a value of -1, and the parent process errno is set to [EIO]. This request returns the variable of the system's per-process data area for the child, specified by the address parameter. This area contains the register values and other information about the process. On some machines, the address parameter is subject to alignment constraints. The data parameter is ignored. This request fails when the value of the address parameter is outside of the system's per-process data area for the child. On failure, a value of -1 is returned and the parent process errno is set to [EIO]. These requests write the value of the data parameter into the address space variable of the child process at the location pointed to by the address parameter. On some machines, where necessary, the PT_WRITE_I request synchronizes any hardware caches, if present. In all other respects, the PT_WRITE_I and PT_WRITE_D requests can be used with equal results. On some machines, these requests return the previous contents of the address space variable of the child process, while on other machines no useful value is returned with the exception of System V behavior. System V behavior for libsys5 returns the value written, and for libc behavior it returns zero (0) for success. These requests fail when the address parameter points to a location in a pure procedure space and a copy cannot be made. These requests also fail when the value of the address parameter is out of range and on some machines, when the address parameter is not properly aligned. On failure a value of -1 is returned and the parent process errno is set to [EIO]. This request writes the value of the data parameter into the variable of the system's per-process data area for the child, specified by the address parameter. This area contains the register values and other information about the process. On some machines, the address parameter is subject to alignment constraints. Not all locations within the system's per-process data area for the child may be written. This request fails when the value of the address parameter is outside of the system's per-process data area for the child. On failure, a value of -1 is returned and the parent process errno is set to indicate the error. This request permits the child process to resume exe- cution. When the data parameter is zero (0), the signal that caused the child process to stop is canceled before the child process resumes execution. When the data parameter has a valid signal value, the child process resumes execution as though that signal had been received. When the address parameter is equal to 1, execution continues from where it stopped. When the address parameter is not 1, it is assumed to be the address at which the process should resume execution. System V behavior for libsys5 returns the value written, and for libc behavior it returns zero (0) for success. This request fails when the data parameter is not zero (0) or a valid signal value. On failure, a value of -1 is returned to the parent process and the parent process errno is set to [EIO]. This request terminates a child process as if the child process called the exit function. This request permits execution to continue in the same manner as PT_CONTINUE. However, as soon as possible after the execution of at least one instruction, execution stops again as if the child process had received the SIGTRAP signal. Note that for the Tru64 UNIX operating system running on Alpha processors, the PT_STEP request parameter may cause the traced pro- gram to execute an indefinite number of instructions if the current instruction is a branch instruction. ERRORS
If the ptrace function fails, errno is set to one of the following values: Specifies that the request parameter does not have one of the listed values, or is not valid for the machine type on which the process is executing. Specifies that the given signal number is invalid. Specifies that the addressed used is either out of bounds or improperly aligned. Specifies that the process parameter identifies a child process that does not exist or that has not executed this function with the request parameter PT_TRACE_ME. Specifies that the specified process cannot be traced. Specifies that an invalid location was used for the system's per-process data area or that the process parameter is out of range. Specifies that the location within the system's per-process data area could not be modified. RELATED INFORMATION
Functions: exec(2), sigaction(2), wait(2) delim off ptrace(2)
All times are GMT -4. The time now is 08:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy