[Debian-med-packaging] Bug#703716: Program received signal SIGSEGV, Segmentation fault.
Mathieu Malaterre
malat at debian.org
Fri Mar 22 16:29:29 UTC 2013
Package: dcmtk
Version: 3.6.0-12
Severity: important
I cannot C-STORE a file using dcmqrscp.
Steps:
Start in one shell:
$ dcmqrscp --reject --bit-preserving --no-parallel-store --check-find --disable-get --move-aetitle --no-patient-study --no-patient-root --check-move -v -d -c dcmqrscp.cfg
[attach gdb]
In another starts:
$ storescu --call GDCM_STORE --aetitle GDCMDASH lirispat 5678 gdcmData/SIEMENS_MAGNETOM-12-MONO2-FileSeq0.dcm
This leads to:
[...]
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:130
130 ../sysdeps/x86_64/multiarch/strcmp.S: No such file or directory.
(gdb) bt
#0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:130
#1 0x00007ffff78e67b0 in ASC_acceptContextsWithTransferSyntax(T_ASC_Parameters*, char const*, int, char const**, T_ASC_SC_ROLE) ()
from /usr/lib/libdcmnet.so.2
#2 0x00007ffff78e6a86 in ASC_acceptContextsWithPreferredTransferSyntaxes(T_ASC_Parameters*, char const**, int, char const**, int, T_ASC_SC_ROLE) ()
from /usr/lib/libdcmnet.so.2
#3 0x00007ffff7bb78ed in DcmQueryRetrieveSCP::negotiateAssociation(T_ASC_Association*) () from /usr/lib/libdcmqrdb.so.2
#4 0x00007ffff7bbde43 in DcmQueryRetrieveSCP::waitForAssociation(T_ASC_Network*) () from /usr/lib/libdcmqrdb.so.2
#5 0x0000000000406870 in ?? ()
#6 0x00007ffff6441c8d in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe488) at libc-start.c:228
#7 0x00000000004072c5 in ?? ()
#8 0x00007fffffffe488 in ?? ()
#9 0x000000000000001c in ?? ()
#10 0x000000000000000e in ?? ()
#11 0x00007fffffffe81a in ?? ()
#12 0x00007fffffffe82c in ?? ()
#13 0x00007fffffffe835 in ?? ()
#14 0x00007fffffffe846 in ?? ()
#15 0x00007fffffffe85a in ?? ()
#16 0x00007fffffffe867 in ?? ()
#17 0x00007fffffffe875 in ?? ()
#18 0x00007fffffffe884 in ?? ()
#19 0x00007fffffffe897 in ?? ()
#20 0x00007fffffffe8a9 in ?? ()
#21 0x00007fffffffe8b6 in ?? ()
#22 0x00007fffffffe8b9 in ?? ()
#23 0x00007fffffffe8bc in ?? ()
#24 0x00007fffffffe8bf in ?? ()
#25 0x0000000000000000 in ?? ()
(gdb) quit
-- System Information:
Debian Release: 6.0.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dcmtk depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libdcmtk2 3.6.0-12 OFFIS DICOM toolkit runtime librar
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libxml2 2.7.8.dfsg-2+squeeze6 GNOME XML library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
dcmtk recommends no packages.
dcmtk suggests no packages.
-- Configuration Files:
/etc/dcmtk/dcmqrscp.cfg changed:
NetworkTCPPort = 104
MaxPDUSize = 16384
MaxAssociations = 16
UserName = "dcmtk"
GroupName = "dcmtk"
HostTable BEGIN
HostTable END
VendorTable BEGIN
VendorTable END
AETable BEGIN
READ /var/lib/dcmtk/db/READ R (200, 1024mb) ANY
AETable END
/etc/default/dcmqrscp changed:
DCMQRSCP_ENABLE=Yes
/etc/init.d/dcmqrscp changed:
set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="DCMTK Central Test Node"
NAME=dcmqrscp
DAEMON=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
DCMQRSCP_CFG="/etc/dcmtk/dcmqrscp.cfg"
test -x $DAEMON || exit 0
if [ -r /etc/default/$NAME ]
then
. /etc/default/$NAME
fi
case "$DCMQRSCP_ENABLE" in
[Nn]*)
exit 0
;;
esac
d_start() {
start-stop-daemon --start --quiet --background \
--make-pidfile --pidfile $PIDFILE \
--exec $DAEMON -- +ac -c $DCMQRSCP_CFG
}
d_stop() {
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--name $NAME
}
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
d_start
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
d_stop
echo "."
;;
reload)
exit 0
;;
restart|force-reload)
echo -n "Restarting $DESC: $NAME"
d_stop
sleep 1
d_start
echo "."
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
-- debconf-show failed
-------------- next part --------------
# http://support.dcmtk.org/docs/dcmqrscp.html
# http://support.dcmtk.org/docs/file_dcmqrset.html
NetworkType = "tcp"
NetworkTCPPort = 5678
MaxPDUSize = 16384
MaxAssociations = 16
Display = "no"
HostTable BEGIN
gdcmdash = (GDCMDASH, lirispat, 5677)
gdcmcompany = gdcmdash
HostTable END
VendorTable BEGIN
"GDCM Company" = gdcmcompany
VendorTable END
AETable BEGIN
GDCM_STORE /tmp/GDCM_STORE RW (9, 1024mb) gdcmcompany
AETable END
More information about the Debian-med-packaging
mailing list