Search found 3 matches

by amateurPro2
Mon, 2005-02-07, 21:04
Forum: DCMTK - General
Topic: SIGSEGV (Segmentation fault) on calling dcmGenerateUniqueIdentifier ()
Replies: 4
Views: 8235

Marco Eichelberg wrote:To be honest, I have no idea :oops:
Got it to work after one of my colleagues suggested compiling dcmtk and
my code on a newer version of gcc (3.3)

Thanks anyways
by amateurPro2
Thu, 2005-02-03, 21:22
Forum: DCMTK - General
Topic: SIGSEGV (Segmentation fault) on calling dcmGenerateUniqueIdentifier ()
Replies: 4
Views: 8235

The stack trace shows that the segmentation fault happens somewhere deep inside the system libraries, inside the gethostbyname_r system function. It seems as if something has gone wrong while the system tried to load a shared object needed for gethostbyname_r. Possibly a damaged shared object somew...
by amateurPro2
Tue, 2005-02-01, 00:08
Forum: DCMTK - General
Topic: SIGSEGV (Segmentation fault) on calling dcmGenerateUniqueIdentifier ()
Replies: 4
Views: 8235

SIGSEGV (Segmentation fault) on calling dcmGenerateUniqueIdentifier ()

Hi, I am trying to create new series UID for DICOM images using dcmGenerateUniqueIdentifier (). The relevant code snippet is as follows: ================== FUNCTION: updateDICOMHdr () ==================== strncpy(UIDRoot, oldSOPuid, count); UIDRoot[count] = '\0'; // Now create a image series UID. //...