Sponsored Content
Full Discussion: Segment Fault
Top Forums Programming Segment Fault Post 100541 by jim mcnamara on Tuesday 28th of February 2006 10:09:33 AM
Old 02-28-2006
I tried to compile this ealrier and found even more issues. I just gave up. If it really compiles for the OP, she/he's got a very interesting compiler. Maybe a C++ compiler being used for C.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

extract segment

Hey all, could someone please direct me on how to extract a segment from a file between two tags? Thanks! (1 Reply)
Discussion started by: mpang_
1 Replies

2. Programming

a strange segment fault about ltp-posix test

Hi all In the ltp-posix test,there is a case in open_posix_testsuite\conformance\interfaces\timer_gettime\speculative/6-1.c I run the above code,it will has a segment fault, if I modify it to below,it works well Anybody can tell me why? (1 Reply)
Discussion started by: yanglei_fage
1 Replies

3. Programming

How can I know where the segment of memory is all Zero?

I mean, I malloc a segment of memory, maybe 1k maybe 20bytes.. assume the pointer is pMem How can I know the content pMem refered is all Zero or \0 . I know memcmp but the second parameter should another memory address... thanx (4 Replies)
Discussion started by: macroideal
4 Replies

4. Programming

Segment Violation

Hi to all. I'm reciving a "Segment violation" error from this code and I don't know why. void insertAtEnd(NodeType *pList) { char element; printf("Introduce a element: \n"); setbuf(stdin, NULL); scanf("%c", &element); //Find the end of the list; while... (4 Replies)
Discussion started by: daniel.gbaena
4 Replies

5. Programming

Data segment or Text segment

Hi, Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment? char *a = "Hello"; I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
Discussion started by: royalibrahim
7 Replies

6. Programming

why segment fault,

I always get segment fault, why? can sb help me and modify it, I have spend on much time on #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <string.h> #define MAX 10 pthread_t thread; void *thread1() { int *a; int i, n; ... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

7. Programming

Segment-fault handling for pthreads

Hi I have struggling a week to fix a program , in the begining i got SIGBUS , but after many attempts still the program gets SIGSEGV segment fault , In bellow i post the seg fault log + source codes. would really appreciate if experts help me to fix this segment fault error. any advice is... (2 Replies)
Discussion started by: pooyair
2 Replies

8. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

9. Programming

Segment fault for C++ program when return vector

I am trying to reverse complement DNA sequence (string) with a short c++ code using boost library. Code was compiled without any warning/error, but ran into Segmentation fault. My guess is the function to return a vector, but not sure. #include <iostream> #include <fstream> #include <string>... (14 Replies)
Discussion started by: yifangt
14 Replies

10. Programming

Segment fault related to strlen.S

Hello, This function was copied into my code, which was compiled without error/warning, but when executed there is always Segmentation fault at the end after the output (which seems correct!): void get_hashes(unsigned int hash, unsigned char *in) { unsigned char *str = in; int pos =... (7 Replies)
Discussion started by: yifangt
7 Replies
dxuil(1X)																 dxuil(1X)

Name
       dxuil - user interface language compiler for X window system

Syntax
       dxuil [ options ] file

Arguments
       file		   Specifies the file to be compiled through the UIL compiler.

Description
       The  dxuil  command invokes the UIL compiler.  The XUI User Interface Language (UIL) is a specification language for describing the initial
       state of a user interface for an XUI application.  The specification describes the objects (menus, dialog boxes, labels, push buttons,  and
       so on) used in the interface and specifies the routines to be called when the interface changes state as a result of user interaction.

       For more information about the UIL compiler, see the Guide to the XUI User Interface Language Compiler.

Options
       -Ipathname	   Specify this option followed by a pathname, with no intervening spaces, to locate include files when the include direc-
			   tive is used.  This option causes the compiler to look for include files in the  directory  specified  if  the  include
			   files have not been found in the paths that have already been searched.

       -m		   Machine  code  is  listed.  This directs the compiler to place in the listing file a description of the records that it
			   added to the UID database.  This helps you isolate errors.  The default is no machine code.

       -o file		   Directs the compiler to produce a user interface database (UID).  By default, UIL creates a UID with  the  name  a.uid.
			   The	file  specifies  the filename for the UID.  No UID will be produced if the compiler issues any diagnostics catego-
			   rized as error or severe.

       -v file		   Directs the compiler to generate a listing.	The file specifies the filename for the listing.  If the -v option is  not
			   present, no listing is generated by the compiler.  The default is no listing.

       -w		   Specifies  that  the compiler suppress all warning and informational messages.  If this option is not present, all mes-
			   sages will be generated, regardless of the severity.

See Also
       X(1X)
       Guide to the XUI User Interface Language Compiler

																	 dxuil(1X)
All times are GMT -4. The time now is 11:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy