Search found 34 matches

by theonlylawislove
Mon, 2017-03-06, 22:29
Forum: DCMTK - General
Topic: Memory leak with simple DcmSCPPool
Replies: 8
Views: 8431

Re: Memory leak with simple DcmSCPPool

With max threads set to 1, I am getting new threads created, over and over. Here is the debug output from the server (with echos being spammed to it). DcmBaseSCPPool: Starting new DcmSCP worker thread Association Received localhost: ECHOSCU -> ANY-SCP Incoming Association Request: ==================...
by theonlylawislove
Mon, 2017-03-06, 22:26
Forum: DCMTK - General
Topic: Memory leak with simple DcmSCPPool
Replies: 8
Views: 8431

Re: Memory leak with simple DcmSCPPool

If I do this... pool->setMaxThreads(0); ...I get our of resource error with echo, which is expected, but I get no memory leak. So, the issue is somewhere in runAssocation (or the threads being started). Here is the valgrind output now. ==17562== Memcheck, a memory error detector ==17562== Copyright ...
by theonlylawislove
Mon, 2017-03-06, 22:13
Forum: DCMTK - General
Topic: Memory leak with simple DcmSCPPool
Replies: 8
Views: 8431

Re: Memory leak with simple DcmSCPPool

This is what valgrind gives me, if it helps. ==25837== Memcheck, a memory error detector ==25837== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==25837== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==25837== Command: ./medxdcmtk-cons ==25837== Parent PID: 30...
by theonlylawislove
Mon, 2017-03-06, 22:04
Forum: DCMTK - General
Topic: Memory leak with simple DcmSCPPool
Replies: 8
Views: 8431

Memory leak with simple DcmSCPPool

I am experiencing a memory leak running minimal DcmSCPPool class ServerThreadSCP : public DcmThreadSCP { public: ServerThreadSCP() { } }; class ServerSCPPool : public DcmSCPPool<ServerThreadSCP> { public: }; struct ProcessThread : public OFThread { public: OFCondition result; bool isRunning; ServerS...
by theonlylawislove
Sun, 2017-03-05, 05:07
Forum: DCMTK - General
Topic: createValueFromTempFile with padding byte
Replies: 6
Views: 5700

Re: createValueFromTempFile with padding byte

Just curious, has this been implemented?
by theonlylawislove
Thu, 2017-02-23, 21:29
Forum: DCMTK - General
Topic: Error trying to configure with mingw
Replies: 2
Views: 2610

Error trying to configure with mingw

./configure --host=x86_64-w64-mingw32 Running configure for module config. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-w64-mingw32 checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for x86_6...
by theonlylawislove
Thu, 2016-01-28, 17:26
Forum: DCMTK - Installation
Topic: Can't compile with UNICODE. No "+" operator for tstring
Replies: 1
Views: 4654

Can't compile with UNICODE. No "+" operator for tstring

When compiling with Visual Studio 2013, I can't compile with unicode support. It works fine when compiling with multi-byte, instead of unicode. 1>D:\Git\MedXBroker\src\Dependencies\dcmtk\include\dcmtk/oflog/tracelog.h(59): error C2679: binary '+' : no operator found which takes a right-hand operand ...
by theonlylawislove
Wed, 2016-01-27, 22:15
Forum: DCMTK - General
Topic: Updated downloads links, builds, open source contributions
Replies: 4
Views: 3974

Re: Updated downloads links, builds, open source contributio

You are probably referring to the binary packages. Right, the last release of the DCMTK was in January 2011 but we do make development snapshots of the source code available quite regularly (and these snapshots are also linked from the web page). However, I agree that the web page at http://dicom.o...
by theonlylawislove
Wed, 2016-01-27, 16:48
Forum: DCMTK - General
Topic: Updated downloads links, builds, open source contributions
Replies: 4
Views: 3974

Updated downloads links, builds, open source contributions

Problems: The downloads available at http://dicom.offis.de/dcmtk.php.en are from early 2011. There is no clear guidance on how a user would submit bug fixes. Support libraries are out of date, or missing. It makes compiling the latest version difficult. This is 2016. Let's super charge this project!...
by theonlylawislove
Thu, 2015-12-10, 22:53
Forum: DCMTK - Installation
Topic: Precompiled support libraries for DCMTK 3.6.1 and libiconv
Replies: 20
Views: 31542

Precompiled support libraries for DCMTK 3.6.1 and libiconv

You guys only provide precompiled windows binaries for DCMTK 3.6.0, not 3.6.1. I am looking for windows binaries for libiconv 1.13.1. I tried to compile manually with Visual Studio, but it is a head ache. I imagine you guys got some binaries floating around? Hook us up with support libraries for 3.6...
by theonlylawislove
Thu, 2015-05-21, 17:50
Forum: DCMTK - General
Topic: createValueFromTempFile with padding byte
Replies: 6
Views: 5700

Re: createValueFromTempFile with padding byte

I have a hack solution, but I really hope there is a better one. I overrode DcmInputFileStream/DcmInputFileStreamFactory/DcmFileProducer to implement my own DcmFileProducer. All methods are default, but I changed the "read" of the DcmFileProducer. offile_off_t PaddedDcmFileProducer::read(v...
by theonlylawislove
Thu, 2015-05-21, 17:25
Forum: DCMTK - General
Topic: createValueFromTempFile with padding byte
Replies: 6
Views: 5700

createValueFromTempFile with padding byte

I have PixelData that cannot have a padded byte trimmed, but I can add an empty byte (0). Previously, when calling "createValueFromTempFile", I would modify the fileLen passed to it using "if (fileLen & 1) fileLen--"". I cannot do this because this last byte is important...
by theonlylawislove
Fri, 2015-04-03, 07:41
Forum: DCMTK - General
Topic: Non-virtual methods in WlmDataSource
Replies: 1
Views: 2729

Non-virtual methods in WlmDataSource

I would like to add additional support query/response fields to the worklist scp. Unfortunately, all the methods that check for valid types are non-virtual. I would hate to have to copy all the code. I could easily make this change for you guys. Do you guys accept contributions in any way? I really ...
by theonlylawislove
Wed, 2015-03-04, 17:08
Forum: DCMTK - General
Topic: Compiling for (VisualStudioVersion > 2010)
Replies: 2
Views: 3540

Re: Compiling for (VisualStudioVersion > 2010)

Thanks for the input, we'll think about changing that. Please note, however, that these settings are only done to ensure DCMTK is compatible to the binaries of the third party libraries, which we provide on our website. As a simple workaround you may set 'DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS' to fa...
by theonlylawislove
Wed, 2015-03-04, 15:18
Forum: DCMTK - General
Topic: DcmPixelItem writing large buffer (from another file)
Replies: 3
Views: 4434

Re: DcmPixelItem writing large buffer (from another file)

I tried your code, and I am getting EC_IllegalCall, which after looking at the source code, seems to be because of file size is an odd number of bytes. How should I fix this? Should I manually add 1 byte at the end of my original file? Should I just increase the file size sent to createValueFromTemp...