Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLib-ERROR **: The thread system is not yet initialized. #2848

Closed
jbfuzier opened this issue Jul 29, 2019 · 15 comments · Fixed by #2853
Closed

GLib-ERROR **: The thread system is not yet initialized. #2848

jbfuzier opened this issue Jul 29, 2019 · 15 comments · Fixed by #2853
Labels

Comments

@jbfuzier
Copy link

Version of syslog-ng

syslog-ng 3 (3.22.1)
Config version: 3.22
Installer-Version: 3.22.1
Revision:
Compile-Date: Jul 29 2019 10:58:45
Module-Directory: /logs/lvapp/lib/syslog-ng
Module-Path: /logs/lvapp/lib/syslog-ng
Include-Path: /logs/lvapp/share/syslog-ng/include
Available-Modules: cef,linux-kmsg-format,confgen,xml,map-value-pairs,kafka,graphite,csvparser,afsocket,pseudofile,afstomp,cryptofuncs,tfgetent,json-plugin,date,mod-python,appmodel,afuser,system-source,disk-buffer,basicfuncs,afprog,examples,hook-commands,syslogformat,snmptrapd-parser,affile,stardate,tags-parser,kvformat,add-contextual-data,dbparser
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: off
Enable-Spoof-Source: off
Enable-TCP-Wrapper: off
Enable-Linux-Caps: off
Enable-Systemd: off

Platform

Red Hat Enterprise Linux Server release 6.6 (Santiago)

Debug bundle

$ sbin/syslog-ng-debun -r -R /logs/lvapp/
Syslog-NG DEBUg buNdle generator
Start environment detection
No syslog-ng detected
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 6.6 (Santiago)
Release:        6.6
Codename:       Santiago

Operating System Name: Linux

Redhat specific checks
Check package files integrity
package syslog-ng-premium-edition is not installed
package syslog-ng-premium-edition-client is not installed
package syslog-ng-premium-edition-compact is not installed
No syslog-ng RPM packages have been found!
list syslog-related packages

Start general info collection
System's full uname: Linux rhel6jb 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Getting network-interface information: Success
Getting network routes: Success
Getting DNS resolution-related information: Done
List all processes
Mount and disk free info collection

Start Syslog-specific info collection
Copy configs from /nonexistent
sbin/syslog-ng-debun: line 640: cd: /nonexistent: No such file or directory
112785 blocks
Error connecting control socket, socket='/logs/lvapp/var/syslog-ng.ctl', error='No such file or directory'
Gathering PKI information... sbin/syslog-ng-debun: line 616: cd: /nonexistent: No such file or directory
done.
cat: /logs/lvapp//var/run/syslog-ng.pid: No such file or directory
SVpid:  SNGpid:  Chpids:
sbin/syslog-ng-debun: line 686: /etc/init.d/syslog-ng: No such file or directory
Syslog-ng's exact version: syslog-ng 3 (3.22.1)
/logs/lvapp//sbin/syslog-ng-ctl stats
/logs/lvapp//sbin/syslog-ng-ctl query get *
/logs/lvapp//sbin/syslog-ng-ctl show-license-info
/logs/lvapp//sbin/syslog-ng-ctl credentials status

GLib-ERROR **: The thread system is not yet initialized.
aborting...
sbin/syslog-ng-debun: line 709: 26059 Aborted                 (core dumped) $syslogbin -s --preprocess-into "${tmpdir}/syslog.pp.conf"
0 blocks
Detecting init system: falling back to SystemV init style...
cp: cannot stat `/etc/init.d/syslog-ng': No such file or directory
chmod: cannot access `/tmp/syslog.debun.rhel6jb.2019-07-29_11-33.24865/sys.startup.init.syslog-ng': No such file or directory
sbin/syslog-ng-debun: line 294: /etc/init.d/syslog-ng: No such file or directory
Generating second batch of statistics
/logs/lvapp//sbin/syslog-ng-ctl stats
/logs/lvapp//sbin/syslog-ng-ctl query get *

Generating hashes... done.
Debug Bundle generation: Done.
Terminating live message watcher: sbin/syslog-ng-debun: line 273: 24873 Terminated              tail -f ${tmpdir}/syslog-ng.debun.txt 1>&3  (wd: /logs/lvapp)

Issue

Failure

(Backtrace, error messages or detailed description of failure comes here.)
(To create debug bundles, use syslog-ng-debun. Details of its usage can be found on the documentation page)

(gdb) run
Starting program: /logs/lvapp/sbin/syslog-ng
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 24858.

GLib-ERROR **: The thread system is not yet initialized.
aborting...

Program exited with code 01.

Steps to reproduce

  1. start syslog-ng with default config file

  2. syslog-ng crashes :

GLib-ERROR **: The thread system is not yet initialized.
aborting...

Configuration

[root@rhel6jb lvapp]# cat etc/syslog-ng.conf
#############################################################################
# Default syslog-ng.conf file which collects all local logs into a
# single file called /var/log/messages.
#

@version: 3.22
@include "scl.conf"

source s_local {
        system();
        internal();
};

source s_network {
        default-network-drivers(
                # NOTE: TLS support
                #
                # the default-network-drivers() source driver opens the TLS
                # enabled ports as well, however without an actual key/cert
                # pair they will not operate and syslog-ng would display a
                # warning at startup.
                #
                #tls(key-file("/path/to/ssl-private-key") cert-file("/path/to/ssl-cert"))
        );
};

destination d_local {
        file("/var/log/messages");
        file("/var/log/messages-kv.log" template("$ISODATE $HOST $(format-welf --scope all-nv-pairs)\n") frac-digits(3));
};

log {
        source(s_local);

        # uncomment this line to open port 514 to receive messages
        #source(s_network);
        destination(d_local);
};
@jbfuzier
Copy link
Author

@jbfuzier
Copy link
Author

Related to #2182

Glib version is too old in rhel6 (2.12), v2.26 is required.

configure fails to detect incompatible glibc version.

@gaborznagy
Copy link
Collaborator

Hi @jbfuzier,

Thanks for the detailed report.
Yes we have updated GLib's minimum version to 2.26 as our understanding was that every distribution uses a higher version already.

We also checked Centos 6 and it had 2.26 at the time, now I see version 2.28.
https://repology.org/project/glib/versions

Are you sure you have the latest package for glib2? I saw a glib2 update notice:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/6.5_technical_notes/glib2

About the crash, you've described:
Can you please give us a backtrace, so we can see which part of GLib failed?

@jbfuzier
Copy link
Author

Thanks, the issue is likely related to the version not being available on our internal repo.

Is the backtrace included in the debug bundle ? If so I put a link to it as it was too big to attach here.

If not could you give me the command you want me to run ?

@gaborznagy
Copy link
Collaborator

No, there is no backtrace in the debun.
What I would like to see is a gdb backtrace command output, when syslog-ng crashes.

@jbfuzier
Copy link
Author

If you need the debug symbols, I will have to see with a sysadmin if we have the required repos internally.

[root@rhel6jb lvapp]# gdb ./sbin/syslog-ng
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /logs/lvapp/sbin/syslog-ng...done.
(gdb) r
Starting program: /logs/lvapp/sbin/syslog-ng
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 17971.

GLib-ERROR **: The thread system is not yet initialized.
aborting...

Program exited with code 01.
Missing separate debuginfos, use: debuginfo-install glib2-2.28.8-4.el6.x86_64 glibc-2.12-1.166.el6_7.1.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 openssl-1.0.1e-42.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) set follow-fork-mode child
(gdb) r
Starting program: /logs/lvapp/sbin/syslog-ng
[Thread debugging using libthread_db enabled]
[New process 17977]
[Thread debugging using libthread_db enabled]
[New process 17978]
[Thread debugging using libthread_db enabled]

GLib-ERROR **: The thread system is not yet initialized.
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff76e5a60 (LWP 17978)]
0x0000003a41432625 in raise () from /lib64/libc.so.6
(gdb) bt full
#0  0x0000003a41432625 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x0000003a41433e05 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00000035fe24b89a in g_logv () from /lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00000035fe24b933 in g_log () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x00000035fe268efe in ?? () from /lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff7d701de in main_loop_thread_resource_init () at lib/mainloop.c:672
No locals.
#6  0x00007ffff7d58db9 in app_startup () at lib/apphook.c:154
No locals.
#7  0x0000000000401a4d in main (argc=1, argv=0x7fffffffe068) at syslog-ng/main.c:279
        rc = <value optimized out>
        ctx = <value optimized out>
        error = 0x0
        main_loop = 0x7ffff7ffb980
        exit_before_main_loop_run = <value optimized out>

@bazsi
Copy link
Collaborator

bazsi commented Jul 30, 2019 via email

@gaborznagy
Copy link
Collaborator

Hmm, main_loop_thread_resource_init() could have caused an abort because g_cond_new() is called before g_thread_init(), which thus caused to call g_thread_fail().

By looking at our own git history of lib/apphook.c, this has been changed recently.
I just wonder why don't we have problems with newer GLibs as well....
It has to do something with GLib versions.

I'll investigate this init problem, because it can cause other issues for us.

However even if we resolve this issue for your case, syslog-ng 3.22 will not run with GLib 2.10 anymore, as we use some GLib API that's not available in 2.10, e.g. g_list_free_full().

@gaborznagy
Copy link
Collaborator

#2848 (comment) WOW almost the same time :)

@jbfuzier
Copy link
Author

I did some more digging.

The glibc reported as installed by yum is 2.12, however pkg_config reports that version 2.28 is available, that is why configure does not fail on min version :

root@rhel6jb syslog-ng-3.22.1_test]# cat /usr/lib64/pkgconfig/glib-2.0.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: GLib
Description: C Utility Library
Version: 2.28.8
Libs: -L${libdir} -lglib-2.0
Libs.private:
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include

I checked my crashing syslogng binary is linked against this version :

(I do not know how to get the version from the elf to make sure it is indeed 2.28.8)

root@rhel6jb syslog-ng-3.22.1_test]# ldd /logs/lvapp/sbin/syslog-ng
        linux-vdso.so.1 =>  (0x00007fffa4593000)
        libsyslog-ng-3.22.so.0 => /logs/lvapp/lib/libsyslog-ng-3.22.so.0 (0x00007f8d47b9e000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a43800000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x0000003601a00000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003601200000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003a42400000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00000035fe200000)
        libevtlog-3.22.so.0 => /logs/lvapp/lib/libevtlog-3.22.so.0 (0x00007f8d4798b000)
        libsecret-storage.so.0 => /logs/lvapp/lib/libsecret-storage.so.0 (0x00007f8d47787000)
        libpcre.so.1 => /logs/lvapp/lib/libpcre.so.1 (0x00007f8d4756a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000032c9800000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a41c00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003a41400000)
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003605600000)
        libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003046200000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003a41000000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003603e00000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003602e00000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003a46c00000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003602600000)
        libz.so.1 => /lib64/libz.so.1 (0x0000003a42000000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003602a00000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003602200000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003a43400000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00000035fda00000)


[root@rhel6jb syslog-ng-3.22.1_test]# file /lib64/libglib-2.0.so.0
/lib64/libglib-2.0.so.0: symbolic link to `libglib-2.0.so.0.2800.8'
[root@rhel6jb syslog-ng-3.22.1_test]# file /lib64/libglib-2.0.so.0.2800.8
/lib64/libglib-2.0.so.0.2800.8: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped


ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x35fe216cc0
  Start of program headers:          64 (bytes into file)
  Start of section headers:          1141024 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         6
  Size of section headers:           64 (bytes)
  Number of section headers:         30
  Section header string table index: 29

Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  [ 0]                   NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
  [ 1] .note.gnu.build-i NOTE             00000035fe200190  00000190
       0000000000000024  0000000000000000   A       0     0     4
  [ 2] .gnu.hash         GNU_HASH         00000035fe2001b8  000001b8
       0000000000002a80  0000000000000000   A       3     0     8
  [ 3] .dynsym           DYNSYM           00000035fe202c38  00002c38
       0000000000009528  0000000000000018   A       4     2     8
  [ 4] .dynstr           STRTAB           00000035fe20c160  0000c160
       0000000000007732  0000000000000000   A       0     0     1
  [ 5] .gnu.version      VERSYM           00000035fe213892  00013892
       0000000000000c6e  0000000000000002   A       3     0     2
  [ 6] .gnu.version_r    VERNEED          00000035fe214500  00014500
       00000000000000a0  0000000000000000   A       4     2     8
  [ 7] .rela.dyn         RELA             00000035fe2145a0  000145a0
       0000000000000f30  0000000000000018   A       3     0     8
  [ 8] .rela.plt         RELA             00000035fe2154d0  000154d0
       0000000000000e40  0000000000000018   A       3    10     8
  [ 9] .init             PROGBITS         00000035fe216310  00016310
       0000000000000018  0000000000000000  AX       0     0     4
  [10] .plt              PROGBITS         00000035fe216328  00016328
       0000000000000990  0000000000000010  AX       0     0     4
  [11] .text             PROGBITS         00000035fe216cc0  00016cc0
       0000000000097448  0000000000000000  AX       0     0     16
  [12] .fini             PROGBITS         00000035fe2ae108  000ae108
       000000000000000e  0000000000000000  AX       0     0     4
  [13] .rodata           PROGBITS         00000035fe2ae120  000ae120
       000000000004e524  0000000000000000   A       0     0     32
  [14] .eh_frame_hdr     PROGBITS         00000035fe2fc644  000fc644
       0000000000003a74  0000000000000000   A       0     0     4
  [15] .eh_frame         PROGBITS         00000035fe3000b8  001000b8
       00000000000147cc  0000000000000000   A       0     0     8
  [16] .ctors            PROGBITS         00000035fe515000  00115000
       0000000000000010  0000000000000000  WA       0     0     8
  [17] .dtors            PROGBITS         00000035fe515010  00115010
       0000000000000010  0000000000000000  WA       0     0     8
  [18] .jcr              PROGBITS         00000035fe515020  00115020
       0000000000000008  0000000000000000  WA       0     0     8
  [19] .data.rel.ro      PROGBITS         00000035fe515040  00115040
       00000000000002f8  0000000000000000  WA       0     0     32
  [20] .dynamic          DYNAMIC          00000035fe515338  00115338
       00000000000001a0  0000000000000010  WA       4     0     8
  [21] .got              PROGBITS         00000035fe5154d8  001154d8
       00000000000004d8  0000000000000008  WA       0     0     8
  [23] .data             PROGBITS         00000035fe515b20  00115b20
       0000000000000420  0000000000000000  WA       0     0     32
  [24] .bss              NOBITS           00000035fe515f40  00115f40
       00000000000008d8  0000000000000000  WA       0     0     32
  [25] .gnu_debuglink    PROGBITS         0000000000000000  00115f40
       0000000000000024  0000000000000000           0     0     4
  [26] .gnu.liblist      GNU_LIBLIST      0000000000000000  00115f64
       0000000000000050  0000000000000014          27     0     4
  [27] .gnu.libstr       STRTAB           0000000000000000  00115fb4
       0000000000000042  0000000000000000           0     0     1
  [28] .gnu.prelink_undo PROGBITS         0000000000000000  00115ff8
       0000000000000810  0000000000000001           0     0     8
  [29] .shstrtab         STRTAB           0000000000000000  00116808
       0000000000000116  0000000000000000           0     0     1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x0000000000000000 0x00000035fe200000 0x00000035fe200000
                 0x0000000000114884 0x0000000000114884  R E    200000
  LOAD           0x0000000000115000 0x00000035fe515000 0x00000035fe515000
                 0x0000000000000f40 0x0000000000001818  RW     200000
  DYNAMIC        0x0000000000115338 0x00000035fe515338 0x00000035fe515338
                 0x00000000000001a0 0x00000000000001a0  RW     8
  NOTE           0x0000000000000190 0x00000035fe200190 0x00000035fe200190
                 0x0000000000000024 0x0000000000000024  R      4
  GNU_EH_FRAME   0x00000000000fc644 0x00000035fe2fc644 0x00000035fe2fc644
                 0x0000000000003a74 0x0000000000003a74  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
   02     .dynamic
   03     .note.gnu.build-id
   04     .eh_frame_hdr
   05

Dynamic section at offset 0x115338 contains 24 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libglib-2.0.so.0]
 0x000000000000000c (INIT)               0x35fe216310
 0x000000000000000d (FINI)               0x35fe2ae108
 0x000000006ffffef5 (GNU_HASH)           0x35fe2001b8
 0x0000000000000005 (STRTAB)             0x35fe20c160
 0x0000000000000006 (SYMTAB)             0x35fe202c38
 0x000000000000000a (STRSZ)              30514 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x35fe515630
 0x0000000000000002 (PLTRELSZ)           3648 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x35fe2154d0
 0x0000000000000007 (RELA)               0x35fe2145a0
 0x0000000000000008 (RELASZ)             3888 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x35fe214500
 0x000000006fffffff (VERNEEDNUM)         2
 0x000000006ffffff0 (VERSYM)             0x35fe213892
 0x000000006ffffff9 (RELACOUNT)          137
 0x000000006ffffdf8 (CHECKSUM)           0x8ad89c71
 0x000000006ffffdf5 (GNU_PRELINKED)      2017-02-21T02:32:35
 0x0000000000000000 (NULL)               0x0

Relocation section '.rela.dyn' at offset 0x145a0 contains 162 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
0035fe515040  000000000008 R_X86_64_RELATIVE                    00000035fe21c400
0035fe515048  000000000008 R_X86_64_RELATIVE                    00000035fe21b0e0
0035fe515050  000000000008 R_X86_64_RELATIVE                    00000035fe21ad70
0035fe515080  000000000008 R_X86_64_RELATIVE                    00000035fe2b9979
0035fe515088  000000000008 R_X86_64_RELATIVE                    00000035fe2b9ab0
0035fe515090  000000000008 R_X86_64_RELATIVE                    00000035fe2b9ae8
0035fe515098  000000000008 R_X86_64_RELATIVE                    00000035fe2b997e
0035fe5150a8  000000000008 R_X86_64_RELATIVE                    00000035fe2bacc0
0035fe5150b0  000000000008 R_X86_64_RELATIVE                    00000035fe515da0
0035fe5150b8  000000000008 R_X86_64_RELATIVE                    00000035fe2d2c40
0035fe5150c0  000000000008 R_X86_64_RELATIVE                    00000035fe27f340
0035fe5150c8  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe5150d0  000000000008 R_X86_64_RELATIVE                    00000035fe27ec30
0035fe5150d8  000000000008 R_X86_64_RELATIVE                    00000035fe27e1b0
0035fe5150e0  000000000008 R_X86_64_RELATIVE                    00000035fe27e690
0035fe5150e8  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe5150f0  000000000008 R_X86_64_RELATIVE                    00000035fe27ecf0
0035fe5150f8  000000000008 R_X86_64_RELATIVE                    00000035fe27e1d0
0035fe515100  000000000008 R_X86_64_RELATIVE                    00000035fe27e320
0035fe515108  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe515110  000000000008 R_X86_64_RELATIVE                    00000035fe27f780
0035fe515118  000000000008 R_X86_64_RELATIVE                    00000035fe27e0e0
0035fe515120  000000000008 R_X86_64_RELATIVE                    00000035fe27f3c0
0035fe515128  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe515130  000000000008 R_X86_64_RELATIVE                    00000035fe27edc0
0035fe515138  000000000008 R_X86_64_RELATIVE                    00000035fe27e1f0
0035fe515140  000000000008 R_X86_64_RELATIVE                    00000035fe27e780
0035fe515148  000000000008 R_X86_64_RELATIVE                    00000035fe27ef90
0035fe515158  000000000008 R_X86_64_RELATIVE                    00000035fe27e100
0035fe515160  000000000008 R_X86_64_RELATIVE                    00000035fe27e330
0035fe515168  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe515170  000000000008 R_X86_64_RELATIVE                    00000035fe27f070
0035fe515178  000000000008 R_X86_64_RELATIVE                    00000035fe27e110
0035fe515180  000000000008 R_X86_64_RELATIVE                    00000035fe27e360
0035fe515188  000000000008 R_X86_64_RELATIVE                    00000035fe27f0e0
0035fe515198  000000000008 R_X86_64_RELATIVE                    00000035fe27e120
0035fe5151a0  000000000008 R_X86_64_RELATIVE                    00000035fe27e150
0035fe5151a8  000000000008 R_X86_64_RELATIVE                    00000035fe27e0d0
0035fe5151b8  000000000008 R_X86_64_RELATIVE                    00000035fe27e880
0035fe5151c0  000000000008 R_X86_64_RELATIVE                    00000035fe27e8b0
0035fe5151c8  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe5151d0  000000000008 R_X86_64_RELATIVE                    00000035fe27f8b0
0035fe5151d8  000000000008 R_X86_64_RELATIVE                    00000035fe27e240
0035fe5151e0  000000000008 R_X86_64_RELATIVE                    00000035fe27e340
0035fe5151e8  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe5151f0  000000000008 R_X86_64_RELATIVE                    00000035fe27f540
0035fe5151f8  000000000008 R_X86_64_RELATIVE                    00000035fe27e260
0035fe515200  000000000008 R_X86_64_RELATIVE                    00000035fe27e350
0035fe515208  000000000008 R_X86_64_RELATIVE                    00000035fe27e2a0
0035fe515210  000000000008 R_X86_64_RELATIVE                    00000035fe27e940
0035fe515218  000000000008 R_X86_64_RELATIVE                    00000035fe27e280
0035fe515220  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6ab
0035fe515228  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6b1
0035fe515230  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6b8
0035fe515238  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6bf
0035fe515248  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6c7
0035fe515258  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6ca
0035fe515278  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6d1
0035fe515280  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6d9
0035fe515290  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6e1
0035fe515298  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6e7
0035fe5152a0  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6ee
0035fe5152a8  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6f5
0035fe5152b8  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6fd
0035fe5152c8  000000000008 R_X86_64_RELATIVE                    00000035fe2fa700
0035fe5152e8  000000000008 R_X86_64_RELATIVE                    00000035fe2fa707
0035fe5152f0  000000000008 R_X86_64_RELATIVE                    00000035fe2fa70f
0035fe515300  000000000008 R_X86_64_RELATIVE                    00000035fe2fa700
0035fe515308  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6ca
0035fe515310  000000000008 R_X86_64_RELATIVE                    00000035fe2fa717
0035fe515318  000000000008 R_X86_64_RELATIVE                    00000035fe2fa71f
0035fe515320  000000000008 R_X86_64_RELATIVE                    00000035fe2fa70f
0035fe515328  000000000008 R_X86_64_RELATIVE                    00000035fe2fa6d9
0035fe515330  000000000008 R_X86_64_RELATIVE                    00000035fe515330
0035fe5154d8  000000000008 R_X86_64_RELATIVE                    00000035fe51627c
0035fe5154e0  000000000008 R_X86_64_RELATIVE                    00000035fe249aa0
0035fe5154e8  000000000008 R_X86_64_RELATIVE                    00000035fe26c490
0035fe515500  000000000008 R_X86_64_RELATIVE                    00000035fe258e50
0035fe515508  000000000008 R_X86_64_RELATIVE                    00000035fe2639a0
0035fe515510  000000000008 R_X86_64_RELATIVE                    00000035fe2fbd60
0035fe515538  000000000008 R_X86_64_RELATIVE                    00000035fe516278
0035fe515540  000000000008 R_X86_64_RELATIVE                    00000035fe251b40
0035fe515550  000000000008 R_X86_64_RELATIVE                    00000035fe2fbf00
0035fe515558  000000000008 R_X86_64_RELATIVE                    00000035fe2fbde0
0035fe515598  000000000008 R_X86_64_RELATIVE                    00000035fe258d30
0035fe5155a0  000000000008 R_X86_64_RELATIVE                    00000035fe515330
0035fe5155a8  000000000008 R_X86_64_RELATIVE                    00000035fe2fbe40
0035fe5155b8  000000000008 R_X86_64_RELATIVE                    00000035fe516810
0035fe5155c8  000000000008 R_X86_64_RELATIVE                    00000035fe274b40
0035fe5155d0  000000000008 R_X86_64_RELATIVE                    00000035fe2fa760
0035fe5155e0  000000000008 R_X86_64_RELATIVE                    00000035fe2fc2e0
0035fe5155f0  000000000008 R_X86_64_RELATIVE                    00000035fe2fbe80
0035fe5155f8  000000000008 R_X86_64_RELATIVE                    00000035fe2fc61c
0035fe515600  000000000008 R_X86_64_RELATIVE                    00000035fe24dc70
0035fe515608  000000000008 R_X86_64_RELATIVE                    00000035fe265130
0035fe515610  000000000008 R_X86_64_RELATIVE                    00000035fe516400
0035fe515618  000000000008 R_X86_64_RELATIVE                    00000035fe2fbdf8
0035fe515628  000000000008 R_X86_64_RELATIVE                    00000035fe2fbe00
0035fe515ba0  000000000008 R_X86_64_RELATIVE                    00000035fe241100
0035fe515ba8  000000000008 R_X86_64_RELATIVE                    00000035fe2410e0
0035fe515bb0  000000000008 R_X86_64_RELATIVE                    00000035fe241070
0035fe515be0  000000000008 R_X86_64_RELATIVE                    00000035fe23e490
0035fe515be8  000000000008 R_X86_64_RELATIVE                    00000035fe23e410
0035fe515bf0  000000000008 R_X86_64_RELATIVE                    00000035fe23e3d0
0035fe515c20  000000000008 R_X86_64_RELATIVE                    00000035fe23e370
0035fe515c28  000000000008 R_X86_64_RELATIVE                    00000035fe23e380
0035fe515c30  000000000008 R_X86_64_RELATIVE                    00000035fe23e390
0035fe515c50  000000000008 R_X86_64_RELATIVE                    00000035fe23e340
0035fe515c58  000000000008 R_X86_64_RELATIVE                    00000035fe23fb00
0035fe515c60  000000000008 R_X86_64_RELATIVE                    00000035fe23e350
0035fe515c80  000000000008 R_X86_64_RELATIVE                    00000035fe515ce0
0035fe515ca0  000000000008 R_X86_64_RELATIVE                    00000035fe2b6b03
0035fe515ce0  000000000008 R_X86_64_RELATIVE                    00000035fe24a350
0035fe515ce8  000000000008 R_X86_64_RELATIVE                    00000035fe24a320
0035fe515cf0  000000000008 R_X86_64_RELATIVE                    00000035fe249770
0035fe515cf8  000000000008 R_X86_64_RELATIVE                    00000035fe24a2a0
0035fe515d00  000000000008 R_X86_64_RELATIVE                    00000035fe249700
0035fe515d08  000000000008 R_X86_64_RELATIVE                    00000035fe2495f0
0035fe515d58  000000000008 R_X86_64_RELATIVE                    00000035fe24af00
0035fe515dc0  000000000008 R_X86_64_RELATIVE                    00000035fe2dc7de
0035fe515de0  000000000008 R_X86_64_RELATIVE                    00000035fe268f00
0035fe515e00  000000000008 R_X86_64_RELATIVE                    00000035fe268ee0
0035fe515e28  000000000008 R_X86_64_RELATIVE                    00000035fe268ee0
0035fe515e58  000000000008 R_X86_64_RELATIVE                    00000035fe268ee0
0035fe515e70  000000000008 R_X86_64_RELATIVE                    00000035fe268ee0
0035fe515ec0  000000000008 R_X86_64_RELATIVE                    00000035fe285880
0035fe515ec8  000000000008 R_X86_64_RELATIVE                    00000035fe285860
0035fe515ed0  000000000008 R_X86_64_RELATIVE                    00000035fe2858c0
0035fe515ed8  000000000008 R_X86_64_RELATIVE                    00000035fe285850
0035fe515f00  000000000008 R_X86_64_RELATIVE                    00000035fe285d80
0035fe515f08  000000000008 R_X86_64_RELATIVE                    00000035fe285cb0
0035fe515f10  000000000008 R_X86_64_RELATIVE                    00000035fe285bf0
0035fe515f18  000000000008 R_X86_64_RELATIVE                    00000035fe285a80
0035fe515f20  000000000008 R_X86_64_RELATIVE                    00000035fe285a00
0035fe515f28  000000000008 R_X86_64_RELATIVE                    00000035fe2859f0
0035fe515f30  000000000008 R_X86_64_RELATIVE                    00000035fe285950
0035fe515f38  000000000008 R_X86_64_RELATIVE                    00000035fe285b00
0035fe5154f0  049300000006 R_X86_64_GLOB_DAT 00000035fe515be0 g_child_watch_funcs + 0
0035fe5154f8  000e00000006 R_X86_64_GLOB_DAT 0000000000000000 environ + 0
0035fe515518  00fc00000006 R_X86_64_GLOB_DAT 00000035fe516240 g_mem_gc_friendly + 0
0035fe515520  001800000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
0035fe515528  001900000006 R_X86_64_GLOB_DAT 0000000000000000 _Jv_RegisterClasses + 0
0035fe515530  00e200000006 R_X86_64_GLOB_DAT 00000035fe515ba0 g_timeout_funcs + 0
0035fe515548  002600000006 R_X86_64_GLOB_DAT 0000000000000000 strncmp + 0
0035fe515560  04b800000006 R_X86_64_GLOB_DAT 00000035fe5150b8 g_utf8_skip + 0
0035fe515568  04c000000006 R_X86_64_GLOB_DAT 00000035fe515ec0 g_io_watch_funcs + 0
0035fe515570  02f000000006 R_X86_64_GLOB_DAT 00000035fe515b20 glib_on_error_halt + 0
0035fe515578  041f00000006 R_X86_64_GLOB_DAT 00000035fe515c20 g_idle_funcs + 0
0035fe515580  004200000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize + 0
0035fe515588  00ef00000006 R_X86_64_GLOB_DAT 00000035fe515e00 g_thread_functions_for + 0
0035fe515590  004600000006 R_X86_64_GLOB_DAT 0000000000000000 stdin + 0
0035fe5155b0  041a00000006 R_X86_64_GLOB_DAT 00000035fe5150a8 g_ascii_table + 0
0035fe5155c0  04cf00000006 R_X86_64_GLOB_DAT 00000035fe5164c0 g_threads_got_initiali + 0
0035fe5155d8  008700000006 R_X86_64_GLOB_DAT 0000000000000000 stderr + 0
0035fe5155e8  01aa00000006 R_X86_64_GLOB_DAT 00000035fe515dc8 g_thread_use_default_i + 0
0035fe515620  009e00000006 R_X86_64_GLOB_DAT 0000000000000000 stdout + 0
0035fe515d20  002700000001 R_X86_64_64       0000000000000000 malloc + 0
0035fe515d40  002700000001 R_X86_64_64       0000000000000000 malloc + 0
0035fe515d28  008f00000001 R_X86_64_64       0000000000000000 realloc + 0
0035fe515d48  008f00000001 R_X86_64_64       0000000000000000 realloc + 0
0035fe515d30  003a00000001 R_X86_64_64       0000000000000000 free + 0
0035fe515d38  007800000001 R_X86_64_64       0000000000000000 calloc + 0

Relocation section '.rela.plt' at offset 0x154d0 contains 152 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
0035fe515648  000200000007 R_X86_64_JUMP_SLO 0000000000000000 chmod + 0
0035fe515650  000300000007 R_X86_64_JUMP_SLO 0000000000000000 pipe2 + 0
0035fe515658  000400000007 R_X86_64_JUMP_SLO 0000000000000000 chdir + 0
0035fe515660  000500000007 R_X86_64_JUMP_SLO 0000000000000000 fileno + 0
0035fe515668  000600000007 R_X86_64_JUMP_SLO 0000000000000000 dup2 + 0
0035fe515670  000700000007 R_X86_64_JUMP_SLO 0000000000000000 execv + 0
0035fe515678  000800000007 R_X86_64_JUMP_SLO 0000000000000000 mktime + 0
0035fe515680  000900000007 R_X86_64_JUMP_SLO 0000000000000000 memset + 0
0035fe515688  000a00000007 R_X86_64_JUMP_SLO 0000000000000000 dcngettext + 0
0035fe515690  000b00000007 R_X86_64_JUMP_SLO 0000000000000000 posix_memalign + 0
0035fe515698  000c00000007 R_X86_64_JUMP_SLO 0000000000000000 __strncpy_chk + 0
0035fe5156a0  000d00000007 R_X86_64_JUMP_SLO 0000000000000000 close + 0
0035fe5156a8  000f00000007 R_X86_64_JUMP_SLO 0000000000000000 utime + 0
0035fe5156b0  001000000007 R_X86_64_JUMP_SLO 0000000000000000 abort + 0
0035fe5156b8  001100000007 R_X86_64_JUMP_SLO 0000000000000000 __isoc99_fscanf + 0
0035fe5156c0  001200000007 R_X86_64_JUMP_SLO 0000000000000000 memchr + 0
0035fe5156c8  001300000007 R_X86_64_JUMP_SLO 0000000000000000 stpcpy + 0
0035fe5156d0  001400000007 R_X86_64_JUMP_SLO 0000000000000000 fstatfs + 0
0035fe5156d8  001500000007 R_X86_64_JUMP_SLO 0000000000000000 nl_langinfo + 0
0035fe5156e0  001600000007 R_X86_64_JUMP_SLO 0000000000000000 __fprintf_chk + 0
0035fe5156e8  001700000007 R_X86_64_JUMP_SLO 0000000000000000 isatty + 0
0035fe5156f0  001a00000007 R_X86_64_JUMP_SLO 0000000000000000 textdomain + 0
0035fe5156f8  001b00000007 R_X86_64_JUMP_SLO 0000000000000000 select + 0
0035fe515700  001c00000007 R_X86_64_JUMP_SLO 0000000000000000 execvp + 0
0035fe515708  001d00000007 R_X86_64_JUMP_SLO 0000000000000000 exit + 0
0035fe515710  001e00000007 R_X86_64_JUMP_SLO 0000000000000000 __printf_chk + 0
0035fe515718  001f00000007 R_X86_64_JUMP_SLO 0000000000000000 strcasecmp + 0
0035fe515720  002000000007 R_X86_64_JUMP_SLO 0000000000000000 bindtextdomain + 0
0035fe515728  002100000007 R_X86_64_JUMP_SLO 0000000000000000 gettimeofday + 0
0035fe515730  002200000007 R_X86_64_JUMP_SLO 0000000000000000 setvbuf + 0
0035fe515738  002300000007 R_X86_64_JUMP_SLO 0000000000000000 strpbrk + 0
0035fe515740  002400000007 R_X86_64_JUMP_SLO 0000000000000000 strsignal + 0
0035fe515748  002500000007 R_X86_64_JUMP_SLO 0000000000000000 read + 0
0035fe515750  002600000007 R_X86_64_JUMP_SLO 0000000000000000 strncmp + 0
0035fe515758  002700000007 R_X86_64_JUMP_SLO 0000000000000000 malloc + 0
0035fe515760  002800000007 R_X86_64_JUMP_SLO 0000000000000000 fopen + 0
0035fe515768  002900000007 R_X86_64_JUMP_SLO 0000000000000000 dup + 0
0035fe515770  002a00000007 R_X86_64_JUMP_SLO 0000000000000000 unlink + 0
0035fe515778  002b00000007 R_X86_64_JUMP_SLO 0000000000000000 rmdir + 0
0035fe515780  002c00000007 R_X86_64_JUMP_SLO 0000000000000000 _exit + 0
0035fe515788  002d00000007 R_X86_64_JUMP_SLO 0000000000000000 __memcpy_chk + 0
0035fe515790  002e00000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_atexit + 0
0035fe515798  002f00000007 R_X86_64_JUMP_SLO 0000000000000000 sysconf + 0
0035fe5157a0  003000000007 R_X86_64_JUMP_SLO 0000000000000000 getpid + 0
0035fe5157a8  003100000007 R_X86_64_JUMP_SLO 0000000000000000 fgets + 0
0035fe5157b0  003200000007 R_X86_64_JUMP_SLO 0000000000000000 __vsnprintf_chk + 0
0035fe5157b8  003400000007 R_X86_64_JUMP_SLO 0000000000000000 iconv_open + 0
0035fe5157c0  003500000007 R_X86_64_JUMP_SLO 0000000000000000 getpwuid + 0
0035fe5157c8  003600000007 R_X86_64_JUMP_SLO 0000000000000000 creat + 0
0035fe5157d0  003700000007 R_X86_64_JUMP_SLO 0000000000000000 ungetc + 0
0035fe5157d8  003800000007 R_X86_64_JUMP_SLO 0000000000000000 __ctype_toupper_loc + 0
0035fe5157e0  003900000007 R_X86_64_JUMP_SLO 0000000000000000 fputc + 0
0035fe5157e8  003a00000007 R_X86_64_JUMP_SLO 0000000000000000 free + 0
0035fe5157f0  003b00000007 R_X86_64_JUMP_SLO 0000000000000000 _IO_getc + 0
0035fe5157f8  003c00000007 R_X86_64_JUMP_SLO 0000000000000000 strlen + 0
0035fe515800  003d00000007 R_X86_64_JUMP_SLO 0000000000000000 ferror + 0
0035fe515808  003e00000007 R_X86_64_JUMP_SLO 0000000000000000 opendir + 0
0035fe515810  003f00000007 R_X86_64_JUMP_SLO 0000000000000000 __xstat + 0
0035fe515818  004000000007 R_X86_64_JUMP_SLO 0000000000000000 __vfprintf_chk + 0
0035fe515820  004100000007 R_X86_64_JUMP_SLO 0000000000000000 __ctype_b_loc + 0
0035fe515828  004200000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_finalize + 0
0035fe515830  004300000007 R_X86_64_JUMP_SLO 0000000000000000 __vsprintf_chk + 0
0035fe515838  004400000007 R_X86_64_JUMP_SLO 0000000000000000 readdir + 0
0035fe515840  004500000007 R_X86_64_JUMP_SLO 0000000000000000 bsearch + 0
0035fe515848  004700000007 R_X86_64_JUMP_SLO 0000000000000000 fdopen + 0
0035fe515850  004800000007 R_X86_64_JUMP_SLO 0000000000000000 strrchr + 0
0035fe515858  004900000007 R_X86_64_JUMP_SLO 0000000000000000 syscall + 0
0035fe515860  004a00000007 R_X86_64_JUMP_SLO 0000000000000000 pipe + 0
0035fe515868  004b00000007 R_X86_64_JUMP_SLO 0000000000000000 fsync + 0
0035fe515870  004c00000007 R_X86_64_JUMP_SLO 0000000000000000 iconv + 0
0035fe515878  004d00000007 R_X86_64_JUMP_SLO 0000000000000000 timegm + 0
0035fe515880  004e00000007 R_X86_64_JUMP_SLO 0000000000000000 poll + 0
0035fe515888  004f00000007 R_X86_64_JUMP_SLO 0000000000000000 gmtime_r + 0
0035fe515890  005000000007 R_X86_64_JUMP_SLO 0000000000000000 kill + 0
0035fe515898  005100000007 R_X86_64_JUMP_SLO 0000000000000000 strerror + 0
0035fe5158a0  005200000007 R_X86_64_JUMP_SLO 0000000000000000 strstr + 0
0035fe5158a8  005300000007 R_X86_64_JUMP_SLO 0000000000000000 sigaction + 0
0035fe5158b0  005400000007 R_X86_64_JUMP_SLO 0000000000000000 fputs + 0
0035fe5158b8  005500000007 R_X86_64_JUMP_SLO 0000000000000000 lseek + 0
0035fe5158c0  005600000007 R_X86_64_JUMP_SLO 0000000000000000 strtol + 0
0035fe5158c8  005700000007 R_X86_64_JUMP_SLO 0000000000000000 readlink + 0
0035fe5158d0  005800000007 R_X86_64_JUMP_SLO 0000000000000000 dirfd + 0
0035fe5158d8  005900000007 R_X86_64_JUMP_SLO 0000000000000000 gethostname + 0
0035fe5158e0  005a00000007 R_X86_64_JUMP_SLO 0000000000000000 wcscoll + 0
0035fe5158e8  005b00000007 R_X86_64_JUMP_SLO 0000000000000000 execve + 0
0035fe5158f0  005c00000007 R_X86_64_JUMP_SLO 0000000000000000 setpwent + 0
0035fe5158f8  005d00000007 R_X86_64_JUMP_SLO 0000000000000000 endpwent + 0
0035fe515900  005e00000007 R_X86_64_JUMP_SLO 0000000000000000 memcpy + 0
0035fe515908  005f00000007 R_X86_64_JUMP_SLO 0000000000000000 __strcpy_chk + 0
0035fe515910  006000000007 R_X86_64_JUMP_SLO 0000000000000000 signal + 0
0035fe515918  006100000007 R_X86_64_JUMP_SLO 0000000000000000 strspn + 0
0035fe515920  006200000007 R_X86_64_JUMP_SLO 0000000000000000 memmove + 0
0035fe515928  006300000007 R_X86_64_JUMP_SLO 0000000000000000 strchr + 0
0035fe515930  006400000007 R_X86_64_JUMP_SLO 0000000000000000 waitpid + 0
0035fe515938  006500000007 R_X86_64_JUMP_SLO 0000000000000000 fread + 0
0035fe515940  006600000007 R_X86_64_JUMP_SLO 0000000000000000 rewinddir + 0
0035fe515948  006700000007 R_X86_64_JUMP_SLO 0000000000000000 setenv + 0
0035fe515950  006800000007 R_X86_64_JUMP_SLO 0000000000000000 __fxstat + 0
0035fe515958  006900000007 R_X86_64_JUMP_SLO 0000000000000000 getenv + 0
0035fe515960  006a00000007 R_X86_64_JUMP_SLO 0000000000000000 __errno_location + 0
0035fe515968  006b00000007 R_X86_64_JUMP_SLO 0000000000000000 qsort + 0
0035fe515970  006c00000007 R_X86_64_JUMP_SLO 0000000000000000 dcgettext + 0
0035fe515978  006d00000007 R_X86_64_JUMP_SLO 0000000000000000 strncasecmp + 0
0035fe515980  006e00000007 R_X86_64_JUMP_SLO 0000000000000000 __stack_chk_fail + 0
0035fe515988  006f00000007 R_X86_64_JUMP_SLO 0000000000000000 strcmp + 0
0035fe515990  007000000007 R_X86_64_JUMP_SLO 0000000000000000 getcwd + 0
0035fe515998  007100000007 R_X86_64_JUMP_SLO 0000000000000000 localeconv + 0
0035fe5159a0  007200000007 R_X86_64_JUMP_SLO 0000000000000000 strcpy + 0
0035fe5159a8  007300000007 R_X86_64_JUMP_SLO 0000000000000000 wcsxfrm + 0
0035fe5159b0  007400000007 R_X86_64_JUMP_SLO 0000000000000000 nanosleep + 0
0035fe5159b8  007500000007 R_X86_64_JUMP_SLO 0000000000000000 getuid + 0
0035fe5159c0  007600000007 R_X86_64_JUMP_SLO 0000000000000000 __ctype_tolower_loc + 0
0035fe5159c8  007700000007 R_X86_64_JUMP_SLO 0000000000000000 memcmp + 0
0035fe5159d0  007800000007 R_X86_64_JUMP_SLO 0000000000000000 calloc + 0
0035fe5159d8  007900000007 R_X86_64_JUMP_SLO 0000000000000000 munmap + 0
0035fe5159e0  007a00000007 R_X86_64_JUMP_SLO 0000000000000000 getpwnam_r + 0
0035fe5159e8  007b00000007 R_X86_64_JUMP_SLO 0000000000000000 feof + 0
0035fe5159f0  007c00000007 R_X86_64_JUMP_SLO 0000000000000000 fclose + 0
0035fe5159f8  007d00000007 R_X86_64_JUMP_SLO 0000000000000000 remove + 0
0035fe515a00  007e00000007 R_X86_64_JUMP_SLO 0000000000000000 freopen + 0
0035fe515a08  007f00000007 R_X86_64_JUMP_SLO 0000000000000000 strncpy + 0
0035fe515a10  008000000007 R_X86_64_JUMP_SLO 0000000000000000 getrlimit + 0
0035fe515a18  008100000007 R_X86_64_JUMP_SLO 0000000000000000 localtime_r + 0
0035fe515a20  008200000007 R_X86_64_JUMP_SLO 0000000000000000 __lxstat + 0
0035fe515a28  008300000007 R_X86_64_JUMP_SLO 0000000000000000 unsetenv + 0
0035fe515a30  008400000007 R_X86_64_JUMP_SLO 0000000000000000 bind_textdomain_codese + 0
0035fe515a38  008500000007 R_X86_64_JUMP_SLO 0000000000000000 closedir + 0
0035fe515a40  008600000007 R_X86_64_JUMP_SLO 0000000000000000 __sprintf_chk + 0
0035fe515a48  008800000007 R_X86_64_JUMP_SLO 0000000000000000 __snprintf_chk + 0
0035fe515a50  008900000007 R_X86_64_JUMP_SLO 0000000000000000 access + 0
0035fe515a58  008a00000007 R_X86_64_JUMP_SLO 0000000000000000 fork + 0
0035fe515a60  008b00000007 R_X86_64_JUMP_SLO 0000000000000000 sigemptyset + 0
0035fe515a68  008c00000007 R_X86_64_JUMP_SLO 0000000000000000 getppid + 0
0035fe515a70  008e00000007 R_X86_64_JUMP_SLO 0000000000000000 fwrite + 0
0035fe515a78  008f00000007 R_X86_64_JUMP_SLO 0000000000000000 realloc + 0
0035fe515a80  009000000007 R_X86_64_JUMP_SLO 0000000000000000 getpwuid_r + 0
0035fe515a88  009100000007 R_X86_64_JUMP_SLO 0000000000000000 setlocale + 0
0035fe515a90  009200000007 R_X86_64_JUMP_SLO 0000000000000000 perror + 0
0035fe515a98  009300000007 R_X86_64_JUMP_SLO 0000000000000000 write + 0
0035fe515aa0  009400000007 R_X86_64_JUMP_SLO 0000000000000000 strftime + 0
0035fe515aa8  009500000007 R_X86_64_JUMP_SLO 0000000000000000 clock_gettime + 0
0035fe515ab0  009600000007 R_X86_64_JUMP_SLO 0000000000000000 strtoul + 0
0035fe515ab8  009700000007 R_X86_64_JUMP_SLO 0000000000000000 fcntl + 0
0035fe515ac0  009800000007 R_X86_64_JUMP_SLO 0000000000000000 open + 0
0035fe515ac8  009900000007 R_X86_64_JUMP_SLO 0000000000000000 __vasprintf_chk + 0
0035fe515ad0  009a00000007 R_X86_64_JUMP_SLO 0000000000000000 mmap + 0
0035fe515ad8  009b00000007 R_X86_64_JUMP_SLO 0000000000000000 iconv_close + 0
0035fe515ae0  009c00000007 R_X86_64_JUMP_SLO 0000000000000000 rename + 0
0035fe515ae8  009d00000007 R_X86_64_JUMP_SLO 0000000000000000 strtod + 0
0035fe515af0  009f00000007 R_X86_64_JUMP_SLO 0000000000000000 mkdir + 0
0035fe515af8  00a000000007 R_X86_64_JUMP_SLO 0000000000000000 time + 0
0035fe515b00  00a100000007 R_X86_64_JUMP_SLO 0000000000000000 fflush + 0

There are no unwind sections in this file.

Symbol table '.dynsym' contains 1591 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00000035fe216310     0 SECTION LOCAL  DEFAULT    9
     2: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND chmod@GLIBC_2.2.5 (2)
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND pipe2@GLIBC_2.9 (3)
     4: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND chdir@GLIBC_2.2.5 (2)
  [...]


Version needs section '.gnu.version_r' contains 2 entries:
 Addr: 0x00000035fe214500  Offset: 0x014500  Link: 4 (.dynstr)
  000000: Version: 1  File: librt.so.1  Cnt: 1
  0x0010:   Name: GLIBC_2.2.5  Flags: none  Version: 8
  0x0020: Version: 1  File: libc.so.6  Cnt: 7
  0x0030:   Name: GLIBC_2.8  Flags: none  Version: 9
  0x0040:   Name: GLIBC_2.4  Flags: none  Version: 7
  0x0050:   Name: GLIBC_2.3  Flags: none  Version: 6
  0x0060:   Name: GLIBC_2.7  Flags: none  Version: 5
  0x0070:   Name: GLIBC_2.3.4  Flags: none  Version: 4
  0x0080:   Name: GLIBC_2.9  Flags: none  Version: 3
  0x0090:   Name: GLIBC_2.2.5  Flags: none  Version: 2

Notes at offset 0x00000190 with length 0x00000024:
  Owner         Data size       Description
  GNU           0x00000014      NT_GNU_BUILD_ID (unique build ID bitstring)

Library list section '.gnu.liblist' contains 4 entries:
     Library              Time Stamp          Checksum   Version Flags
  0: librt.so.1           2016-01-08T16:24:50 0x91742da2 0       0
  1: libc.so.6            2016-01-08T16:24:49 0x936558eb 0       0
  2: libpthread.so.0      2016-01-08T16:24:50 0x41a9ead4 0       0
  3: /lib64/ld-linux-x86- 2016-01-08T16:24:49 0x81a616b7 0       0

@gaborznagy
Copy link
Collaborator

Can we clarify the used GLib version on your system?
I think GLib and glibc version numbers have been accidentally mixed up in the description.
Can you please execute these commands:

pkg-config --list-all | grep glib
pkg-config --modversion glib-2.0

yum package list
yum list installed | grep glib
Output for me on a centos6.10 docker container:

glib2.x86_64                     2.28.8-10.el6                     @CentOS/6.10 
glibc.x86_64                     2.12-1.212.el6_10.3               @updates     
glibc-common.x86_64              2.12-1.212.el6_10.3               @updates    

@jbfuzier
Copy link
Author

[root@rhel6jb syslog-ng-3.22.1_test]# pkg-config --list-all | grep glib
glib-2.0              GLib - C Utility Library
gio-2.0               GIO - glib I/O library
gio-unix-2.0          GIO unix specific APIs - unix specific headers for glib I/O library
[root@rhel6jb syslog-ng-3.22.1_test]# pkg-config --modversion glib-2.0
2.28.8
[root@rhel6jb syslog-ng-3.22.1_test]# yum list installed | grep glib
dbus-glib.x86_64                     0.86-6.el6_4                      @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
glib2.x86_64                         2.28.8-4.el6                      @base
glib2-devel.x86_64                   2.28.8-4.el6                      @base
glibc.x86_64                         2.12-1.166.el6_7.1                @base
glibc-common.x86_64                  2.12-1.166.el6_7.1                @base
glibc-devel.x86_64                   2.12-1.166.el6_7.1                @base
glibc-headers.x86_64                 2.12-1.166.el6_7.1                @base

Sorry, you are right, I mixed those up.

So to sumarize, the crash issue is occuring with glib2.x86_64 2.28.8-4.el6 which is provided in rhel6.
No issue when compiled against glib-2.32.4 compiled from source.

@gaborznagy
Copy link
Collaborator

gaborznagy commented Aug 1, 2019

Okay, I've compiled syslog-ng with glib2 2.28 and the abort occurred as well.
It's the same backtrace with SIGABRT, and the resolution is the one we mentioned with @bazsi.

I've tested the fix and it works with both 2.28 and e.g. 2.48.2.

The reason of abort in older glib is, the function g_thread_init() actually initialized stuff, while in newer GLib the thread API is deprecated.

I'll send a patch soon.

@jbfuzier
Copy link
Author

jbfuzier commented Aug 2, 2019

Great, thanks for your help :)

@MrAnno
Copy link
Collaborator

MrAnno commented Aug 2, 2019

The fix will be part of syslog-ng v3.23.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants