All posts by rogerdpack

log4j woe

I never did figure this one out.  My hunch is a threading issue in log4j i.e. “upgrade to log4j2”? Any other ideas out there?

 

 

“bindingRegistry-pool-5-thread-1” #43 daemon prio=5 os_prio=0 tid=0x00007f79409f1000 nid=0x2e71 waiting for monitor entry [0x00007f794416b000]

   java.lang.Thread.State: BLOCKED (on object monitor)

   at java.util.ResourceBundle$CacheKey.clone(ResourceBundle.java:657)

   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1462)

   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)

   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)

   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)

   at java.util.ResourceBundle.getBundle(ResourceBundle.java:890)

   at sun.util.resources.LocaleData$1.run(LocaleData.java:167)

   at sun.util.resources.LocaleData$1.run(LocaleData.java:163)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.util.resources.LocaleData.getBundle(LocaleData.java:163)

   at sun.util.resources.LocaleData.getDateFormatData(LocaleData.java:127)

   at java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:710)

   at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:145)

   at sun.util.locale.provider.DateFormatSymbolsProviderImpl.getInstance(DateFormatSymbolsProviderImpl.java:85)

   at java.text.DateFormatSymbols.getProviderInstance(DateFormatSymbols.java:364)

   at java.text.DateFormatSymbols.getInstance(DateFormatSymbols.java:340)

   at java.util.Calendar.getDisplayName(Calendar.java:2110)

   at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1125)

   at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)

   at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)

   at java.text.DateFormat.format(DateFormat.java:345)

   at org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternParser.java:443)

   at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:65)

   at org.apache.log4j.PatternLayout.format(PatternLayout.java:506)

   at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)

   at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)

   at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)

   at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)

   – locked <0x00000006c142ccb0> (a org.apache.log4j.RollingFileAppender)

   at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)

   at org.apache.log4j.Category.callAppenders(Category.java:206)

   – locked <0x00000006c13fbe78> (a org.apache.log4j.spi.RootLogger)

   at org.apache.log4j.Category.forcedLog(Category.java:391)

   at org.apache.log4j.Category.log(Category.java:856)

   at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:444)

“Camel (camel-5) thread #14 – JmsConsumer[eat.jobs.film]” #198736 daemon prio=5 os_prio=0 tid=0x0000000003410800 nid=0x6026 runnable [0x00007f793e298000]

   java.lang.Thread.State: RUNNABLE

   at java.io.UnixFileSystem.getLastModifiedTime(Native Method)

   at java.io.File.lastModified(File.java:943)

   at org.apache.logging.log4j.core.config.FileConfigurationMonitor.checkConfiguration(FileConfigurationMonitor.java:81)

   at org.apache.logging.log4j.core.Logger$PrivateConfig.filter(Logger.java:328)

   at org.apache.logging.log4j.core.Logger.isEnabled(Logger.java:132)

   at org.apache.logging.log4j.spi.AbstractLogger.isTraceEnabled(AbstractLogger.java:591)

   at com.singularity.ee.agent.util.log4j.x.isTraceEnabled(x.java:134)

   at com.singularity.ee.agent.util.log4j.h.isTraceEnabled(h.java:186)

   at com.singularity.ee.agent.appagent.services.transactionmonitor.common.H.<init>(

“bindingRegistry-pool-5-thread-1” #43 daemon prio=5 os_prio=0 tid=0x00007f79409f1000 nid=0x2e71 waiting for monitor entry [0x00007f794416d000]

   java.lang.Thread.State: BLOCKED (on object monitor)

   at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)

   at java.lang.StringBuilder.<init>(StringBuilder.java:89)

   at java.lang.StackTraceElement.toString(StackTraceElement.java:172)

   at java.lang.String.valueOf(String.java:2994)

   at java.lang.StringBuilder.append(StringBuilder.java:131)

   at java.lang.Throwable.printStackTrace(Throwable.java:658)

   – locked <0x0000000766e638a0> (a java.io.PrintWriter)

   at java.lang.Throwable.printStackTrace(Throwable.java:721)

   at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)

   at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)

   – locked <0x0000000766e48cb8> (a org.apache.log4j.spi.ThrowableInformation)

   at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)

   at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)

   at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)

   at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)

   at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)

   – locked <0x00000006c142ccb0> (a org.apache.log4j.RollingFileAppender)

“pool-16-thread-1” #198750 prio=5 os_prio=0 tid=0x00007f7940bc8000 nid=0x6038 runnable [0x00007f79170ef000]

   java.lang.Thread.State: RUNNABLE

   at org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:1334)

   at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:286)

   – locked <0x00000006c4d355d8> (a org.postgresql.core.v3.QueryExecutorImpl)

   at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)

   at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)

   at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)

   at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)

   at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)

   at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)

GC explain the 6 cores?

Log4j bug?

  Remove console appender?

  We know log4j seems to be eating one core

Hold onto more logs

Visualvm???

  She’s unresponsive, Jim!

Fix it so it’s fast UI

Fix it so it run film validation threaded

“See” if we can just start film validation…continue it…

Seems to have run out of RAM

   From a mystery cause!

   Logging?

x265 woe

cross compile mingw

 

[ 20%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.obj
[ 21%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/ssd-a.asm.obj
[ 22%] Building CXX object encoder/CMakeFiles/encoder.dir/dpb.cpp.obj
[ 24%] Building CXX object encoder/CMakeFiles/encoder.dir/ratecontrol.cpp.obj
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:827: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:119: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:828: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:119: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:829: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:119: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:832: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:119: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:833: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:119: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:843: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:262: … from macro `SSD_ONE_SS_32′ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:844: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:348: … from macro `SSD_ONE_SS_64′ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:853: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:130: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:854: error: invalid combination of opcode and operands
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/x86/ssd-a.asm:130: … from macro `SSD_ONE’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1373: … from macro `movq’ defined here
/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win32/x265_all_bitdepth/source/common/../common/x86/x86inc.asm:1225: … from macro `RUN_AVX_INSTR’ defined here
[ 25%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.obj
make[2]: *** [common/CMakeFiles/common.dir/build.make:78: common/CMakeFiles/common.dir/x86/ssd-a.asm.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:248: common/CMakeFiles/common.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs….
[ 26%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.obj
[ 28%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.obj
[ 29%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.obj
[ 29%] Built target encoder
make: *** [Makefile:130: all] Error 2

 

meant I think you can’t do asm with win32 10 bit and 12 bit, but can with 8 bit…

ffmpeg woe

d.stab_git …
not doing git get latest pull for latest code libmysofa_git
doing git checkout origin/master
HEAD is now at 5c238dc cosmetics on code coverage
fetched no code changes, not forcing reconfigure for that…

Making /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git as $ PATH=/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH make -j 4

[ 4%] Building C object src/CMakeFiles/mysofa-static.dir/hdf/dataobject.c.obj
[ 9%] Building C object src/CMakeFiles/mysofa-static.dir/hrtf/reader.c.obj
[ 14%] Building C object src/CMakeFiles/mysofa-static.dir/hdf/superblock.c.obj
[ 19%] Building C object src/CMakeFiles/mysofa-static.dir/hdf/btree.c.obj
In file included from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/../hrtf/mysofa.h:14:0,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/reader.h:10,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/dataobject.c:15:
/usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/../hrtf/mysofa.h:14:0,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/reader.h:10,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/superblock.c:7:
/usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/mysofa-static.dir/build.make:92: src/CMakeFiles/mysofa-static.dir/hdf/dataobject.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs….
make[2]: *** [src/CMakeFiles/mysofa-static.dir/build.make:78: src/CMakeFiles/mysofa-static.dir/hdf/superblock.c.obj] Error 1
In file included from /usr/include/ctype.h:25:0,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hrtf/reader.c:7:
/usr/include/features.h:470:10: fatal error: gnu/stubs.h: No such file or directory
#include <gnu/stubs.h>
^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/mysofa-static.dir/build.make:64: src/CMakeFiles/mysofa-static.dir/hrtf/reader.c.obj] Error 1
In file included from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/../hrtf/mysofa.h:14:0,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/reader.h:10,
from /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/libmysofa_git/src/hdf/btree.c:7:
/usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/mysofa-static.dir/build.make:106: src/CMakeFiles/mysofa-static.dir/hdf/btree.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:91: src/CMakeFiles/mysofa-static.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

 

meant “nuke it and try again”?

maven woe

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project dp-imaging: ArtifactDeployerException: Failed to retrieve remote metadata org.:1.28-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org..28-SNAPSHOT/maven-metadata.xml from/to C:\Windows\system32\config\systemprofile\.m2\repository\org\...\maven-metadata-records-snapshot::default.xml.part.lock (The filename, directory name, or volume label syntax is incorrect)

meant

for <altSnapshotDeploymentRepository>.  However, the ::default  part of name was causing the problem.  According to the documentation ::default is no longer needed.  http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository

home made cpap how-to

Saw this on a nytimes article comments

Q

foggbird
North Carolina

For all the complexity and resultant expense of CPAPs, it’s good to remember that they are only fans, a device to push air. I forgot mine once and found myself 700 miles from home. I can’t sleep at all without a CPAP so I bought a Dust Buster from Target and a hose and mask for a hospital supply place. I put the dust Buster on blow instead of suck, and it worked fine. Not as good as my Res Med, but adequate. I love my CPAP … [continues]

in the comments section of that article.

Quoting out of fair use 🙂

 

I was also able to make one “kind of” that worked by sleeping under a card table, with cardboard draped on one end of the card table, and me right under that, then a fan pushing on the cardboard so the cardboard directed the air into my face.

Problem is you roll over and your face gets out of position.  But works up front.

I then replaced that with basically a “big ol’ fan” (carpet cleaner type lasco) directed at the foot of my bed ointed at about my hips.  Then the air kind of shoots over your face during the night.  This one requires ear plugs for noise and kind of shakes the ground…but works when those dang docs won’t prescribe a cpap and you need something to not die at night…

Not sure if the last two are as good as a cpap but they helped me from dying! Started getting weird shaking sensations upon waking, waking up exhausted.  These were work arounds.

Leave a comment if you want more details.

For me they “can’t” diagnose me with OSA since I don’t have it, just trouble breathing (back pain related?) but i need air, man, or I sleep like crud!

windows gdb woze

For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>…
Reading symbols from C:\Users\Administrator\ffmpeg_submit/ffmpeg_g.exe…Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module C:\Users\Administrator\ffmpeg_submit/ffmpeg_g.exe]
(gdb) r
Starting program: C:\Users\Administrator\ffmpeg_submit/ffmpeg_g.exe

I think maybe meant “use a newer veresion of gdb” anyway

this worked

https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/gdb/x86_64-w64-mingw32-gdb-7.1.90.20100730.zip/download

 

Type “apropos word” to search for commands related to “word”…
“C:\Users\Administrator\ffmpeg_submit/ffmpeg_g.exe”: not in executable format: File format not recognized

 

meant “you are using a 32 bit gdb with a 64 bit windows exe” (methinks?)