<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you install the debugging symbols to get the lines that trigger
    the crash? Resend the gdb backtrace to investigate it. Also, the
    output for 'bt full' will be useful to see the values of variables.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 04/03/15 17:54, Lucas Wals Ochoa
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+zAimACLsgi9cPKM5QhH2_CB7hF_Z-hsTOjOZSZ1ELMVBP6DA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hello, this is the first time I send a question
                    here, hope my english is good enough to explain my
                    problem. <br>
                    <br>
                  </div>
                  I have a Kamailio 4.1.8+RTPProxy setup working, but
                  recently I saw RTP Engine proxy, so I decided to give
                  a try. I installed the latest kamailio stable version
                  (4.2.3) and adapt the configuration I have(that uses a
                  MariaDB database), to try the rtpengine module, but I
                  couldn't even start kamailio process, cause I received
                  a segfault problem at unixodbc module. The version of
                  unixodbc that I installed is 2.3.1-10<br>
                  <br>
                </div>
                That was the first time I encounter this error. I
                thought that maybe the database I have created with the
                version 4.1.8 wasn't compatible, so I decided to create
                a new database, but the problem persisted.<br>
                <br>
              </div>
              So I'm here to know if someone know something about this,
              or have had a similar problem.<br>
            </div>
            I attached the system log for Kamailio, and a backtrace I
            made using "gdb" with the corefile that Kamailio creates
            when it crash.<br>
            <br>
          </div>
          Log:<br>
          Mar  4 12:46:35 localhost systemd: Starting SYSV: Kamailio is
          a fast, reliable and flexible SIP Server....<br>
          Mar  4 12:46:35 localhost kamailio: WARNING: <core>
          [socket_info.c:1392]: fix_hostname(): could not rev. resolve
          10.0.0.70<br>
          Mar  4 12:46:35 localhost /usr/sbin/kamailio[2369]: WARNING:
          tm [tm.c:845]: mod_init(): WARNING: mod_init:
          reparse_on_dns_failover is enabled on a multihomed host --
          check the readme of tm module!<br>
          Mar  4 12:46:35 localhost /usr/sbin/kamailio[2369]: INFO: rr
          [../outbound/api.h:54]: ob_load_api(): Failed to import
          bind_ob<br>
          Mar  4 12:46:35 localhost /usr/sbin/kamailio[2369]: INFO: rr
          [rr_mod.c:160]: mod_init(): outbound module not available<br>
          Mar  4 12:46:35 localhost /usr/sbin/kamailio[2369]: INFO:
          usrloc [hslot.c:53]: ul_init_locks(): locks array size 1024<br>
          Mar  4 12:46:35 localhost /usr/sbin/kamailio[2369]: INFO: auth
          [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count
          (nc_enabled) support disabled<br>
          Mar  4 12:46:35 localhost kernel: kamailio[2369]: segfault at
          10070 ip 00007fc3d554df7e sp 00007fff89556450 error 4 in
          libmyodbc5w.so[7fc3d5527000+47000]<br>
          Mar  4 12:46:35 localhost kamailio: ERROR: <core>
          [daemonize.c:315]: daemonize(): Main process exited before
          writing to pipe<br>
          Mar  4 12:46:35 localhost kamailio: Starting kamailio:<br>
          Mar  4 12:46:35 localhost systemd: kamailio.service: control
          process exited, code=exited status=1<br>
          Mar  4 12:46:35 localhost systemd: Failed to start SYSV:
          Kamailio is a fast, reliable and flexible SIP Server..<br>
          Mar  4 12:46:35 localhost systemd: Unit kamailio.service
          entered failed state.<br>
          <br>
        </div>
        Backtrace of gdb:<br>
        <div>
          <div>Using host libthread_db library
            "/lib64/libthread_db.so.1".<br>
            Core was generated by `/usr/sbin/kamailio -P
            /var/run/kamailio.pid -m 64 -M 8 -u kamailio -g kamailio'.<br>
            Program terminated with signal 11, Segmentation fault.<br>
            #0  0x00007fc3d554df7e in get_ctype () from
            /usr/lib64/libmyodbc5.so<br>
            Missing separate debuginfos, use: debuginfo-install
            kamailio-4.2.3-3.1.x86_64<br>
            (gdb) backtrace <br>
            #0  0x00007fc3d554df7e in get_ctype () from
            /usr/lib64/libmyodbc5.so<br>
            #1  0x00007fc3d554dfac in init_parser () from
            /usr/lib64/libmyodbc5.so<br>
            #2  0x00007fc3d554ec41 in parse () from
            /usr/lib64/libmyodbc5.so<br>
            #3  0x00007fc3d5553484 in prepare () from
            /usr/lib64/libmyodbc5.so<br>
            #4  0x00007fc3d5559e9c in SQLPrepareWImpl () from
            /usr/lib64/libmyodbc5.so<br>
            #5  0x00007fc3d5559eb9 in SQLExecDirectW () from
            /usr/lib64/libmyodbc5.so<br>
            #6  0x00007fc3de43b05f in SQLExecDirect () from
            /lib64/libodbc.so.2<br>
            #7  0x00007fc3de695302 in db_unixodbc_submit_query () from
            /usr/lib64/kamailio/modules/db_unixodbc.so<br>
            #8  0x00007fc3de21522e in db_do_submit_query () from
            /usr/lib64/kamailio/libsrdb1.so.1<br>
            #9  0x00007fc3de215cf7 in db_do_query_internal () from
            /usr/lib64/kamailio/libsrdb1.so.1<br>
            #10 0x00007fc3de21661a in db_do_query () from
            /usr/lib64/kamailio/libsrdb1.so.1<br>
            #11 0x00007fc3de696d90 in db_unixodbc_query () from
            /usr/lib64/kamailio/modules/db_unixodbc.so<br>
            #12 0x00007fc3de20ce90 in db_table_version () from
            /usr/lib64/kamailio/libsrdb1.so.1<br>
            #13 0x00007fc3da209693 in init_ds_db () from
            /usr/lib64/kamailio/modules/dispatcher.so<br>
            #14 0x00007fc3da1f4f1a in mod_init () from
            /usr/lib64/kamailio/modules/dispatcher.so<br>
            #15 0x0000000000520e8d in init_mod ()<br>
            #16 0x0000000000520be8 in init_mod ()<br>
            #17 0x000000000052119a in init_modules ()<br>
            #18 0x0000000000517951 in main ()<br>
            <br>
          </div>
          <div>Hope someone can help me. Thanks in advance.<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>