Please login or register. August 20, 2018, 06:49:12 AM

Author Topic: openDCP crashes  (Read 26575 times)

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #15 on: October 11, 2012, 12:39:15 PM »
Still crashing regularly for me, always at J2K conversion. Tried starting opendcp from a terminal to get some feedback. First time I set frame rate to 25 and bandwidth to 175 MB/s, then selected the tiff directory and got this:

*** glibc detected *** opendcp: double free or corruption (out): 0x00000000024ceca0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7ec96)[0x7f035986ec96]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xf0a18)[0x7f0352127a18]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_unref+0x1b3)[0x7f0358797e93]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xe0039)[0x7f0352117039]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xe0925)[0x7f0352117925]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_unref+0x1b3)[0x7f0358797e93]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8489b)[0x7f03520bb89b]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xb9dcf)[0x7f03520f0dcf]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0xab)[0x7f0358792c1b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x20c31)[0x7f03587a3c31]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd79)[0x7f03587ac099]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f03587ac242]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x15f2c0)[0x7f03521962c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_run_dispose+0x60)[0x7f0358799000]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8489b)[0x7f03520bb89b]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xb9dcf)[0x7f03520f0dcf]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0xab)[0x7f0358792c1b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x20c31)[0x7f03587a3c31]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd79)[0x7f03587ac099]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f03587ac242]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x15f2c0)[0x7f03521962c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_run_dispose+0x60)[0x7f0358799000]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xb9dcf)[0x7f03520f0dcf]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x132)[0x7f0358792ca2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x20c31)[0x7f03587a3c31]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd79)[0x7f03587ac099]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f03587ac242]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x15f2c0)[0x7f03521962c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_run_dispose+0x60)[0x7f0358799000]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x5683bc)[0x7f035c2663bc]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QFileDialog20getExistingDirectoryEP7QWidgetRK7QStringS4_6QFlagsINS_6OptionEE+0x174)[0x7f035c3abe04]
opendcp(_ZN10MainWindow7getPathEP7QWidget+0x69a)[0x44f9ba]
opendcp(_ZN10MainWindow11qt_metacallEN11QMetaObject4CallEiPPv+0x4e)[0x48446e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x4b9)[0x7f035b9bb489]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN13QSignalMapper6mappedEP7QWidget+0x32)[0x7f035b9c2bb2]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN13QSignalMapper3mapEP7QObject+0xe3)[0x7f035b9c3173]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1)[0x7f035b9bb281]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x7f035c559c72]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x599a4e)[0x7f035c297a4e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59ad8b)[0x7f035c298d8b]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x8c)[0x7f035c298ffc]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton17mouseReleaseEventEP11QMouseEvent+0xa)[0x7f035c3565da]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x684)[0x7f035bf1a144]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7f035bec9894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xabf)[0x7f035becf0bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f035b9a6e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x172)[0x7f035beca862]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x24bbf5)[0x7f035bf49bf5]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xdce)[0x7f035bf48bae]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2740d2)[0x7f035bf720d2]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7f03590f4d53]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x480a0)[0x7f03590f50a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7f03590f5164]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f)[0x7f035b9d63bf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x273d5e)[0x7f035bf71d5e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f035b9a5c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf7)[0x7f035b9a5ed7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)[0x7f035b9aaf67]
opendcp(main+0xfe)[0x43cfce]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f035981176d]
opendcp[0x44e029]
======= Memory map: ========
00400000-00584000 r-xp 00000000 08:01 60556933                           /usr/bin/opendcp
00783000-00784000 r--p 00183000 08:01 60556933                           /usr/bin/opendcp
00784000-00789000 rw-p 00184000 08:01 60556933                           /usr/bin/opendcp
00789000-007a5000 rw-p 00000000 00:00 0
01a68000-027c0000 rw-p 00000000 00:00 0                                  [heap]
7f0300000000-7f0300022000 rw-p 00000000 00:00 0
7f0300022000-7f0304000000 ---p 00000000 00:00 0
7f0304000000-7f0304022000 rw-p 00000000 00:00 0
7f0304022000-7f0308000000 ---p 00000000 00:00 0
7f0308000000-7f0308022000 rw-p 00000000 00:00 0
7f0308022000-7f030c000000 ---p 00000000 00:00 0
7f030c000000-7f030c022000 rw-p 00000000 00:00 0
7f030c022000-7f0310000000 ---p 00000000 00:00 0
7f0310000000-7f0310022000 rw-p 00000000 00:00 0
7f0310022000-7f0314000000 ---p 00000000 00:00 0
7f0314000000-7f0314022000 rw-p 00000000 00:00 0
7f0314022000-7f0318000000 ---p 00000000 00:00 0
7f0318000000-7f03184dc000 rw-p 00000000 00:00 0
7f03184dc000-7f031c000000 ---p 00000000 00:00 0
7f031c000000-7f031c1fb000 rw-p 00000000 00:00 0
7f031c1fb000-7f0320000000 ---p 00000000 00:00 0
7f03237ff000-7f0323800000 ---p 00000000 00:00 0
7f0323800000-7f0324000000 rw-p 00000000 00:00 0
7f0324000000-7f0324022000 rw-p 00000000 00:00 0
7f0324022000-7f0328000000 ---p 00000000 00:00 0
7f032822c000-7f0328230000 r-xp 00000000 08:01 60819736                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0328230000-7f0328430000 ---p 00004000 08:01 60819736                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0328430000-7f0328431000 r--p 00004000 08:01 60819736                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0328431000-7f0328432000 rw-p 00005000 08:01 60819736                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0328432000-7f03284e2000 r--p 00000000 08:01 61474000                   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
7f03284e2000-7f03284e3000 ---p 00000000 00:00 0
7f03284e3000-7f0328ce3000 rw-p 00000000 00:00 0
7f032b4e8000-7f032b4e9000 ---p 00000000 00:00 0
7f032b4e9000-7f032bce9000 rw-p 00000000 00:00 0
7f032bce9000-7f032bd49000 rw-s 00000000 00:04 229379                     /SYSV00000000 (deleted)
7f032bd49000-7f032bd9b000 r--p 00000000 08:01 61474026                   /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
7f032bd9b000-7f0330000000 r--p 00000000 08:01 61866062                   /usr/share/icons/gnome/icon-theme.cache
7f0330000000-7f0330021000 rw-p 00000000 00:00 0
7f0330021000-7f0334000000 ---p 00000000 00:00 0
7f033401f000-7f0334022000 r-xp 00000000 08:01 60819732                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
7f0334022000-7f0334222000 ---p 00003000 08:01 60819732                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
7f0334222000-7f0334223000 r--p 00003000 08:01 60819732                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
7f0334223000-7f0334224000 rw-p 00004000 08:01 60819732                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
7f0334224000-7f0334225000 ---p 00000000 00:00 0
7f0334225000-7f0334a25000 rw-p 00000000 00:00 0
7f0334a25000-7f0334a5c000 r-xp 00000000 08:01 60562072                   /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f0334a5c000-7f0334c5b000 ---p 00037000 08:01 60562072                   /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f0334c5b000-7f0334c5e000 r--p 00036000 08:01 60562072                   /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f0334c5e000-7f0334c5f000 rw-p 00039000 08:01 60562072                   /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f0334c5f000-7f0334c93000 r-xp 00000000 08:01 60562442                   /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1
7f0334c93000-7f0334e92000 ---p 00034000 08:01 60562442                   /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1
7f0334e92000-7f0334e93000 r--p 00033000 08:01 60562442                   /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1
7f0334e93000-7f0334e94000 rw-p 00034000 08:01 60562442                   /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1
7f0334e94000-7f0334e96000 r-xp 00000000 08:01 60819740                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f0334e96000-7f0335095000 ---p 00002000 08:01 60819740                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f0335095000-7f0335096000 r--p 00001000 08:01 60819740                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f0335096000-7f0335097000 rw-p 00002000 08:01 60819740                   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f0335097000-7f0336892000 r--p 00000000 08:01 61866074                   /usr/share/icons/hicolor/icon-theme.cache
7f0336892000-7f033697b000 r--p 00000000 08:01 61892828                   /usr/share/icons/Humanity/icon-theme.cache
7f033697b000-7f033698b000 r-xp 00000000 08:01 60821728                   /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f033698b000-7f0336b8a000 ---p 00010000 08:01 60821728                   /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f0336b8a000-7f0336b8b000 r--p 0000f000 08:01 60821728                   /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f0336b8b000-7f0336b8c000 rw-p 00010000 08:01 60821728                   /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f0336b8c000-7f0336e36000 rw-s 00000000 00:04 131072                     /SYSV00000000 (deleted)
7f0336e36000-7f0336e37000 ---p 00000000 00:00 0
7f0336e37000-7f0337637000 rw-p 00000000 00:00 0
7f0337637000-7f033763e000 r-xp 00000000 08:01 60823843                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqtiff.so
7f033763e000-7f033783d000 ---p 00007000 08:01 60823843                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqtiff.so
7f033783d000-7f033783e000 r--p 00006000 08:01 60823843                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqtiff.so
7f033783e000-7f033783f000 rw-p 00007000 08:01 60823843                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqtiff.so
7f033783f000-7f0337894000 r-xp 00000000 08:01 60557974                   /usr/lib/x86_64-linux-gnu/libQtSvg.so.4.8.1
7f0337894000-7f0337a94000 ---p 00055000 08:01 60557974                   /usr/lib/x86_64-linux-gnu/libQtSvg.so.4.8.1
7f0337a94000-7f0337a96000 r--p 00055000 08:01 60557974                   /usr/lib/x86_64-linux-gnu/libQtSvg.so.4.8.1
7f0337a96000-7f0337a97000 rw-p 00057000 08:01 60557974                   /usr/lib/x86_64-linux-gnu/libQtSvg.so.4.8.1
7f0337a97000-7f0337a9c000 r-xp 00000000 08:01 60823835                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqsvg.so
7f0337a9c000-7f0337c9b000 ---p 00005000 08:01 60823835                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqsvg.so
7f0337c9b000-7f0337c9c000 r--p 00004000 08:01 60823835                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqsvg.so
7f0337c9c000-7f0337c9d000 rw-p 00005000 08:01 60823835                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqsvg.so
7f0337c9d000-7f0337cd0000 r-xp 00000000 08:01 60562314                   /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f0337cd0000-7f0337ed0000 ---p 00033000 08:01 60562314                   /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f0337ed0000-7f0337ed1000 r--p 00033000 08:01 60562314                   /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f0337ed1000-7f0337ed2000 rw-p 00034000 08:01 60562314                   /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f0337ed2000-7f0337ed4000 rw-p 00000000 00:00 0
7f0337ed4000-7f0337f57000 r-xp 00000000 08:01 60562340                   /usr/lib/x86_64-linux-gnu/libmng.so.1.1.0.10
7f0337f57000-7f0338157000 ---p 00083000 08:01 60562340                   /usr/lib/x86_64-linux-gnu/libmng.so.1.1.0.10
7f0338157000-7f033815a000 r--p 00083000 08:01 60562340                   /usr/lib/x86_64-linux-gnu/libmng.so.1.1.0.10
7f033815a000-7f033815c000 rw-p 00086000 08:01 60562340                   /usr/lib/x86_64-linux-gnu/libmng.so.1.1.0.10
7f033815c000-7f0338161000 r-xp 00000000 08:01 60823805                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqmng.so
7f0338161000-7f0338361000 ---p 00005000 08:01 60823805                   /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqmng.soAborted (core dumped)



The second time I selected the tiff direcetory and j2k directlry first, then made the frame rate and other changes, and I got this:

:~$ opendcp
Segmentation fault (core dumped)

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #16 on: October 11, 2012, 01:00:22 PM »
Tried command line...
$ opendcp_j2k -i tiff  -o j2k -r 25
OpenDCP J2K 0.0.26 (c) 2010-2012 Terrence Meiczinger. All rights reserved.
  Encoder: OpenJPEG
Segmentation fault (core dumped)) [=                   ] 100% [1/172183]

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #17 on: October 11, 2012, 01:21:17 PM »
Can you install valgrind (should be standard package install) and run the same command in valgrind?

valgrind opendcp_j2k -i tiff -o j2k -r 25

It will be crazy slow, so maybe only a few files in the directory.

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #18 on: October 12, 2012, 12:05:43 AM »
Will do. Had to pull the drive out to finish a job, so it will be a while, but definitely tonight or tomorrow.

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #19 on: October 13, 2012, 05:09:48 PM »
Tried with a 9-second vid at 24fps, DCI-resize from 720p. OpenDCP didn't crash, and so I doubt valgrind produced much of value. Need to try with one of the larger tiff collections. Maybe a 30-minute TV show or something. Here's the output:

~$ valgrind opendcp_j2k -i tiff -o j2k -r 24
Code: [Select]
==14510== Memcheck, a memory error detector
==14510== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==14510== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==14510== Command: opendcp_j2k -i tiff -o j2k -r 24
==14510==

OpenDCP J2K 0.0.26 (c) 2010-2012 Terrence Meiczinger. All rights reserved.
  Encoder: OpenJPEG
20121013020023 [ WARN] The image resolution of tiff/000029.tiff is not DCI Compliant
20121013020023 [ERROR] JPEG2000 conversion tiff/000029.tiff failed19]
20121013020023 [ERROR] Exiting...
==14510==
==14510== HEAP SUMMARY:
==14510==     in use at exit: 16,785,253 bytes in 472 blocks
==14510==   total heap usage: 1,032 allocs, 560 frees, 31,682,767 bytes allocated
==14510==
==14510== LEAK SUMMARY:
==14510==    definitely lost: 0 bytes in 0 blocks
==14510==    indirectly lost: 0 bytes in 0 blocks
==14510==      possibly lost: 2,128 bytes in 7 blocks
==14510==    still reachable: 16,783,125 bytes in 465 blocks
==14510==         suppressed: 0 bytes in 0 blocks
==14510== Rerun with --leak-check=full to see details of leaked memory
==14510==
==14510== For counts of detected and suppressed errors, rerun with: -v
==14510== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #20 on: October 13, 2012, 05:41:42 PM »
Well, it does look like it didn't run any conversion...

20121013020023 [ WARN] The image resolution of tiff/000029.tiff is not DCI Compliant
20121013020023 [ERROR] JPEG2000 conversion tiff/000029.tiff failed19]
20121013020023 [ERROR] Exiting...

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #21 on: October 13, 2012, 10:07:09 PM »
OK, so with the larger tiff collections OpenDCP does indeed crash, and valgrind looks to my completely untrained eye to have come to some meaningful conclusion. I imagine it's the number of images, but the other variable is the folder being on a secondary drive. Here's the output:

~$ valgrind opendcp_j2k -i tiff -o test -r 25
Code: [Select]
==15860== Memcheck, a memory error detector
==15860== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==15860== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==15860== Command: opendcp_j2k -i tiff -o test -r 25
==15860==

OpenDCP J2K 0.0.26 (c) 2010-2012 Terrence Meiczinger. All rights reserved.
  Encoder: OpenJPEG
==15860== Use of uninitialised value of size 8        ] 100% [0/0]
==15860==    at 0x4425FF: rgb_to_xyz_lut (in /usr/bin/opendcp_j2k)
==15860==    by 0x43B71C: convert_to_j2k (in /usr/bin/opendcp_j2k)
==15860==    by 0x43A74C: main._omp_fn.0 (in /usr/bin/opendcp_j2k)
==15860==    by 0x42CD40: main (in /usr/bin/opendcp_j2k)
==15860==
==15860== Use of uninitialised value of size 8
==15860==    at 0x442618: rgb_to_xyz_lut (in /usr/bin/opendcp_j2k)
==15860==    by 0x43B71C: convert_to_j2k (in /usr/bin/opendcp_j2k)
==15860==    by 0x43A74C: main._omp_fn.0 (in /usr/bin/opendcp_j2k)
==15860==    by 0x42CD40: main (in /usr/bin/opendcp_j2k)
==15860==
==15860== Use of uninitialised value of size 8
==15860==    at 0x442632: rgb_to_xyz_lut (in /usr/bin/opendcp_j2k)
==15860==    by 0x43B71C: convert_to_j2k (in /usr/bin/opendcp_j2k)
==15860==    by 0x43A74C: main._omp_fn.0 (in /usr/bin/opendcp_j2k)
==15860==    by 0x42CD40: main (in /usr/bin/opendcp_j2k)
==15860==
==15860==  Conversion (8 threads) [=                   ] 100% [2/172183]
==15860== More than 10000000 total errors detected.  I'm not reporting any more.
==15860== Final error counts will be inaccurate.  Go fix your program!
==15860== Rerun with --error-limit=no to disable this cutoff.  Note
==15860== that errors may occur in your program without prior warning from
==15860== Valgrind, because errors are no longer being displayed.
==15860==
  JPEG2000 Conversion (8 threads) [=                   ] 100% [77/172183]

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #22 on: October 14, 2012, 01:47:00 PM »
Could you try with 1 thread? Also, could you email or upload me one of these images?
« Last Edit: October 14, 2012, 01:49:26 PM by Terrence Meiczinger »

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #23 on: October 24, 2012, 05:22:50 AM »
New problem... upgraded to Ubuntu 12.10, and had to do a fresh install instead of straight upgrade. Trying to reinstall opendcp and getting the following:
Code: [Select]
The package is of bad quality

The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.

Lintian check results for /tmp/opendcp-0.0.26-linux.amd64.deb:
E: opendcp: control-file-has-bad-permissions md5sums 0664 != 0644

Any clues?

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #24 on: October 24, 2012, 09:12:35 AM »
You should be able to tell it to ignore and install anyway.

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #25 on: October 29, 2012, 06:04:07 AM »
I did, thank you. I've reinstalled Ubuntu (12.10 now) fresh, and will run a test of opendcp in the next few days, and post results and send you some of those tiffs. Sorry for the delay. Been very busy.

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #26 on: December 23, 2012, 05:10:00 PM »
Could you try with 1 thread? Also, could you email or upload me one of these images?

Upgraded to 0.27. Running one thread only. Still crashing. At a bare minimum, when I select one thread I can get past the folder selection step, to the actual conversion process. But then it crashes at random points into it. A dozen frames or 50,000. No real rhyme or reason. I'm confident that I can recreate this process whenever asked to do so. Is there a debug version of opendcp?

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #27 on: December 27, 2012, 01:50:55 PM »
Please send me a PM and we can work on debugging this issue offline.

hdvprojection

  • Full Member
  • ****
  • Posts: 212
    • View Profile
Re: openDCP crashes
« Reply #28 on: August 12, 2013, 08:11:00 AM »
Crashing again, not the same issue as previously (which was hardware-based). This time it seems to have to do with the ratings tag at the point of DCP generation. If I select NC-17 (which the title in question is) OpenDCP crashes, every time. If I leave it be it the DCP gets generated just fine.

Two questions: 1) Is this a known bug? I could swear I ran into this before. And 2) Can I edit the XML files after the fact and make sure this DCP has the appropriate ratings tag?

Terrence Meiczinger

  • Administrator
  • Hero Member
  • *****
  • Posts: 560
    • View Profile
Re: openDCP crashes
« Reply #29 on: August 12, 2013, 06:58:09 PM »
What is the total length of your title?

dcinemaforum.com

Re: openDCP crashes
« Reply #29 on: August 12, 2013, 06:58:09 PM »