Subject Re: UDF and server crashes on linux
Author Michal Kurczabinski
Maybe it will be usefull:


ProblemType: Crash
Architecture: amd64
Date: Tue May 2 23:55:26 2017
DistroRelease: Ubuntu 14.04
ExecutablePath: /opt/firebird-debug/bin/.debug/firebird.debug
ExecutableTimestamp: 1490087772
ProcCmdline: /opt/firebird-debug/bin/.debug/firebird.debug
ProcCwd: /tmp
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=pl_PL.UTF-8
XDG_RUNTIME_DIR=<set>
ProcMaps:
00400000-004b8000 r-xp 00000000 fc:00 47583
/opt/firebird-debug/bin/.debug/firebird.debug
006b8000-006be000 rw-p 000b8000 fc:00 47583
/opt/firebird-debug/bin/.debug/firebird.debug
006be000-006c3000 rw-p 00000000 00:00 0
00e0e000-00e63000 rw-p 00000000 00:00 0 [heap]
2ba1de7d6000-2ba1de7d8000 rw-p 00000000 00:00 0
2ba1de7d8000-2ba1de7fb000 r-xp 00000000 fc:00 46567
/lib/x86_64-linux-gnu/ld-2.19.so
2ba1de7fb000-2ba1de800000 rw-p 00000000 00:00 0
2ba1de800000-2ba1de802000 rw-s 00000000 08:06 1441797
/srv/oracle/fb/tmp/fb12_trace
2ba1de808000-2ba1de809000 rw-s 00000000 08:06 1441797
/srv/oracle/fb/tmp/fb12_trace
2ba1de80b000-2ba1de84e000 rw-p 00000000 00:00 0
2ba1de850000-2ba1de857000 r--s 00000000 fc:00 6233
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
2ba1de857000-2ba1de8c7000 rw-p 00000000 00:00 0
2ba1de8c8000-2ba1de8c9000 rw-s 00000000 08:06 1441832
/srv/oracle/fb/tmp/fb_lock_00fc000000000000987a000000000000
2ba1de8cb000-2ba1de8cc000 rw-s 00013000 08:06 1441832
/srv/oracle/fb/tmp/fb_lock_00fc000000000000987a000000000000
2ba1de8cc000-2ba1de9a3000 rw-p 00000000 00:00 0
2ba1de9a8000-2ba1de9a9000 rw-s 00000000 08:06 1441833
/srv/oracle/fb/tmp/fb12_monitor_00fc000000000000987a000000000000
2ba1de9a9000-2ba1de9c9000 rw-p 00000000 00:00 0
2ba1de9cc000-2ba1de9ec000 rw-p 00000000 00:00 0
2ba1de9f8000-2ba1de9f9000 rw-s 00000000 08:06 1441831
/srv/oracle/fb/tmp/fb_user_mapping
2ba1de9fa000-2ba1de9fb000 r--p 00022000 fc:00 46567
/lib/x86_64-linux-gnu/ld-2.19.so
2ba1de9fb000-2ba1de9fc000 rw-p 00023000 fc:00 46567
/lib/x86_64-linux-gnu/ld-2.19.so
2ba1de9fc000-2ba1de9fd000 rw-p 00000000 00:00 0
2ba1dea00000-2ba1deba0000 r-xp 00000000 fc:00 31479
/opt/firebird/lib/libfbclient.so.3.0.2
2ba1deba0000-2ba1deda0000 ---p 001a0000 fc:00 31479
/opt/firebird/lib/libfbclient.so.3.0.2
2ba1deda0000-2ba1dedbd000 rw-p 001a0000 fc:00 31479
/opt/firebird/lib/libfbclient.so.3.0.2
2ba1dedbd000-2ba1dedcb000 rw-p 00000000 00:00 0
2ba1dedd0000-2ba1dedeb000 r-xp 00000000 fc:00 31328
/usr/lib/libtommath.so.0.0.42
2ba1dedeb000-2ba1defea000 ---p 0001b000 fc:00 31328
/usr/lib/libtommath.so.0.0.42
2ba1defea000-2ba1defeb000 r--p 0001a000 fc:00 31328
/usr/lib/libtommath.so.0.0.42
2ba1defeb000-2ba1defec000 rw-p 0001b000 fc:00 31328
/usr/lib/libtommath.so.0.0.42
2ba1deff0000-2ba1deff7000 r-xp 00000000 fc:00 46550
/lib/x86_64-linux-gnu/librt-2.19.so
2ba1deff7000-2ba1df1f6000 ---p 00007000 fc:00 46550
/lib/x86_64-linux-gnu/librt-2.19.so
2ba1df1f6000-2ba1df1f7000 r--p 00006000 fc:00 46550
/lib/x86_64-linux-gnu/librt-2.19.so
2ba1df1f7000-2ba1df1f8000 rw-p 00007000 fc:00 46550
/lib/x86_64-linux-gnu/librt-2.19.so
2ba1df1f8000-2ba1df1fb000 r-xp 00000000 fc:00 46569
/lib/x86_64-linux-gnu/libdl-2.19.so
2ba1df1fb000-2ba1df3fa000 ---p 00003000 fc:00 46569
/lib/x86_64-linux-gnu/libdl-2.19.so
2ba1df3fa000-2ba1df3fb000 r--p 00002000 fc:00 46569
/lib/x86_64-linux-gnu/libdl-2.19.so
2ba1df3fb000-2ba1df3fc000 rw-p 00003000 fc:00 46569
/lib/x86_64-linux-gnu/libdl-2.19.so
2ba1df400000-2ba1df422000 r-xp 00000000 fc:00 315
/lib/x86_64-linux-gnu/libncurses.so.5.9
2ba1df422000-2ba1df621000 ---p 00022000 fc:00 315
/lib/x86_64-linux-gnu/libncurses.so.5.9
2ba1df621000-2ba1df622000 r--p 00021000 fc:00 315
/lib/x86_64-linux-gnu/libncurses.so.5.9
2ba1df622000-2ba1df623000 rw-p 00022000 fc:00 315
/lib/x86_64-linux-gnu/libncurses.so.5.9
2ba1df628000-2ba1df72e000 r-xp 00000000 fc:00 4759
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
2ba1df72e000-2ba1df92d000 ---p 00106000 fc:00 4759
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
2ba1df92d000-2ba1df935000 r--p 00105000 fc:00 4759
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
2ba1df935000-2ba1df937000 rw-p 0010d000 fc:00 4759
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
2ba1df937000-2ba1df93a000 rw-p 00000000 00:00 0
2ba1df940000-2ba1dfa45000 r-xp 00000000 fc:00 46563
/lib/x86_64-linux-gnu/libm-2.19.so
2ba1dfa45000-2ba1dfc44000 ---p 00105000 fc:00 46563
/lib/x86_64-linux-gnu/libm-2.19.so
2ba1dfc44000-2ba1dfc45000 r--p 00104000 fc:00 46563
/lib/x86_64-linux-gnu/libm-2.19.so
2ba1dfc45000-2ba1dfc46000 rw-p 00105000 fc:00 46563
/lib/x86_64-linux-gnu/libm-2.19.so
2ba1dfc48000-2ba1dfc5e000 r-xp 00000000 fc:00 40983
/lib/x86_64-linux-gnu/libgcc_s.so.1
2ba1dfc5e000-2ba1dfe5d000 ---p 00016000 fc:00 40983
/lib/x86_64-linux-gnu/libgcc_s.so.1
2ba1dfe5d000-2ba1dfe5e000 r--p 00015000 fc:00 40983
/lib/x86_64-linux-gnu/libgcc_s.so.1
2ba1dfe5e000-2ba1dfe5f000 rw-p 00016000 fc:00 40983
/lib/x86_64-linux-gnu/libgcc_s.so.1
2ba1dfe60000-2ba1dfe79000 r-xp 00000000 fc:00 46570
/lib/x86_64-linux-gnu/libpthread-2.19.so
2ba1dfe79000-2ba1e0078000 ---p 00019000 fc:00 46570
/lib/x86_64-linux-gnu/libpthread-2.19.so
2ba1e0078000-2ba1e0079000 r--p 00018000 fc:00 46570
/lib/x86_64-linux-gnu/libpthread-2.19.so
2ba1e0079000-2ba1e007a000 rw-p 00019000 fc:00 46570
/lib/x86_64-linux-gnu/libpthread-2.19.so
2ba1e007a000-2ba1e007e000 rw-p 00000000 00:00 0
2ba1e0080000-2ba1e023e000 r-xp 00000000 fc:00 46559
/lib/x86_64-linux-gnu/libc-2.19.so
2ba1e023e000-2ba1e043d000 ---p 001be000 fc:00 46559
/lib/x86_64-linux-gnu/libc-2.19.so
2ba1e043d000-2ba1e0441000 r--p 001bd000 fc:00 46559
/lib/x86_64-linux-gnu/libc-2.19.so
2ba1e0441000-2ba1e0443000 rw-p 001c1000 fc:00 46559
/lib/x86_64-linux-gnu/libc-2.19.so
2ba1e0443000-2ba1e0448000 rw-p 00000000 00:00 0
2ba1e0448000-2ba1e046d000 r-xp 00000000 fc:00 379
/lib/x86_64-linux-gnu/libtinfo.so.5.9
2ba1e046d000-2ba1e066c000 ---p 00025000 fc:00 379
/lib/x86_64-linux-gnu/libtinfo.so.5.9
2ba1e066c000-2ba1e0670000 r--p 00024000 fc:00 379
/lib/x86_64-linux-gnu/libtinfo.so.5.9
2ba1e0670000-2ba1e0671000 rw-p 00028000 fc:00 379
/lib/x86_64-linux-gnu/libtinfo.so.5.9
2ba1e0678000-2ba1e0a71000 r--p 00000000 fc:00 8453
/usr/lib/locale/locale-archive
2ba1e0a78000-2ba1e0a82000 r-xp 00000000 fc:00 46568
/lib/x86_64-linux-gnu/libnss_files-2.19.so
2ba1e0a82000-2ba1e0c81000 ---p 0000a000 fc:00 46568
/lib/x86_64-linux-gnu/libnss_files-2.19.so
2ba1e0c81000-2ba1e0c82000 r--p 00009000 fc:00 46568
/lib/x86_64-linux-gnu/libnss_files-2.19.so
2ba1e0c82000-2ba1e0c83000 rw-p 0000a000 fc:00 46568
/lib/x86_64-linux-gnu/libnss_files-2.19.so
2ba1e0c83000-2ba1e0c84000 ---p 00000000 00:00 0
2ba1e0c84000-2ba1e0e84000 rw-p 00000000 00:00 0
[stack:31029]
2ba1e0e84000-2ba1e0e85000 ---p 00000000 00:00 0
2ba1e0e85000-2ba1e1085000 rw-p 00000000 00:00 0
[stack:31030]
2ba1e1088000-2ba1e1730000 r-xp 00000000 fc:00 36482
/opt/firebird/plugins/libEngine12.so
2ba1e1730000-2ba1e192f000 ---p 006a8000 fc:00 36482
/opt/firebird/plugins/libEngine12.so
2ba1e192f000-2ba1e197f000 rw-p 006a7000 fc:00 36482
/opt/firebird/plugins/libEngine12.so
2ba1e197f000-2ba1e198c000 rw-p 00000000 00:00 0
2ba1e1990000-2ba1e1999000 r-xp 00000000 fc:00 46560
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
2ba1e1999000-2ba1e1b98000 ---p 00009000 fc:00 46560
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
2ba1e1b98000-2ba1e1b99000 r--p 00008000 fc:00 46560
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
2ba1e1b99000-2ba1e1b9a000 rw-p 00009000 fc:00 46560
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
2ba1e1ba0000-2ba1e1bb7000 r-xp 00000000 fc:00 46562
/lib/x86_64-linux-gnu/libnsl-2.19.so
2ba1e1bb7000-2ba1e1db6000 ---p 00017000 fc:00 46562
/lib/x86_64-linux-gnu/libnsl-2.19.so
2ba1e1db6000-2ba1e1db7000 r--p 00016000 fc:00 46562
/lib/x86_64-linux-gnu/libnsl-2.19.so
2ba1e1db7000-2ba1e1db8000 rw-p 00017000 fc:00 46562
/lib/x86_64-linux-gnu/libnsl-2.19.so
2ba1e1db8000-2ba1e1dba000 rw-p 00000000 00:00 0
2ba1e1dc0000-2ba1e1dcb000 r-xp 00000000 fc:00 46553
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
2ba1e1dcb000-2ba1e1fca000 ---p 0000b000 fc:00 46553
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
2ba1e1fca000-2ba1e1fcb000 r--p 0000a000 fc:00 46553
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
2ba1e1fcb000-2ba1e1fcc000 rw-p 0000b000 fc:00 46553
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
2ba1e1fd0000-2ba1e1fd1000 r-xp 00000000 fc:00 31476
/opt/firebird/lib/libib_util.so
2ba1e1fd1000-2ba1e21d0000 ---p 00001000 fc:00 31476
/opt/firebird/lib/libib_util.so
2ba1e21d0000-2ba1e21d1000 rw-p 00000000 fc:00 31476
/opt/firebird/lib/libib_util.so
2ba1e21d8000-2ba1e22c0000 r-xp 00000000 fc:00 36552
/opt/firebird/intl/fbintl
2ba1e22c0000-2ba1e24bf000 ---p 000e8000 fc:00 36552
/opt/firebird/intl/fbintl
2ba1e24bf000-2ba1e24c2000 rw-p 000e7000 fc:00 36552
/opt/firebird/intl/fbintl
2ba1e24c2000-2ba1e24c3000 rw-p 00000000 00:00 0
2ba1e24c8000-2ba1e255b000 r-xp 00000000 fc:00 36483
/opt/firebird/plugins/libfbtrace.so
2ba1e255b000-2ba1e275a000 ---p 00093000 fc:00 36483
/opt/firebird/plugins/libfbtrace.so
2ba1e275a000-2ba1e2763000 rw-p 00092000 fc:00 36483
/opt/firebird/plugins/libfbtrace.so
2ba1e2763000-2ba1e27e5000 rw-p 00000000 00:00 0
2ba1e27eb000-2ba1e282b000 rw-p 00000000 00:00 0
2ba1e2830000-2ba1e2831000 rw-s 00000000 08:06 1441851
/srv/oracle/fb/tmp/fb_lock_06080000000000000b00160000000000
2ba1e2833000-2ba1e2834000 rw-s 00013000 08:06 1441851
/srv/oracle/fb/tmp/fb_lock_06080000000000000b00160000000000
2ba1e2838000-2ba1e2839000 rw-s 00000000 08:06 1441852
/srv/oracle/fb/tmp/fb12_monitor_06080000000000000b00160000000000
2ba1e2840000-2ba1e29a4000 r-xp 00000000 fc:00 21232
/usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
2ba1e29a4000-2ba1e2ba3000 ---p 00164000 fc:00 21232
/usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
2ba1e2ba3000-2ba1e2bb4000 r--p 00163000 fc:00 21232
/usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
2ba1e2bb4000-2ba1e2bb5000 rw-p 00174000 fc:00 21232
/usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
2ba1e2bb5000-2ba1e2bb9000 rw-p 00000000 00:00 0
2ba1e2bc0000-2ba1e422c000 r-xp 00000000 fc:00 21228
/usr/lib/x86_64-linux-gnu/libicudata.so.52.1
2ba1e422c000-2ba1e442b000 ---p 0166c000 fc:00 21228
/usr/lib/x86_64-linux-gnu/libicudata.so.52.1
2ba1e442b000-2ba1e442c000 r--p 0166b000 fc:00 21228
/usr/lib/x86_64-linux-gnu/libicudata.so.52.1
2ba1e442c000-2ba1e442d000 rw-p 0166c000 fc:00 21228
/usr/lib/x86_64-linux-gnu/libicudata.so.52.1
2ba1e442d000-2ba1e442e000 ---p 00000000 00:00 0
2ba1e442e000-2ba1e477e000 rw-p 00000000 00:00 0
[stack:31041]
2ba1e4780000-2ba1e47f0000 rw-p 00000000 00:00 0
2ba1e47f1000-2ba1e47f2000 ---p 00000000 00:00 0
2ba1e47f2000-2ba1e4aa2000 rw-p 00000000 00:00 0
[stack:31033]
2ba1e4aa8000-2ba1e4ba8000 rw-s 00000000 08:06 1441831
/srv/oracle/fb/tmp/fb_user_mapping
2ba1e4ba8000-2ba1e4ba9000 ---p 00000000 00:00 0
2ba1e4ba9000-2ba1e4da9000 rw-p 00000000 00:00 0
[stack:31034]
2ba1e4db0000-2ba1e4eb0000 rw-s 00000000 08:06 1441851
/srv/oracle/fb/tmp/fb_lock_06080000000000000b00160000000000
2ba1e4eb0000-2ba1e7ff9000 rw-p 00000000 00:00 0
2ba1e8000000-2ba1e8021000 rw-p 00000000 00:00 0
2ba1e8021000-2ba1ec000000 ---p 00000000 00:00 0
2ba1ec000000-2ba1ec021000 rw-p 00000000 00:00 0
2ba1ec021000-2ba1f0000000 ---p 00000000 00:00 0
2ba1f0000000-2ba1f0021000 rw-p 00000000 00:00 0
2ba1f0021000-2ba1f4000000 ---p 00000000 00:00 0
2ba1f4000000-2ba275c95000 rw-p 00000000 00:00 0
2ba275c95000-2ba275d65000 rw-p 00000000 00:00 0
2ba275d65000-2ba275d66000 ---p 00000000 00:00 0
2ba275d66000-2ba275f96000 rw-p 00000000 00:00 0
[stack:31036]
2ba275f98000-2ba276098000 rw-s 00000000 08:06 1441852
/srv/oracle/fb/tmp/fb12_monitor_06080000000000000b00160000000000
2ba276098000-2ba276101000 rw-p 00000000 00:00 0
2ba276108000-2ba276118000 rw-p 00000000 00:00 0
2ba276118000-2ba276119000 ---p 00000000 00:00 0
2ba276119000-2ba276549000 rw-p 00000000 00:00 0
[stack:31037]
2ba27654a000-2ba27677a000 rw-p 00000000 00:00 0
2ba276780000-2ba276966000 r-xp 00000000 fc:00 46248
/opt/firebird/UDF/libgb_udf2.so
2ba276966000-2ba276b65000 ---p 001e6000 fc:00 46248
/opt/firebird/UDF/libgb_udf2.so
2ba276b65000-2ba276bc9000 rw-p 001e5000 fc:00 46248
/opt/firebird/UDF/libgb_udf2.so
2ba276bc9000-2ba276c66000 rw-p 00000000 00:00 0
2ba276c66000-2ba276c67000 ---p 00000000 00:00 0
2ba276c67000-2ba276f97000 rw-p 00000000 00:00 0
[stack:31039]
2ba276f98000-2ba277098000 rw-s 00000000 08:06 1441832
/srv/oracle/fb/tmp/fb_lock_00fc000000000000987a000000000000
2ba277098000-2ba277099000 ---p 00000000 00:00 0
2ba277099000-2ba277299000 rw-p 00000000 00:00 0
[stack:31042]
2ba2772a0000-2ba2773a0000 rw-s 00000000 08:06 1441833
/srv/oracle/fb/tmp/fb12_monitor_00fc000000000000987a000000000000
2ba2773a0000-2ba277420000 rw-p 00000000 00:00 0
2ba277420000-2ba277441000 r-xp 00000000 fc:00 3406
/opt/firebird/UDF/libgb_mail.so
2ba277441000-2ba277641000 ---p 00021000 fc:00 3406
/opt/firebird/UDF/libgb_mail.so
2ba277641000-2ba277642000 r--p 00021000 fc:00 3406
/opt/firebird/UDF/libgb_mail.so
2ba277642000-2ba277643000 rw-p 00022000 fc:00 3406
/opt/firebird/UDF/libgb_mail.so
2ba277643000-2ba277653000 rw-p 00000000 00:00 0
2ba278000000-2ba278021000 rw-p 00000000 00:00 0
2ba278021000-2ba27c000000 ---p 00000000 00:00 0
2ba27c000000-2ba27c021000 rw-p 00000000 00:00 0
2ba27c021000-2ba280000000 ---p 00000000 00:00 0
2ba280000000-2ba280021000 rw-p 00000000 00:00 0
2ba280021000-2ba284000000 ---p 00000000 00:00 0
2ba284000000-2ba284021000 rw-p 00000000 00:00 0
2ba284021000-2ba288000000 ---p 00000000 00:00 0
2ba288000000-2ba288021000 rw-p 00000000 00:00 0
2ba288021000-2ba28c000000 ---p 00000000 00:00 0
7fffecc7b000-7fffecc9c000 rw-p 00000000 00:00 0
[stack]
7fffecd20000-7fffecd22000 r--p 00000000 00:00 0 [vvar]
7fffecd22000-7fffecd24000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
ProcStatus:
Name: firebird.debug
State: D (disk sleep)
Tgid: 31028
Ngid: 0
Pid: 31028
PPid: 29307
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0
VmPeak: 2833452 kB
VmSize: 2833384 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1603240 kB
VmRSS: 1603240 kB
VmData: 2733748 kB
VmStk: 136 kB
VmExe: 736 kB
VmLib: 41308 kB
VmPTE: 3332 kB
VmSwap: 0 kB
Threads: 10
SigQ: 0/7917
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000380000
SigCgt: 0000000180005a02
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
Seccomp: 0
Cpus_allowed: 1
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 556
nonvoluntary_ctxt_switches: 17
Signal: 11
Uname: Linux 3.19.0-25-generic x86_64


--
Regards,
Michał Kurczabiński