Guest User

Untitled

a guest
Feb 24th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.66 KB | None | 0 0
  1. when I build libreoffice online, make is OK, but when I run 'make check' it's error
  2. My Environment : Ubuntu 16.04
  3. build steps as follows :
  4. (1)
  5. lool@ubuntu:/opt/online$ ./configure --enable-silent-rules --with-lokit-path=/opt/libreoffice/include --with-lo-path=/opt/libreoffice/instdir --with-poco-includes=/usr/include --with-poco-libs=/usr/lib --enable-debug
  6. checking build system type... x86_64-pc-linux-gnu
  7. checking host system type... x86_64-pc-linux-gnu
  8. checking how to print strings... printf
  9. checking for gcc... gcc
  10. checking whether the C compiler works... yes
  11. checking for C compiler default output file name... a.out
  12. checking for suffix of executables...
  13. checking whether we are cross compiling... no
  14. checking for suffix of object files... o
  15. checking whether we are using the GNU C compiler... yes
  16. checking whether gcc accepts -g... yes
  17. checking for gcc option to accept ISO C89... none needed
  18. checking whether gcc understands -c and -o together... yes
  19. checking for a sed that does not truncate output... /bin/sed
  20. checking for grep that handles long lines and -e... /bin/grep
  21. checking for egrep... /bin/grep -E
  22. checking for fgrep... /bin/grep -F
  23. checking for ld used by gcc... /usr/bin/ld
  24. checking if the linker (/usr/bin/ld) is GNU ld... yes
  25. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  26. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  27. checking whether ln -s works... yes
  28. checking the maximum length of command line arguments... 1572864
  29. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  30. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  31. checking for /usr/bin/ld option to reload object files... -r
  32. checking for objdump... objdump
  33. checking how to recognize dependent libraries... pass_all
  34. checking for dlltool... no
  35. checking how to associate runtime and link libraries... printf %s\n
  36. checking for ar... ar
  37. checking for archiver @FILE support... @
  38. checking for strip... strip
  39. checking for ranlib... ranlib
  40. checking for gawk... no
  41. checking for mawk... mawk
  42. checking command to parse /usr/bin/nm -B output from gcc object... ok
  43. checking for sysroot... no
  44. checking for a working dd... /bin/dd
  45. checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  46. checking for mt... mt
  47. checking if mt is a manifest tool... no
  48. checking how to run the C preprocessor... gcc -E
  49. checking for ANSI C header files... yes
  50. checking for sys/types.h... yes
  51. checking for sys/stat.h... yes
  52. checking for stdlib.h... yes
  53. checking for string.h... yes
  54. checking for memory.h... yes
  55. checking for strings.h... yes
  56. checking for inttypes.h... yes
  57. checking for stdint.h... yes
  58. checking for unistd.h... yes
  59. checking for dlfcn.h... yes
  60. checking for objdir... .libs
  61. checking if gcc supports -fno-rtti -fno-exceptions... no
  62. checking for gcc option to produce PIC... -fPIC -DPIC
  63. checking if gcc PIC flag -fPIC -DPIC works... yes
  64. checking if gcc static flag -static works... yes
  65. checking if gcc supports -c -o file.o... yes
  66. checking if gcc supports -c -o file.o... (cached) yes
  67. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  68. checking whether -lc should be explicitly linked in... no
  69. checking dynamic linker characteristics... GNU/Linux ld.so
  70. checking how to hardcode library paths into programs... immediate
  71. checking for shl_load... no
  72. checking for shl_load in -ldld... no
  73. checking for dlopen... no
  74. checking for dlopen in -ldl... yes
  75. checking whether a program can dlopen itself... yes
  76. checking whether a statically linked program can dlopen itself... no
  77. checking whether stripping libraries is possible... yes
  78. checking if libtool supports shared libraries... yes
  79. checking whether to build shared libraries... yes
  80. checking whether to build static libraries... no
  81. checking for a BSD-compatible install... /usr/bin/install -c
  82. checking whether build environment is sane... yes
  83. checking for a thread-safe mkdir -p... /bin/mkdir -p
  84. checking whether make sets $(MAKE)... yes
  85. checking for style of include used by make... GNU
  86. checking whether make supports nested variables... yes
  87. checking how to create a pax tar archive... gnutar
  88. checking dependency style of gcc... gcc3
  89. checking for g++... g++
  90. checking whether we are using the GNU C++ compiler... yes
  91. checking whether g++ accepts -g... yes
  92. checking how to run the C++ preprocessor... g++ -E
  93. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  94. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  95. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  96. checking for g++ option to produce PIC... -fPIC -DPIC
  97. checking if g++ PIC flag -fPIC -DPIC works... yes
  98. checking if g++ static flag -static works... yes
  99. checking if g++ supports -c -o file.o... yes
  100. checking if g++ supports -c -o file.o... (cached) yes
  101. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  102. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  103. checking how to hardcode library paths into programs... immediate
  104. checking dependency style of g++... gcc3
  105. checking for gcc... (cached) gcc
  106. checking whether we are using the GNU C compiler... (cached) yes
  107. checking whether gcc accepts -g... (cached) yes
  108. checking for gcc option to accept ISO C89... (cached) none needed
  109. checking whether gcc understands -c and -o together... (cached) yes
  110. checking for setcap... /sbin/setcap
  111. ./configure: line 16808: test: : integer expression expected
  112. ./configure: line 16822: test: : integer expression expected
  113. checking whether to run tests against a LibreOffice... yes
  114. checking for library containing dlopen... -ldl
  115. checking for library containing png_create_write_struct... -lpng
  116. checking for library containing cap_get_proc... -lcap
  117. checking for pkg-config... /usr/bin/pkg-config
  118. checking pkg-config is at least version 0.9.0... yes
  119. checking for CPPUNIT... yes
  120. checking LibreOfficeKit/LibreOfficeKit.h usability... yes
  121. checking LibreOfficeKit/LibreOfficeKit.h presence... yes
  122. checking for LibreOfficeKit/LibreOfficeKit.h... yes
  123. checking Poco/Net/WebSocket.h usability... yes
  124. checking Poco/Net/WebSocket.h presence... yes
  125. checking for Poco/Net/WebSocket.h... yes
  126. checking POCO version... OK
  127. checking If we need to link with -lpcre... Yes
  128. checking that generated files are newer than configure... done
  129. configure: creating ./config.status
  130. config.status: creating Makefile
  131. config.status: creating test/Makefile
  132. config.status: creating loleaflet/Makefile
  133. config.status: creating loolwsd.spec
  134. config.status: creating loolwsd.xml
  135. config.status: creating maketarballfordeb.sh
  136. config.status: creating test/run_unit.sh
  137. config.status: creating config.h
  138. config.status: config.h is unchanged
  139. config.status: executing libtool commands
  140. config.status: executing depfiles commands
  141.  
  142. Configuration:
  143. LOKit path /opt/libreoffice/include
  144. LO integration tests test against /opt/libreoffice/instdir
  145. SSL support ssl enabled
  146. Debug & low security low security debugging mode
  147.  
  148. $ make # to compile
  149. $ make run # to start loolwsd
  150.  
  151. (2)
  152. lool@ubuntu:/opt/online$ make
  153. make all-recursive
  154. make[1]: Entering directory '/opt/online'
  155. Making all in .
  156. make[2]: Entering directory '/opt/online'
  157. [sudo] password for lool:
  158. Set required capabilities
  159. make[2]: Leaving directory '/opt/online'
  160. Making all in test
  161. make[2]: Entering directory '/opt/online/test'
  162.  
  163. Running build-time unit tests. For more thorough testing, please run 'make check'.
  164.  
  165. TileQueueTests::testTileQueuePriority. : OK
  166. TileQueueTests::testTileCombinedRendering. : OK
  167. TileQueueTests::testTileRecombining. : OK
  168. TileQueueTests::testViewOrder. : OK
  169. TileQueueTests::testPreviewsDeprioritization. : OK
  170. TileQueueTests::testSenderQueue. : OK
  171. TileQueueTests::testSenderQueueTileDeduplication. : OK
  172. TileQueueTests::testInvalidateViewCursorDeduplication. : OK
  173. TileQueueTests::testCallbackInvalidation. : OK
  174. WhiteBoxTests::testLOOLProtocolFunctions. : OK
  175. WhiteBoxTests::testMessageAbbreviation. : OK
  176. WhiteBoxTests::testTokenizer. : OK
  177. WhiteBoxTests::testRegexListMatcher. : OK
  178. WhiteBoxTests::testRegexListMatcher_Init. : OK
  179. WhiteBoxTests::testEmptyCellCursor. : OK
  180. WhiteBoxTests::testRectanglesIntersect. : OK
  181.  
  182. make[2]: Leaving directory '/opt/online/test'
  183. Making all in loleaflet
  184. make[2]: Entering directory '/opt/online/loleaflet'
  185. rm -rf dist/plugins/draw-0.2.4 && mkdir -p dist/plugins/draw-0.2.4
  186. cd plugins/draw-0.2.4 && jake build && cp -ar dist ../../dist/plugins/draw-0.2.4
  187.  
  188. Concatenating and compressing 25 files...
  189. Uncompressed: 71.68 KB (unchanged)
  190. jake build debug=true minify=false
  191.  
  192. Finished building admin
  193. Finished building loleaflet
  194. make[2]: Leaving directory '/opt/online/loleaflet'
  195. make[1]: Leaving directory '/opt/online'
  196.  
  197. (3)
  198. lool@ubuntu:/opt/online$ make check
  199. Making check in .
  200. make[1]: Entering directory '/opt/online'
  201. Set required capabilities
  202. make[1]: Leaving directory '/opt/online'
  203. Making check in test
  204. make[1]: Entering directory '/opt/online/test'
  205.  
  206. Running build-time unit tests. For more thorough testing, please run 'make check'.
  207.  
  208. TileQueueTests::testTileQueuePriority. : OK
  209. TileQueueTests::testTileCombinedRendering. : OK
  210. TileQueueTests::testTileRecombining. : OK
  211. TileQueueTests::testViewOrder. : OK
  212. TileQueueTests::testPreviewsDeprioritization. : OK
  213. TileQueueTests::testSenderQueue. : OK
  214. TileQueueTests::testSenderQueueTileDeduplication. : OK
  215. TileQueueTests::testInvalidateViewCursorDeduplication. : OK
  216. TileQueueTests::testCallbackInvalidation. : OK
  217. WhiteBoxTests::testLOOLProtocolFunctions. : OK
  218. WhiteBoxTests::testMessageAbbreviation. : OK
  219. WhiteBoxTests::testTokenizer. : OK
  220. WhiteBoxTests::testRegexListMatcher. : OK
  221. WhiteBoxTests::testRegexListMatcher_Init. : OK
  222. WhiteBoxTests::testEmptyCellCursor. : OK
  223. WhiteBoxTests::testRectanglesIntersect. : OK
  224.  
  225. make test
  226. make[2]: Entering directory '/opt/online/test'
  227. make[2]: 'test' is up to date.
  228. make[2]: Leaving directory '/opt/online/test'
  229. make check-TESTS check-local
  230. make[2]: Entering directory '/opt/online/test'
  231. make[3]: Entering directory '/opt/online/test'
  232.  
  233. Running unit-tilecache.la
  234. ../test/run_unit.sh --test-name unit-tilecache.la --log-file unit-tilecache.log --trs-file unit-tilecache.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./unit-tilecache.la
  235. Test output is 'unit-tilecache.trs'
  236. Running unit-tilecache | unit-tilecache.log ...
  237. *** Error in `/opt/online/test/../loolwsd': free(): invalid pointer: 0x00007f018b46f158 ***
  238. ======= Backtrace: =========
  239. /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f018a969725]
  240. /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7f018a971f4a]
  241. /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f018a975abc]
  242. /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8)[0x7f018a92bfe8]
  243. /lib/x86_64-linux-gnu/libc.so.6(+0x3a035)[0x7f018a92c035]
  244. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7f018a912837]
  245. /opt/online/test/../loolwsd(_start+0x29)[0x42fab9]
  246. ======= Memory map: ========
  247. 00400000-00515000 r-xp 00000000 08:01 2768053 /opt/online/loolwsd
  248. 00715000-00716000 r--p 00115000 08:01 2768053 /opt/online/loolwsd
  249. 00716000-00718000 rw-p 00116000 08:01 2768053 /opt/online/loolwsd
  250. 00718000-0071b000 rw-p 00000000 00:00 0
  251. 01a47000-01b12000 rw-p 00000000 00:00 0 [heap]
  252. 7f0168000000-7f0168021000 rw-p 00000000 00:00 0
  253. 7f0168021000-7f016c000000 ---p 00000000 00:00 0
  254. 7f0170000000-7f0170021000 rw-p 00000000 00:00 0
  255. 7f0170021000-7f0174000000 ---p 00000000 00:00 0
  256. 7f0174000000-7f0174021000 rw-p 00000000 00:00 0
  257. 7f0174021000-7f0178000000 ---p 00000000 00:00 0
  258. 7f0178000000-7f0178021000 rw-p 00000000 00:00 0
  259. 7f0178021000-7f017c000000 ---p 00000000 00:00 0
  260. 7f017c000000-7f017c021000 rw-p 00000000 00:00 0
  261. 7f017c021000-7f0180000000 ---p 00000000 00:00 0
  262. 7f0180000000-7f0180021000 rw-p 00000000 00:00 0
  263. 7f0180021000-7f0184000000 ---p 00000000 00:00 0
  264. 7f0185207000-7f018521e000 r-xp 00000000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  265. 7f018521e000-7f018541e000 ---p 00017000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  266. 7f018541e000-7f018541f000 r--p 00017000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  267. 7f018541f000-7f0185420000 rw-p 00018000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  268. 7f0185420000-7f0185422000 rw-p 00000000 00:00 0
  269. 7f0185422000-7f0185427000 r-xp 00000000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  270. 7f0185427000-7f0185627000 ---p 00005000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  271. 7f0185627000-7f0185628000 r--p 00005000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  272. 7f0185628000-7f0185629000 rw-p 00006000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  273. 7f0185629000-7f018562b000 r-xp 00000000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  274. 7f018562b000-7f018582a000 ---p 00002000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  275. 7f018582a000-7f018582b000 r--p 00001000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  276. 7f018582b000-7f018582c000 rw-p 00002000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  277. 7f018582c000-7f0185837000 r-xp 00000000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  278. 7f0185837000-7f0185a36000 ---p 0000b000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  279. 7f0185a36000-7f0185a37000 r--p 0000a000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  280. 7f0185a37000-7f0185a38000 rw-p 0000b000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  281. 7f0185a38000-7f0185a3e000 rw-p 00000000 00:00 0
  282. 7f0185a3e000-7f0185a3f000 ---p 00000000 00:00 0
  283. 7f0185a3f000-7f018623f000 rw-p 00000000 00:00 0
  284. 7f018623f000-7f0186240000 ---p 00000000 00:00 0
  285. 7f0186240000-7f0186a40000 rw-p 00000000 00:00 0
  286. 7f0186a40000-7f0186a41000 ---p 00000000 00:00 0
  287. 7f0186a41000-7f0187241000 rw-p 00000000 00:00 0
  288. 7f0187241000-7f0187242000 ---p 00000000 00:00 0
  289. 7f0187242000-7f0187a42000 rw-p 00000000 00:00 0
  290. 7f0187a42000-7f0187a43000 ---p 00000000 00:00 0
  291. 7f0187a43000-7f0188243000 rw-p 00000000 00:00 0
  292. 7f0188243000-7f0188c02000 r--p 00000000 08:01 925066 /usr/lib/locale/locale-archive
  293. 7f0188c02000-7f0188c03000 ---p 00000000 00:00 0
  294. 7f0188c03000-7f0189403000 rw-p 00000000 00:00 0
  295. 7f0189403000-7f01895eb000 r-xp 00000000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  296. 7f01895eb000-7f01897eb000 ---p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  297. 7f01897eb000-7f01897f9000 r--p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  298. 7f01897f9000-7f01897fd000 rw-p 001f6000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  299. 7f01897fd000-7f01897fe000 rw-p 00000000 00:00 0
  300. 7f01897fe000-7f0189920000 r-xp 00000000 08:01 920535 /usr/lib/libPocoNet.so.42
  301. 7f0189920000-7f0189b20000 ---p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  302. 7f0189b20000-7f0189b2a000 r--p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  303. 7f0189b2a000-7f0189b2d000 rw-p 0012c000 08:01 920535 /usr/lib/libPocoNet.so.42
  304. 7f0189b2d000-7f0189b2e000 rw-p 00000000 00:00 0
  305. 7f0189b2e000-7f0189b32000 r-xp 00000000 08:01 2893051 /opt/online/test/.libs/unit-tilecache.so.0.0.0
  306. 7f0189b32000-7f0189d32000 ---p 00004000 08:01 2893051 /opt/online/test/.libs/unit-tilecache.so.0.0.0
  307. 7f0189d32000-7f0189d33000 r--p 00004000 08:01 2893051 /opt/online/test/.libs/unit-tilecache.so.0.0.0
  308. 7f0189d33000-7f0189d34000 rw-p 00005000 08:01 2893051 /opt/online/test/.libs/unit-tilecache.so.0.0.0
  309. 7f0189d34000-7f0189f4e000 r-xp 00000000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  310. 7f0189f4e000-7f018a14d000 ---p 0021a000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  311. 7f018a14d000-7f018a169000 r--p 00219000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  312. 7f018a169000-7f018a175000 rw-p 00235000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  313. 7f018a175000-7f018a178000 rw-p 00000000 00:00 0
  314. 7f018a178000-7f018a1d6000 r-xp 00000000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  315. 7f018a1d6000-7f018a3d6000 ---p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  316. 7f018a3d6000-7f018a3da000 r--p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  317. 7f018a3da000-7f018a3e1000 rw-p 00062000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  318. 7f018a3e1000-7f018a4e9000 r-xp 00000000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  319. 7f018a4e9000-7f018a6e8000 ---p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  320. 7f018a6e8000-7f018a6e9000 r--p 00107000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  321. 7f018a6e9000-7f018a6ea000 rw-p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  322. 7f018a6ea000-7f018a6f1000 r-xp 00000000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  323. 7f018a6f1000-7f018a8f0000 ---p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  324. 7f018a8f0000-7f018a8f1000 r--p 00006000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  325. 7f018a8f1000-7f018a8f2000 rw-p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  326. 7f018a8f2000-7f018aab2000 r-xp 00000000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  327. 7f018aab2000-7f018acb1000 ---p 001c0000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  328. 7f018acb1000-7f018acb5000 r--p 001bf000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  329. 7f018acb5000-7f018acb7000 rw-p 001c3000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  330. 7f018acb7000-7f018acbb000 rw-p 00000000 00:00 0
  331. 7f018acbb000-7f018acd3000 r-xp 00000000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  332. 7f018acd3000-7f018aed2000 ---p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  333. 7f018aed2000-7f018aed3000 r--p 00017000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  334. 7f018aed3000-7f018aed4000 rw-p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  335. 7f018aed4000-7f018aed8000 rw-p 00000000 00:00 0
  336. 7f018aed8000-7f018aeee000 r-xp 00000000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  337. 7f018aeee000-7f018b0ed000 ---p 00016000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  338. 7f018b0ed000-7f018b0ee000 rw-p 00015000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  339. 7f018b0ee000-7f018b260000 r-xp 00000000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  340. 7f018b260000-7f018b460000 ---p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  341. 7f018b460000-7f018b46a000 r--p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  342. 7f018b46a000-7f018b46c000 rw-p 0017c000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  343. 7f018b46c000-7f018b470000 rw-p 00000000 00:00 0
  344. 7f018b470000-7f018b491000 r-xp 00000000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  345. 7f018b491000-7f018b690000 ---p 00021000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  346. 7f018b690000-7f018b692000 r--p 00020000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  347. 7f018b692000-7f018b693000 rw-p 00022000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  348. 7f018b693000-7f018b6dd000 r-xp 00000000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  349. 7f018b6dd000-7f018b8dc000 ---p 0004a000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  350. 7f018b8dc000-7f018b8de000 r--p 00049000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  351. 7f018b8de000-7f018b8df000 rw-p 0004b000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  352. 7f018b8df000-7f018b8e0000 rw-p 00000000 00:00 0
  353. 7f018b8e0000-7f018b973000 r-xp 00000000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  354. 7f018b973000-7f018bb73000 ---p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  355. 7f018bb73000-7f018bb79000 r--p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  356. 7f018bb79000-7f018bb7b000 rw-p 00099000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  357. 7f018bb7b000-7f018bd68000 r-xp 00000000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  358. 7f018bd68000-7f018bf68000 ---p 001ed000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  359. 7f018bf68000-7f018bf73000 r--p 001ed000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  360. 7f018bf73000-7f018bf77000 rw-p 001f8000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  361. 7f018bf77000-7f018bf78000 rw-p 00000000 00:00 0
  362. 7f018bf78000-7f018bfcb000 r-xp 00000000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  363. 7f018bfcb000-7f018c1ca000 ---p 00053000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  364. 7f018c1ca000-7f018c1cc000 r--p 00052000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  365. 7f018c1cc000-7f018c1cd000 rw-p 00054000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  366. 7f018c1cd000-7f018c240000 r-xp 00000000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  367. 7f018c240000-7f018c43f000 ---p 00073000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  368. 7f018c43f000-7f018c442000 r--p 00072000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  369. 7f018c442000-7f018c444000 rw-p 00075000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  370. 7f018c444000-7f018c564000 r-xp 00000000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  371. 7f018c564000-7f018c763000 ---p 00120000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  372. 7f018c763000-7f018c76b000 r--p 0011f000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  373. 7f018c76b000-7f018c76e000 rw-p 00127000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  374. 7f018c76e000-7f018c770000 rw-p 00000000 00:00 0
  375. 7f018c770000-7f018c773000 r-xp 00000000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  376. 7f018c773000-7f018c972000 ---p 00003000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  377. 7f018c972000-7f018c973000 r--p 00002000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  378. 7f018c973000-7f018c974000 rw-p 00003000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  379. 7f018c974000-7f018c99a000 r-xp 00000000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  380. 7f018c9e6000-7f018c9e7000 ---p 00000000 00:00 0
  381. 7f018c9e7000-7f018ca27000 rw-p 00000000 00:00 0
  382. 7f018ca27000-7f018ca28000 ---p 00000000 00:00 0
  383. 7f018ca28000-7f018ca68000 rw-p 00000000 00:00 0
  384. 7f018ca68000-7f018ca69000 ---p 00000000 00:00 0
  385. 7f018ca69000-7f018caa9000 rw-p 00000000 00:00 0
  386. 7f018caa9000-7f018caaa000 ---p 00000000 00:00 0
  387. 7f018caaa000-7f018caea000 rw-p 00000000 00:00 0
  388. 7f018caea000-7f018caeb000 ---p 00000000 00:00 0
  389. 7f018caeb000-7f018cb2b000 rw-p 00000000 00:00 0
  390. 7f018cb2b000-7f018cb2c000 ---p 00000000 00:00 0
  391. 7f018cb2c000-7f018cb77000 rw-p 00000000 00:00 0
  392. 7f018cb96000-7f018cb99000 rw-p 00000000 00:00 0
  393. 7f018cb99000-7f018cb9a000 r--p 00025000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  394. 7f018cb9a000-7f018cb9b000 rw-p 00026000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  395. 7f018cb9b000-7f018cb9c000 rw-p 00000000 00:00 0
  396. 7fff4eeab000-7fff4eecc000 rw-p 00000000 00:00 0 [stack]
  397. 7fff4ef2a000-7fff4ef2c000 r--p 00000000 00:00 0 [vvar]
  398. 7fff4ef2c000-7fff4ef2e000 r-xp 00000000 00:00 0 [vdso]
  399. ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
  400. ../test/run_unit.sh: line 121: 40619 Aborted (core dumped) ${valgrind} ${abs_top_builddir}/loolwsd --o:sys_template_path="$systemplate_path" --o:lo_template_path="$lo_path" --o:child_root_path="$jails_path" --o:storage.filesystem[@allow]=true --o:logging.level=trace --o:admin_console.username=admin --o:admin_console.password=admin --unitlib=".libs/$tst.so" > "$tst_log" 2>&1
  401. wsd-40619-40619 08:46:29.313274 [ loolwsd ] INF Initializing wsd. Local time: Fri 2017-02-24 00:46:29-0800. Log level is [8].| common/Log.cpp:171
  402. wsd-40619-40619 08:46:29.313490 [ loolwsd ] WRN SSL support: SSL is disabled.| wsd/LOOLWSD.cpp:1912
  403. wsd-40619-40619 08:46:29.313729 [ loolwsd ] INF Maximum concurrent open Documents limit: 10| wsd/LOOLWSD.cpp:1946
  404. wsd-40619-40619 08:46:29.313769 [ loolwsd ] INF Maximum concurrent client Connections limit: 20| wsd/LOOLWSD.cpp:1947
  405. wsd-40619-40619 08:46:29.314309 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-%.gz| wsd/LOOLWSD.cpp:1974
  406. wsd-40619-40619 08:46:29.314579 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:85
  407. wsd-40619-40619 08:46:29.314681 [ loolwsd ] INF Adding trusted WOPI host: [192.168.30.172].| wsd/Storage.cpp:85
  408. wsd-40619-40619 08:46:29.314712 [ loolwsd ] INF Adding trusted WOPI host: [10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  409. wsd-40619-40619 08:46:29.314752 [ loolwsd ] INF Adding trusted WOPI host: [172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  410. wsd-40619-40619 08:46:29.314775 [ loolwsd ] INF Adding trusted WOPI host: [172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  411. wsd-40619-40619 08:46:29.314796 [ loolwsd ] INF Adding trusted WOPI host: [172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  412. wsd-40619-40619 08:46:29.314818 [ loolwsd ] INF Adding trusted WOPI host: [192\.168\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  413. wsd-40619-40619 08:46:29.314841 [ loolwsd ] INF Adding blocked WOPI host: [192\.168\.1\.1].| wsd/Storage.cpp:90
  414.  
  415. Launch this in your browser:
  416.  
  417. http://localhost:9980/loleaflet/450f834/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt
  418.  
  419.  
  420. Or for the Admin Console:
  421.  
  422. http://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html
  423.  
  424. wsd-40619-40619 08:46:29.315661 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2421
  425. wsd-40619-40619 08:46:29.318583 [ loolwsd ] INF Starting prisoner server listening on 9981| wsd/LOOLWSD.cpp:2468
  426. wsd-40619-40619 08:46:29.318896 [ loolwsd ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:2290
  427. wsd-40619-40619 08:46:29.319128 [ loolwsd ] INF AdminModel ctor.| wsd/AdminModel.hpp:143
  428. wsd-40619-40619 08:46:29.319666 [ loolwsd ] INF Admin ctor.| wsd/Admin.cpp:290
  429. wsd-40619-40619 08:46:29.324089 [ loolwsd ] TRC Total memory used: 6298| wsd/Admin.cpp:294
  430. wsd-40619-40619 08:46:29.324317 [ loolwsd ] DBG Memory stat ctor| wsd/Admin.hpp:127
  431. wsd-40619-40619 08:46:29.324685 [ loolwsd ] DBG Cpu stat ctor| wsd/Admin.hpp:150
  432. wsd-40619-40619 08:46:29.324815 [ loolwsd ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/online/test/../systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/test/../jails/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:2334
  433. wsd-40619-40619 08:46:29.326243 [ loolwsd ] INF Forkit process launched: 40630| wsd/LOOLWSD.cpp:2345
  434. wsd-40619-40619 08:46:29.326432 [ loolwsd ] TRC Waiting for a new child for a max of 15000 ms.| wsd/LOOLWSD.cpp:443
  435. frk-40630-40630 08:46:29.361126 [ loolforkit ] INF Initializing frk. Local time: Fri 2017-02-24 00:46:29-0800. Log level is [8].| common/Log.cpp:171
  436. frk-40630-40630 08:46:29.361272 [ loolforkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
  437. frk-40630-40630 08:46:29.361373 [ loolforkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
  438. frk-40630-40630 08:46:29.361411 [ loolforkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
  439. frk-40630-40630 08:46:29.361738 [ loolforkit ] TRC dlopen(/opt/libreoffice/instdir/program/libsofficeapp.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:1903
  440. frk-40630-40630 08:46:29.983215 [ loolforkit ] TRC lok_preinit(/opt/libreoffice/instdir/program", "file:///user")| kit/Kit.cpp:1932
  441. frk-40630-40630 08:46:34.274428 [ loolforkit ] INF Preinit stage OK.| kit/ForKit.cpp:453
  442. frk-40630-40630 08:46:34.274538 [ loolforkit ] DBG Forking a loolkit process.| kit/ForKit.cpp:224
  443. frk-40630-40630 08:46:34.286547 [ loolforkit ] INF Forked kit [40633].| kit/ForKit.cpp:265
  444. frk-40630-40630 08:46:34.286776 [ loolforkit ] INF ForKit process is ready.| kit/ForKit.cpp:465
  445. kit-40633-40633 08:46:34.287588 [ loolkit ] INF Initializing kit. Local time: Fri 2017-02-24 00:46:34-0800. Log level is [8].| common/Log.cpp:171
  446. kit-40633-40633 08:46:34.287773 [ loolkit ] DBG Process started.| kit/Kit.cpp:1586
  447. kit-40633-40633 08:46:34.287854 [ loolkit ] INF Jail path: /opt/online/jails/40633/| kit/Kit.cpp:1600
  448. kit-40633-40633 08:46:34.288190 [ loolkit ] DBG symlink("../../lo","/opt/online/jails/40633/opt/libreoffice/instdir")| kit/Kit.cpp:267
  449. wsd-40619-40628 08:46:34.328349 [ loolwsd ] TRC Total memory used: 177549| wsd/Admin.cpp:338
  450. kit-40633-40633 08:46:34.595357 [ loolkit ] TRC skip redundant paths program/wizards| kit/Kit.cpp:177
  451. kit-40633-40633 08:46:34.596048 [ loolkit ] TRC skip redundant paths sdk| kit/Kit.cpp:177
  452. kit-40633-40633 08:46:34.611395 [ loolkit ] TRC skip redundant paths share/template| kit/Kit.cpp:177
  453. kit-40633-40633 08:46:34.619656 [ loolkit ] TRC skip redundant paths share/config/wizard| kit/Kit.cpp:177
  454. kit-40633-40633 08:46:34.838345 [ loolkit ] TRC skip redundant paths share/basic| kit/Kit.cpp:177
  455. kit-40633-40633 08:46:34.838976 [ loolkit ] TRC skip redundant paths share/gallery| kit/Kit.cpp:177
  456. kit-40633-40633 08:46:34.846989 [ loolkit ] TRC skip redundant paths share/Scripts| kit/Kit.cpp:177
  457. kit-40633-40633 08:46:34.871884 [ loolkit ] DBG Initialized jail files.| kit/Kit.cpp:1657
  458. kit-40633-40633 08:46:34.872207 [ loolkit ] INF chroot("/opt/online/jails/40633/")| kit/Kit.cpp:1681
  459. kit-40633-40633 08:46:34.872285 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+ep| kit/Kit.cpp:233
  460. kit-40633-40633 08:46:34.872314 [ loolkit ] TRC Capabilities now: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:250
  461. kit-40633-40633 08:46:34.872334 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:233
  462. kit-40633-40633 08:46:34.872352 [ loolkit ] TRC Capabilities now: = cap_fowner+ep| kit/Kit.cpp:250
  463. kit-40633-40633 08:46:34.872370 [ loolkit ] TRC Capabilities first: = cap_fowner+ep| kit/Kit.cpp:233
  464. kit-40633-40633 08:46:34.872386 [ loolkit ] TRC Capabilities now: =| kit/Kit.cpp:250
  465. kit-40633-40633 08:46:34.872400 [ loolkit ] DBG Initialized jail nodes, dropped caps.| kit/Kit.cpp:1698
  466. kit-40633-40633 08:46:35.082430 [ loolkit ] INF Process is ready.| kit/Kit.cpp:1733
  467. wsd-40619-40621 08:46:35.084775 [ prsnr_req_hdl ] INF Request from 127.0.0.1:56296: GET /loolws/newchild?pid=40633&version=%7B%20%22ProductName%22:%20%22LibreOfficeDev%22,%20%22ProductVersion%22:%20%225.4%22,%20%22ProductExtension%22:%20%22.0.0.alpha0%22,%20%22BuildId%22:%20%22f1af784134b17458b4ca24891d27926feabc67e3%22%20%7D HTTP/1.0 / Connection: Upgrade / Upgrade: websocket / Sec-WebSocket-Version: 13 / Sec-WebSocket-Key: ZUfeQwlJjWzelJxtFp00cA== / Host: 127.0.0.1:9981
  468. wsd-40619-40621 08:46:35.085006 [ prsnr_req_hdl ] TRC Child connection with URI [/loolws/newchild?pid=40633&version=%7B%20%22ProductName%22:%20%22LibreOfficeDev%22,%20%22ProductVersion%22:%20%225.4%22,%20%22ProductExtension%22:%20%22.0.0.alpha0%22,%20%22BuildId%22:%20%22f1af784134b17458b4ca24891d27926feabc67e3%22%20%7D].| wsd/LOOLWSD.cpp:1475
  469. wsd-40619-40621 08:46:35.085141 [ prsnr_req_hdl ] INF New child [40633].| wsd/LOOLWSD.cpp:1504
  470. wsd-40619-40621 08:46:35.085568 [ prsnr_req_hdl ] INF Send buffer size for web socket set to minimum: 4608| ./wsd/LOOLWebSocket.hpp:58
  471. wsd-40619-40621 08:46:35.085807 [ prsnr_req_hdl ] INF ChildProcess ctor [40633].| wsd/DocumentBroker.hpp:53
  472. wsd-40619-40621 08:46:35.085859 [ prsnr_req_hdl ] INF Have 1 spare child after adding [40633].| wsd/LOOLWSD.cpp:494
  473. wsd-40619-40619 08:46:35.085988 [ loolwsd ] TRC Waiting for a new child for a max of 15000 ms.| wsd/LOOLWSD.cpp:450
  474. wsd-40619-40619 08:46:35.086243 [ loolwsd ] INF Starting master server listening on 9980| wsd/LOOLWSD.cpp:2491
  475. kit-40633-40633 08:46:35.087285 [ loolkit ] INF Send buffer size for web socket set to minimum: 4608| ./wsd/LOOLWebSocket.hpp:58
  476. kit-40633-40633 08:46:35.087374 [ loolkit ] INF SocketProcessor [child_ws_40633] starting.| common/IoUtil.cpp:49
  477. wsd-40619-40637 08:46:35.091408 [ docbrk_ws_40633 ] INF SocketProcessor [docbrk_ws_40633] starting.| common/IoUtil.cpp:49
  478. Test file: /tmp/b8b89721_empty.odt
  479. Exception creating websocket No address found:
  480. No address found:
  481. wsd-40619-40619 08:46:35.586034 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:306
  482. wsd-40619-40629 08:46:35.586192 [ loolwsd ] DBG Cpu stat dtor| wsd/Admin.hpp:155
  483. wsd-40619-40628 08:46:35.586312 [ loolwsd ] DBG Memory stat dtor| wsd/Admin.hpp:132
  484. wsd-40619-40619 08:46:35.586364 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:148
  485. wsd-40619-40619 08:46:35.622154 [ loolwsd ] SIG Fatal signal received: SIGABRT
  486. Backtrace 40619:
  487. /opt/online/test/../loolwsd() [0x4e897b]
  488. /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f018accc3d0]
  489. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f018a927418]
  490. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f018a92901a]
  491. /lib/x86_64-linux-gnu/libc.so.6(+0x7772a) [0x7f018a96972a]
  492. /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a) [0x7f018a971f4a]
  493. /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f018a975abc]
  494. /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8) [0x7f018a92bfe8]
  495. /lib/x86_64-linux-gnu/libc.so.6(+0x3a035) [0x7f018a92c035]
  496. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0x7f018a912837]
  497. /opt/online/test/../loolwsd(_start+0x29) [0x42fab9]
  498. kit-40633-40633 08:46:36.679383 [ loolkit ] TRC Got nothing (0)| ./wsd/LOOLWebSocket.hpp:122
  499. kit-40633-40633 08:46:36.679591 [ loolkit ] WRN SocketProcessor [child_ws_40633]: Connection closed.| common/IoUtil.cpp:103
  500. kit-40633-40633 08:46:36.679806 [ loolkit ] INF SocketProcessor [child_ws_40633] finished. stop: false, n: 0, payload size: 0, flags: 0| common/IoUtil.cpp:cb
  501. kit-40633-40633 08:46:36.680160 [ loolkit ] INF Process finished.| kit/Kit.cpp:1870
  502. frk-40630-40630 08:46:36.684368 [ loolforkit ] FTL Pipe closed.| common/IoUtil.cpp:329
  503. frk-40630-40630 08:46:36.684457 [ loolforkit ] INF Child dispatcher flagged for termination.| kit/ForKit.cpp:473
  504. frk-40630-40630 08:46:36.684492 [ loolforkit ] INF ForKit process finished.| kit/ForKit.cpp:488
  505. =============================================================
  506. Test failed on unit: unit-tilecache re-run with:
  507. $ gdb --args /opt/online/test/../loolwsd --o:sys_template_path="/opt/online/test/../systemplate" \
  508. --o:lo_template_path="/opt/libreoffice/instdir" \
  509. --o:child_root_path="/opt/online/test/../jails" \
  510. --o:storage.filesystem[@allow]=true \
  511. --o:admin_console.username=admin --o:admin_console.password=admin \
  512. --unitlib=".libs/unit-tilecache.so"
  513. =============================================================
  514.  
  515. Running unit-storage.la
  516. ../test/run_unit.sh --test-name unit-storage.la --log-file unit-storage.log --trs-file unit-storage.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./unit-storage.la
  517. Test output is 'unit-storage.trs'
  518. Running unit-storage | unit-storage.log ...
  519. *** Error in `/opt/online/test/../loolwsd': free(): invalid pointer: 0x00007feae0107158 ***
  520. ======= Backtrace: =========
  521. /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7feadf601725]
  522. /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7feadf609f4a]
  523. /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7feadf60dabc]
  524. /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8)[0x7feadf5c3fe8]
  525. /lib/x86_64-linux-gnu/libc.so.6(+0x3a035)[0x7feadf5c4035]
  526. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7feadf5aa837]
  527. /opt/online/test/../loolwsd(_start+0x29)[0x42fab9]
  528. ======= Memory map: ========
  529. 00400000-00515000 r-xp 00000000 08:01 2768053 /opt/online/loolwsd
  530. 00715000-00716000 r--p 00115000 08:01 2768053 /opt/online/loolwsd
  531. 00716000-00718000 rw-p 00116000 08:01 2768053 /opt/online/loolwsd
  532. 00718000-0071b000 rw-p 00000000 00:00 0
  533. 0166e000-01739000 rw-p 00000000 00:00 0 [heap]
  534. 7feac4000000-7feac4021000 rw-p 00000000 00:00 0
  535. 7feac4021000-7feac8000000 ---p 00000000 00:00 0
  536. 7feacc000000-7feacc021000 rw-p 00000000 00:00 0
  537. 7feacc021000-7fead0000000 ---p 00000000 00:00 0
  538. 7fead0000000-7fead0021000 rw-p 00000000 00:00 0
  539. 7fead0021000-7fead4000000 ---p 00000000 00:00 0
  540. 7fead4000000-7fead4021000 rw-p 00000000 00:00 0
  541. 7fead4021000-7fead8000000 ---p 00000000 00:00 0
  542. 7fead9e9e000-7fead9eb5000 r-xp 00000000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  543. 7fead9eb5000-7feada0b5000 ---p 00017000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  544. 7feada0b5000-7feada0b6000 r--p 00017000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  545. 7feada0b6000-7feada0b7000 rw-p 00018000 08:01 397997 /lib/x86_64-linux-gnu/libresolv-2.23.so
  546. 7feada0b7000-7feada0b9000 rw-p 00000000 00:00 0
  547. 7feada0b9000-7feada0be000 r-xp 00000000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  548. 7feada0be000-7feada2be000 ---p 00005000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  549. 7feada2be000-7feada2bf000 r--p 00005000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  550. 7feada2bf000-7feada2c0000 rw-p 00006000 08:01 397942 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
  551. 7feada2c0000-7feada2c2000 r-xp 00000000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  552. 7feada2c2000-7feada4c1000 ---p 00002000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  553. 7feada4c1000-7feada4c2000 r--p 00001000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  554. 7feada4c2000-7feada4c3000 rw-p 00002000 08:01 397950 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
  555. 7feada4c3000-7feada4ce000 r-xp 00000000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  556. 7feada4ce000-7feada6cd000 ---p 0000b000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  557. 7feada6cd000-7feada6ce000 r--p 0000a000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  558. 7feada6ce000-7feada6cf000 rw-p 0000b000 08:01 397944 /lib/x86_64-linux-gnu/libnss_files-2.23.so
  559. 7feada6cf000-7feada6d5000 rw-p 00000000 00:00 0
  560. 7feada6d5000-7feada6d6000 ---p 00000000 00:00 0
  561. 7feada6d6000-7feadaed6000 rw-p 00000000 00:00 0
  562. 7feadaed6000-7feadaed7000 ---p 00000000 00:00 0
  563. 7feadaed7000-7feadb6d7000 rw-p 00000000 00:00 0
  564. 7feadb6d7000-7feadb6d8000 ---p 00000000 00:00 0
  565. 7feadb6d8000-7feadbed8000 rw-p 00000000 00:00 0
  566. 7feadbed8000-7feadbed9000 ---p 00000000 00:00 0
  567. 7feadbed9000-7feadc6d9000 rw-p 00000000 00:00 0
  568. 7feadc6d9000-7feadc6da000 ---p 00000000 00:00 0
  569. 7feadc6da000-7feadceda000 rw-p 00000000 00:00 0
  570. 7feadceda000-7feadd899000 r--p 00000000 08:01 925066 /usr/lib/locale/locale-archive
  571. 7feadd899000-7feadd89a000 ---p 00000000 00:00 0
  572. 7feadd89a000-7feade09a000 rw-p 00000000 00:00 0
  573. 7feade09a000-7feade282000 r-xp 00000000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  574. 7feade282000-7feade482000 ---p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  575. 7feade482000-7feade490000 r--p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  576. 7feade490000-7feade494000 rw-p 001f6000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  577. 7feade494000-7feade495000 rw-p 00000000 00:00 0
  578. 7feade495000-7feade5b7000 r-xp 00000000 08:01 920535 /usr/lib/libPocoNet.so.42
  579. 7feade5b7000-7feade7b7000 ---p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  580. 7feade7b7000-7feade7c1000 r--p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  581. 7feade7c1000-7feade7c4000 rw-p 0012c000 08:01 920535 /usr/lib/libPocoNet.so.42
  582. 7feade7c4000-7feade7c5000 rw-p 00000000 00:00 0
  583. 7feade7c5000-7feade7cb000 r-xp 00000000 08:01 2893050 /opt/online/test/.libs/unit-storage.so.0.0.0
  584. 7feade7cb000-7feade9ca000 ---p 00006000 08:01 2893050 /opt/online/test/.libs/unit-storage.so.0.0.0
  585. 7feade9ca000-7feade9cb000 r--p 00005000 08:01 2893050 /opt/online/test/.libs/unit-storage.so.0.0.0
  586. 7feade9cb000-7feade9cc000 rw-p 00006000 08:01 2893050 /opt/online/test/.libs/unit-storage.so.0.0.0
  587. 7feade9cc000-7feadebe6000 r-xp 00000000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  588. 7feadebe6000-7feadede5000 ---p 0021a000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  589. 7feadede5000-7feadee01000 r--p 00219000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  590. 7feadee01000-7feadee0d000 rw-p 00235000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  591. 7feadee0d000-7feadee10000 rw-p 00000000 00:00 0
  592. 7feadee10000-7feadee6e000 r-xp 00000000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  593. 7feadee6e000-7feadf06e000 ---p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  594. 7feadf06e000-7feadf072000 r--p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  595. 7feadf072000-7feadf079000 rw-p 00062000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  596. 7feadf079000-7feadf181000 r-xp 00000000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  597. 7feadf181000-7feadf380000 ---p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  598. 7feadf380000-7feadf381000 r--p 00107000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  599. 7feadf381000-7feadf382000 rw-p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  600. 7feadf382000-7feadf389000 r-xp 00000000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  601. 7feadf389000-7feadf588000 ---p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  602. 7feadf588000-7feadf589000 r--p 00006000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  603. 7feadf589000-7feadf58a000 rw-p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  604. 7feadf58a000-7feadf74a000 r-xp 00000000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  605. 7feadf74a000-7feadf949000 ---p 001c0000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  606. 7feadf949000-7feadf94d000 r--p 001bf000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  607. 7feadf94d000-7feadf94f000 rw-p 001c3000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  608. 7feadf94f000-7feadf953000 rw-p 00000000 00:00 0
  609. 7feadf953000-7feadf96b000 r-xp 00000000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  610. 7feadf96b000-7feadfb6a000 ---p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  611. 7feadfb6a000-7feadfb6b000 r--p 00017000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  612. 7feadfb6b000-7feadfb6c000 rw-p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  613. 7feadfb6c000-7feadfb70000 rw-p 00000000 00:00 0
  614. 7feadfb70000-7feadfb86000 r-xp 00000000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  615. 7feadfb86000-7feadfd85000 ---p 00016000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  616. 7feadfd85000-7feadfd86000 rw-p 00015000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  617. 7feadfd86000-7feadfef8000 r-xp 00000000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  618. 7feadfef8000-7feae00f8000 ---p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  619. 7feae00f8000-7feae0102000 r--p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  620. 7feae0102000-7feae0104000 rw-p 0017c000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  621. 7feae0104000-7feae0108000 rw-p 00000000 00:00 0
  622. 7feae0108000-7feae0129000 r-xp 00000000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  623. 7feae0129000-7feae0328000 ---p 00021000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  624. 7feae0328000-7feae032a000 r--p 00020000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  625. 7feae032a000-7feae032b000 rw-p 00022000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  626. 7feae032b000-7feae0375000 r-xp 00000000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  627. 7feae0375000-7feae0574000 ---p 0004a000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  628. 7feae0574000-7feae0576000 r--p 00049000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  629. 7feae0576000-7feae0577000 rw-p 0004b000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  630. 7feae0577000-7feae0578000 rw-p 00000000 00:00 0
  631. 7feae0578000-7feae060b000 r-xp 00000000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  632. 7feae060b000-7feae080b000 ---p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  633. 7feae080b000-7feae0811000 r--p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  634. 7feae0811000-7feae0813000 rw-p 00099000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  635. 7feae0813000-7feae0a00000 r-xp 00000000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  636. 7feae0a00000-7feae0c00000 ---p 001ed000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  637. 7feae0c00000-7feae0c0b000 r--p 001ed000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  638. 7feae0c0b000-7feae0c0f000 rw-p 001f8000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  639. 7feae0c0f000-7feae0c10000 rw-p 00000000 00:00 0
  640. 7feae0c10000-7feae0c63000 r-xp 00000000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  641. 7feae0c63000-7feae0e62000 ---p 00053000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  642. 7feae0e62000-7feae0e64000 r--p 00052000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  643. 7feae0e64000-7feae0e65000 rw-p 00054000 08:01 1064564 /usr/local/lib/libPocoJSON.so.47
  644. 7feae0e65000-7feae0ed8000 r-xp 00000000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  645. 7feae0ed8000-7feae10d7000 ---p 00073000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  646. 7feae10d7000-7feae10da000 r--p 00072000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  647. 7feae10da000-7feae10dc000 rw-p 00075000 08:01 1064565 /usr/local/lib/libPocoUtil.so.47
  648. 7feae10dc000-7feae11fc000 r-xp 00000000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  649. 7feae11fc000-7feae13fb000 ---p 00120000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  650. 7feae13fb000-7feae1403000 r--p 0011f000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  651. 7feae1403000-7feae1406000 rw-p 00127000 08:01 1064557 /usr/local/lib/libPocoNet.so.47
  652. 7feae1406000-7feae1408000 rw-p 00000000 00:00 0
  653. 7feae1408000-7feae140b000 r-xp 00000000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  654. 7feae140b000-7feae160a000 ---p 00003000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  655. 7feae160a000-7feae160b000 r--p 00002000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  656. 7feae160b000-7feae160c000 rw-p 00003000 08:01 397869 /lib/x86_64-linux-gnu/libdl-2.23.so
  657. 7feae160c000-7feae1632000 r-xp 00000000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  658. 7feae167e000-7feae167f000 ---p 00000000 00:00 0
  659. 7feae167f000-7feae16bf000 rw-p 00000000 00:00 0
  660. 7feae16bf000-7feae16c0000 ---p 00000000 00:00 0
  661. 7feae16c0000-7feae1700000 rw-p 00000000 00:00 0
  662. 7feae1700000-7feae1701000 ---p 00000000 00:00 0
  663. 7feae1701000-7feae1741000 rw-p 00000000 00:00 0
  664. 7feae1741000-7feae1742000 ---p 00000000 00:00 0
  665. 7feae1742000-7feae1782000 rw-p 00000000 00:00 0
  666. 7feae1782000-7feae1783000 ---p 00000000 00:00 0
  667. 7feae1783000-7feae17c3000 rw-p 00000000 00:00 0
  668. 7feae17c3000-7feae17c4000 ---p 00000000 00:00 0
  669. 7feae17c4000-7feae180f000 rw-p 00000000 00:00 0
  670. 7feae182e000-7feae1831000 rw-p 00000000 00:00 0
  671. 7feae1831000-7feae1832000 r--p 00025000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  672. 7feae1832000-7feae1833000 rw-p 00026000 08:01 397817 /lib/x86_64-linux-gnu/ld-2.23.so
  673. 7feae1833000-7feae1834000 rw-p 00000000 00:00 0
  674. 7ffd8b007000-7ffd8b028000 rw-p 00000000 00:00 0 [stack]
  675. 7ffd8b09f000-7ffd8b0a1000 r--p 00000000 00:00 0 [vvar]
  676. 7ffd8b0a1000-7ffd8b0a3000 r-xp 00000000 00:00 0 [vdso]
  677. ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
  678. ../test/run_unit.sh: line 121: 40655 Aborted (core dumped) ${valgrind} ${abs_top_builddir}/loolwsd --o:sys_template_path="$systemplate_path" --o:lo_template_path="$lo_path" --o:child_root_path="$jails_path" --o:storage.filesystem[@allow]=true --o:logging.level=trace --o:admin_console.username=admin --o:admin_console.password=admin --unitlib=".libs/$tst.so" > "$tst_log" 2>&1
  679. wsd-40655-40655 08:46:36.965710 [ loolwsd ] INF Initializing wsd. Local time: Fri 2017-02-24 00:46:36-0800. Log level is [8].| common/Log.cpp:171
  680. wsd-40655-40655 08:46:36.965912 [ loolwsd ] WRN SSL support: SSL is disabled.| wsd/LOOLWSD.cpp:1912
  681. wsd-40655-40655 08:46:36.966163 [ loolwsd ] INF Maximum concurrent open Documents limit: 10| wsd/LOOLWSD.cpp:1946
  682. wsd-40655-40655 08:46:36.966208 [ loolwsd ] INF Maximum concurrent client Connections limit: 20| wsd/LOOLWSD.cpp:1947
  683. wsd-40655-40655 08:46:36.966672 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-%.gz| wsd/LOOLWSD.cpp:1974
  684. wsd-40655-40655 08:46:36.966773 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:85
  685. wsd-40655-40655 08:46:36.966823 [ loolwsd ] INF Adding trusted WOPI host: [192.168.30.172].| wsd/Storage.cpp:85
  686. wsd-40655-40655 08:46:36.966856 [ loolwsd ] INF Adding trusted WOPI host: [10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  687. wsd-40655-40655 08:46:36.966889 [ loolwsd ] INF Adding trusted WOPI host: [172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  688. wsd-40655-40655 08:46:36.966930 [ loolwsd ] INF Adding trusted WOPI host: [172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  689. wsd-40655-40655 08:46:36.966961 [ loolwsd ] INF Adding trusted WOPI host: [172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  690. wsd-40655-40655 08:46:36.966991 [ loolwsd ] INF Adding trusted WOPI host: [192\.168\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:85
  691. wsd-40655-40655 08:46:36.967021 [ loolwsd ] INF Adding blocked WOPI host: [192\.168\.1\.1].| wsd/Storage.cpp:90
  692.  
  693. Launch this in your browser:
  694.  
  695. http://localhost:9980/loleaflet/450f834/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt
  696.  
  697.  
  698. Or for the Admin Console:
  699.  
  700. http://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html
  701.  
  702. wsd-40655-40655 08:46:36.967583 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2421
  703. wsd-40655-40655 08:46:36.968451 [ loolwsd ] FTL Could not create server socket: Net Exception: Address already in use: 0.0.0.0:9981| wsd/LOOLWSD.cpp:1648
  704. wsd-40655-40655 08:46:36.968520 [ loolwsd ] INF master port busy - trying 9982| wsd/LOOLWSD.cpp:1691
  705. wsd-40655-40655 08:46:36.968599 [ loolwsd ] INF Starting prisoner server listening on 9982| wsd/LOOLWSD.cpp:2468
  706. wsd-40655-40655 08:46:36.968664 [ loolwsd ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:2290
  707. wsd-40655-40655 08:46:36.968719 [ loolwsd ] INF AdminModel ctor.| wsd/AdminModel.hpp:143
  708. wsd-40655-40655 08:46:36.968815 [ loolwsd ] INF Admin ctor.| wsd/Admin.cpp:290
  709. wsd-40655-40655 08:46:36.986013 [ loolwsd ] TRC Total memory used: 6509| wsd/Admin.cpp:294
  710. wsd-40655-40655 08:46:36.986215 [ loolwsd ] DBG Memory stat ctor| wsd/Admin.hpp:127
  711. wsd-40655-40655 08:46:36.986307 [ loolwsd ] DBG Cpu stat ctor| wsd/Admin.hpp:150
  712. wsd-40655-40655 08:46:36.986365 [ loolwsd ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/online/test/../systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/test/../jails/ --clientport=9980 --masterport=9982| wsd/LOOLWSD.cpp:2334
  713. wsd-40655-40655 08:46:36.987235 [ loolwsd ] INF Forkit process launched: 40666| wsd/LOOLWSD.cpp:2345
  714. wsd-40655-40655 08:46:36.987338 [ loolwsd ] TRC Waiting for a new child for a max of 15000 ms.| wsd/LOOLWSD.cpp:443
  715. frk-40666-40666 08:46:37.039196 [ loolforkit ] INF Initializing frk. Local time: Fri 2017-02-24 00:46:37-0800. Log level is [8].| common/Log.cpp:171
  716. frk-40666-40666 08:46:37.039295 [ loolforkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
  717. frk-40666-40666 08:46:37.039333 [ loolforkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
  718. frk-40666-40666 08:46:37.039360 [ loolforkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
  719. frk-40666-40666 08:46:37.039565 [ loolforkit ] TRC dlopen(/opt/libreoffice/instdir/program/libsofficeapp.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:1903
  720. frk-40666-40666 08:46:37.298297 [ loolforkit ] TRC lok_preinit(/opt/libreoffice/instdir/program", "file:///user")| kit/Kit.cpp:1932
  721. frk-40666-40666 08:46:39.276981 [ loolforkit ] INF Preinit stage OK.| kit/ForKit.cpp:453
  722. frk-40666-40666 08:46:39.277251 [ loolforkit ] DBG Forking a loolkit process.| kit/ForKit.cpp:224
  723. frk-40666-40666 08:46:39.283670 [ loolforkit ] INF Forked kit [40668].| kit/ForKit.cpp:265
  724. frk-40666-40666 08:46:39.283912 [ loolforkit ] INF ForKit process is ready.| kit/ForKit.cpp:465
  725. kit-40668-40668 08:46:39.284731 [ loolkit ] INF Initializing kit. Local time: Fri 2017-02-24 00:46:39-0800. Log level is [8].| common/Log.cpp:171
  726. kit-40668-40668 08:46:39.284873 [ loolkit ] DBG Process started.| kit/Kit.cpp:1586
  727. kit-40668-40668 08:46:39.285072 [ loolkit ] INF Jail path: /opt/online/jails/40668/| kit/Kit.cpp:1600
  728. kit-40668-40668 08:46:39.285422 [ loolkit ] DBG symlink("../../lo","/opt/online/jails/40668/opt/libreoffice/instdir")| kit/Kit.cpp:267
  729. kit-40668-40668 08:46:39.823276 [ loolkit ] TRC skip redundant paths program/wizards| kit/Kit.cpp:177
  730. kit-40668-40668 08:46:39.823918 [ loolkit ] TRC skip redundant paths sdk| kit/Kit.cpp:177
  731. kit-40668-40668 08:46:39.844103 [ loolkit ] TRC skip redundant paths share/template| kit/Kit.cpp:177
  732. kit-40668-40668 08:46:39.879458 [ loolkit ] TRC skip redundant paths share/config/wizard| kit/Kit.cpp:177
  733. kit-40668-40668 08:46:40.217479 [ loolkit ] TRC skip redundant paths share/basic| kit/Kit.cpp:177
  734. kit-40668-40668 08:46:40.217975 [ loolkit ] TRC skip redundant paths share/gallery| kit/Kit.cpp:177
  735. kit-40668-40668 08:46:40.223742 [ loolkit ] TRC skip redundant paths share/Scripts| kit/Kit.cpp:177
  736. kit-40668-40668 08:46:40.234272 [ loolkit ] DBG Initialized jail files.| kit/Kit.cpp:1657
  737. kit-40668-40668 08:46:40.234929 [ loolkit ] INF chroot("/opt/online/jails/40668/")| kit/Kit.cpp:1681
  738. kit-40668-40668 08:46:40.235039 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+ep| kit/Kit.cpp:233
  739. kit-40668-40668 08:46:40.235073 [ loolkit ] TRC Capabilities now: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:250
  740. kit-40668-40668 08:46:40.235094 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:233
  741. kit-40668-40668 08:46:40.235114 [ loolkit ] TRC Capabilities now: = cap_fowner+ep| kit/Kit.cpp:250
  742. kit-40668-40668 08:46:40.235141 [ loolkit ] TRC Capabilities first: = cap_fowner+ep| kit/Kit.cpp:233
  743. kit-40668-40668 08:46:40.235201 [ loolkit ] TRC Capabilities now: =| kit/Kit.cpp:250
  744. kit-40668-40668 08:46:40.235241 [ loolkit ] DBG Initialized jail nodes, dropped caps.| kit/Kit.cpp:1698
  745. kit-40668-40668 08:46:40.380736 [ loolkit ] INF Process is ready.| kit/Kit.cpp:1733
  746. wsd-40655-40657 08:46:40.418356 [ prsnr_req_hdl ] INF Request from 127.0.0.1:36382: GET /loolws/newchild?pid=40668&version=%7B%20%22ProductName%22:%20%22LibreOfficeDev%22,%20%22ProductVersion%22:%20%225.4%22,%20%22ProductExtension%22:%20%22.0.0.alpha0%22,%20%22BuildId%22:%20%22f1af784134b17458b4ca24891d27926feabc67e3%22%20%7D HTTP/1.0 / Connection: Upgrade / Upgrade: websocket / Sec-WebSocket-Version: 13 / Sec-WebSocket-Key: aw6HBG6KvDumBYpaDy5Zcg== / Host: 127.0.0.1:9982
  747. wsd-40655-40657 08:46:40.418471 [ prsnr_req_hdl ] TRC Child connection with URI [/loolws/newchild?pid=40668&version=%7B%20%22ProductName%22:%20%22LibreOfficeDev%22,%20%22ProductVersion%22:%20%225.4%22,%20%22ProductExtension%22:%20%22.0.0.alpha0%22,%20%22BuildId%22:%20%22f1af784134b17458b4ca24891d27926feabc67e3%22%20%7D].| wsd/LOOLWSD.cpp:1475
  748. wsd-40655-40657 08:46:40.418578 [ prsnr_req_hdl ] INF New child [40668].| wsd/LOOLWSD.cpp:1504
  749. wsd-40655-40657 08:46:40.418881 [ prsnr_req_hdl ] INF Send buffer size for web socket set to minimum: 4608| ./wsd/LOOLWebSocket.hpp:58
  750. wsd-40655-40657 08:46:40.419173 [ prsnr_req_hdl ] INF ChildProcess ctor [40668].| wsd/DocumentBroker.hpp:53
  751. wsd-40655-40657 08:46:40.419243 [ prsnr_req_hdl ] INF Have 1 spare child after adding [40668].| wsd/LOOLWSD.cpp:494
  752. wsd-40655-40655 08:46:40.419352 [ loolwsd ] TRC Waiting for a new child for a max of 15000 ms.| wsd/LOOLWSD.cpp:450
  753. wsd-40655-40655 08:46:40.419497 [ loolwsd ] INF Starting master server listening on 9980| wsd/LOOLWSD.cpp:2491
  754. kit-40668-40668 08:46:40.420708 [ loolkit ] INF Send buffer size for web socket set to minimum: 4608| ./wsd/LOOLWebSocket.hpp:58
  755. kit-40668-40668 08:46:40.420835 [ loolkit ] INF SocketProcessor [child_ws_40668] starting.| common/IoUtil.cpp:49
  756. wsd-40655-40672 08:46:40.421810 [ docbrk_ws_40668 ] INF SocketProcessor [docbrk_ws_40668] starting.| common/IoUtil.cpp:49
  757. Test file: /tmp/cb6f2eca_empty.odt
  758. Exception creating websocket No address found:
  759. No address found:
  760. wsd-40655-40655 08:46:41.674655 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:306
  761. wsd-40655-40665 08:46:41.674802 [ loolwsd ] DBG Cpu stat dtor| wsd/Admin.hpp:155
  762. wsd-40655-40664 08:46:41.674952 [ loolwsd ] DBG Memory stat dtor| wsd/Admin.hpp:132
  763. wsd-40655-40655 08:46:41.675026 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:148
  764. wsd-40655-40655 08:46:41.686692 [ loolwsd ] SIG Fatal signal received: SIGABRT
  765. Backtrace 40655:
  766. /opt/online/test/../loolwsd() [0x4e897b]
  767. /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7feadf9643d0]
  768. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7feadf5bf418]
  769. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7feadf5c101a]
  770. /lib/x86_64-linux-gnu/libc.so.6(+0x7772a) [0x7feadf60172a]
  771. /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a) [0x7feadf609f4a]
  772. /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7feadf60dabc]
  773. /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8) [0x7feadf5c3fe8]
  774. /lib/x86_64-linux-gnu/libc.so.6(+0x3a035) [0x7feadf5c4035]
  775. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0x7feadf5aa837]
  776. /opt/online/test/../loolwsd(_start+0x29) [0x42fab9]
  777. kit-40668-40668 08:46:42.695608 [ loolkit ] TRC Got nothing (0)| ./wsd/LOOLWebSocket.hpp:122
  778. kit-40668-40668 08:46:42.695717 [ loolkit ] WRN SocketProcessor [child_ws_40668]: Connection closed.| common/IoUtil.cpp:103
  779. kit-40668-40668 08:46:42.695745 [ loolkit ] INF SocketProcessor [child_ws_40668] finished. stop: false, n: 0, payload size: 0, flags: 0| common/IoUtil.cpp:cb
  780. kit-40668-40668 08:46:42.696087 [ loolkit ] INF Process finished.| kit/Kit.cpp:1870
  781. frk-40666-40666 08:46:42.701066 [ loolforkit ] FTL Pipe closed.| common/IoUtil.cpp:329
  782. frk-40666-40666 08:46:42.701204 [ loolforkit ] INF Child dispatcher flagged for termination.| kit/ForKit.cpp:473
  783. frk-40666-40666 08:46:42.701236 [ loolforkit ] INF ForKit process finished.| kit/ForKit.cpp:488
  784. =============================================================
  785. Test failed on unit: unit-storage re-run with:
  786. $ gdb --args /opt/online/test/../loolwsd --o:sys_template_path="/opt/online/test/../systemplate" \
  787. --o:lo_template_path="/opt/libreoffice/instdir" \
  788. --o:child_root_path="/opt/online/test/../jails" \
  789. --o:storage.filesystem[@allow]=true \
  790. --o:admin_console.username=admin --o:admin_console.password=admin \
  791. --unitlib=".libs/unit-storage.so"
  792. =============================================================
  793.  
  794. Running unit-timeout.la
  795. ../test/run_unit.sh --test-name unit-timeout.la --log-file unit-timeout.log --trs-file unit-timeout.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./unit-timeout.la
  796. Test output is 'unit-timeout.trs'
  797. Running unit-timeout | unit-timeout.log ...
  798. *** Error in `/opt/online/test/../loolwsd': free(): invalid pointer: 0x00007fd9986b0158 ***
  799. ======= Backtrace: =========
  800. /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7fd997baa725]
  801. /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7fd997bb2f4a]
  802. /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd997bb6abc]
  803. /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8)[0x7fd997b6cfe8]
  804. /lib/x86_64-linux-gnu/libc.so.6(+0x3a035)[0x7fd997b6d035]
  805. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7fd997b53837]
  806. /opt/online/test/../loolwsd(_start+0x29)[0x42fab9]
  807. ======= Memory map: ========
  808. 00400000-00515000 r-xp 00000000 08:01 2768053 /opt/online/loolwsd
  809. 00715000-00716000 r--p 00115000 08:01 2768053 /opt/online/loolwsd
  810. 00716000-00718000 rw-p 00116000 08:01 2768053 /opt/online/loolwsd
  811. 00718000-0071b000 rw-p 00000000 00:00 0
  812. 0137d000-01449000 rw-p 00000000 00:00 0 [heap]
  813. 7fd978000000-7fd978021000 rw-p 00000000 00:00 0
  814. 7fd978021000-7fd97c000000 ---p 00000000 00:00 0
  815. 7fd980000000-7fd980021000 rw-p 00000000 00:00 0
  816. 7fd980021000-7fd984000000 ---p 00000000 00:00 0
  817. 7fd984000000-7fd984021000 rw-p 00000000 00:00 0
  818. 7fd984021000-7fd988000000 ---p 00000000 00:00 0
  819. 7fd988000000-7fd988021000 rw-p 00000000 00:00 0
  820. 7fd988021000-7fd98c000000 ---p 00000000 00:00 0
  821. 7fd98effe000-7fd98efff000 ---p 00000000 00:00 0
  822. 7fd98efff000-7fd98f7ff000 rw-p 00000000 00:00 0
  823. 7fd98f7ff000-7fd98f800000 ---p 00000000 00:00 0
  824. 7fd98f800000-7fd990000000 rw-p 00000000 00:00 0
  825. 7fd990000000-7fd990021000 rw-p 00000000 00:00 0
  826. 7fd990021000-7fd994000000 ---p 00000000 00:00 0
  827. 7fd994483000-7fd994484000 ---p 00000000 00:00 0
  828. 7fd994484000-7fd994c84000 rw-p 00000000 00:00 0
  829. 7fd994c84000-7fd994c85000 ---p 00000000 00:00 0
  830. 7fd994c85000-7fd995485000 rw-p 00000000 00:00 0
  831. 7fd995485000-7fd995e44000 r--p 00000000 08:01 925066 /usr/lib/locale/locale-archive
  832. 7fd995e44000-7fd995e45000 ---p 00000000 00:00 0
  833. 7fd995e45000-7fd996645000 rw-p 00000000 00:00 0
  834. 7fd996645000-7fd99682d000 r-xp 00000000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  835. 7fd99682d000-7fd996a2d000 ---p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  836. 7fd996a2d000-7fd996a3b000 r--p 001e8000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  837. 7fd996a3b000-7fd996a3f000 rw-p 001f6000 08:01 920530 /usr/lib/libPocoFoundation.so.42
  838. 7fd996a3f000-7fd996a40000 rw-p 00000000 00:00 0
  839. 7fd996a40000-7fd996b62000 r-xp 00000000 08:01 920535 /usr/lib/libPocoNet.so.42
  840. 7fd996b62000-7fd996d62000 ---p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  841. 7fd996d62000-7fd996d6c000 r--p 00122000 08:01 920535 /usr/lib/libPocoNet.so.42
  842. 7fd996d6c000-7fd996d6f000 rw-p 0012c000 08:01 920535 /usr/lib/libPocoNet.so.42
  843. 7fd996d6f000-7fd996d70000 rw-p 00000000 00:00 0
  844. 7fd996d70000-7fd996d73000 r-xp 00000000 08:01 2893052 /opt/online/test/.libs/unit-timeout.so.0.0.0
  845. 7fd996d73000-7fd996f73000 ---p 00003000 08:01 2893052 /opt/online/test/.libs/unit-timeout.so.0.0.0
  846. 7fd996f73000-7fd996f74000 r--p 00003000 08:01 2893052 /opt/online/test/.libs/unit-timeout.so.0.0.0
  847. 7fd996f74000-7fd996f75000 rw-p 00004000 08:01 2893052 /opt/online/test/.libs/unit-timeout.so.0.0.0
  848. 7fd996f75000-7fd99718f000 r-xp 00000000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  849. 7fd99718f000-7fd99738e000 ---p 0021a000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  850. 7fd99738e000-7fd9973aa000 r--p 00219000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  851. 7fd9973aa000-7fd9973b6000 rw-p 00235000 08:01 393306 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  852. 7fd9973b6000-7fd9973b9000 rw-p 00000000 00:00 0
  853. 7fd9973b9000-7fd997417000 r-xp 00000000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  854. 7fd997417000-7fd997617000 ---p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  855. 7fd997617000-7fd99761b000 r--p 0005e000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  856. 7fd99761b000-7fd997622000 rw-p 00062000 08:01 393307 /lib/x86_64-linux-gnu/libssl.so.1.0.0
  857. 7fd997622000-7fd99772a000 r-xp 00000000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  858. 7fd99772a000-7fd997929000 ---p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  859. 7fd997929000-7fd99792a000 r--p 00107000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  860. 7fd99792a000-7fd99792b000 rw-p 00108000 08:01 397915 /lib/x86_64-linux-gnu/libm-2.23.so
  861. 7fd99792b000-7fd997932000 r-xp 00000000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  862. 7fd997932000-7fd997b31000 ---p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  863. 7fd997b31000-7fd997b32000 r--p 00006000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  864. 7fd997b32000-7fd997b33000 rw-p 00007000 08:01 397999 /lib/x86_64-linux-gnu/librt-2.23.so
  865. 7fd997b33000-7fd997cf3000 r-xp 00000000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  866. 7fd997cf3000-7fd997ef2000 ---p 001c0000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  867. 7fd997ef2000-7fd997ef6000 r--p 001bf000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  868. 7fd997ef6000-7fd997ef8000 rw-p 001c3000 08:01 397845 /lib/x86_64-linux-gnu/libc-2.23.so
  869. 7fd997ef8000-7fd997efc000 rw-p 00000000 00:00 0
  870. 7fd997efc000-7fd997f14000 r-xp 00000000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  871. 7fd997f14000-7fd998113000 ---p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  872. 7fd998113000-7fd998114000 r--p 00017000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  873. 7fd998114000-7fd998115000 rw-p 00018000 08:01 397991 /lib/x86_64-linux-gnu/libpthread-2.23.so
  874. 7fd998115000-7fd998119000 rw-p 00000000 00:00 0
  875. 7fd998119000-7fd99812f000 r-xp 00000000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  876. 7fd99812f000-7fd99832e000 ---p 00016000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  877. 7fd99832e000-7fd99832f000 rw-p 00015000 08:01 397883 /lib/x86_64-linux-gnu/libgcc_s.so.1
  878. 7fd99832f000-7fd9984a1000 r-xp 00000000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  879. 7fd9984a1000-7fd9986a1000 ---p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  880. 7fd9986a1000-7fd9986ab000 r--p 00172000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  881. 7fd9986ab000-7fd9986ad000 rw-p 0017c000 08:01 919549 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
  882. 7fd9986ad000-7fd9986b1000 rw-p 00000000 00:00 0
  883. 7fd9986b1000-7fd9986d2000 r-xp 00000000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  884. 7fd9986d2000-7fd9988d1000 ---p 00021000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  885. 7fd9988d1000-7fd9988d3000 r--p 00020000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  886. 7fd9988d3000-7fd9988d4000 rw-p 00022000 08:01 1064556 /usr/local/lib/libPocoCrypto.so.47
  887. 7fd9988d4000-7fd99891e000 r-xp 00000000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  888. 7fd99891e000-7fd998b1d000 ---p 0004a000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  889. 7fd998b1d000-7fd998b1f000 r--p 00049000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  890. 7fd998b1f000-7fd998b20000 rw-p 0004b000 08:01 1064558 /usr/local/lib/libPocoNetSSL.so.47
  891. 7fd998b20000-7fd998b21000 rw-p 00000000 00:00 0
  892. 7fd998b21000-7fd998bb4000 r-xp 00000000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  893. 7fd998bb4000-7fd998db4000 ---p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  894. 7fd998db4000-7fd998dba000 r--p 00093000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  895. 7fd998dba000-7fd998dbc000 rw-p 00099000 08:01 1064551 /usr/local/lib/libPocoXML.so.47
  896. 7fd998dbc000-7fd998fa9000 r-xp 00000000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  897. 7fd998fa9000-7fd9991a9000 ---p 001ed000 08:01 1064552 /usr/local/lib/libPocoFoundation.so.47
  898. 7fd9991a9000-7fd9991b4000 r--
Add Comment
Please, Sign In to add comment