Re: [Users] Starting mbuni mmsbox
De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 29 June 2012 09:40 À : HARLOW Peter Objet : Re: [Users] Starting mbuni mmsbox I don't have Ubuntu. Would you be able to run this in gdb and give me a backtrace just after the segfault? I am sure we can track this down. pete@cloudserver:~$ gdb /usr/local/bin/mmsbox GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 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 "i686-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/local/bin/mmsbox...done. (gdb) run /var/www/mms/confmbuni/mmsbox.conf Starting program: /usr/local/bin/mmsbox /var/www/mms/confmbuni/mmsbox.conf [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Running in mms_lib_init() Init random Init gwlib Init strings In mms_strings_init Program received signal SIGSEGV, Segmentation fault. 0xb7f0a8ab in octstr_imm (cstr=0xb7e15f25 "image/jpeg") at gwlib/octstr.c:295 295 if (immutables[i] == NULL || immutables[i]->data == data) (gdb) bt #0 0xb7f0a8ab in octstr_imm (cstr=0xb7e15f25 "image/jpeg") at gwlib/octstr.c:295 #1 0xb7de9c98 in construct_linear_table (table=0xb7e35e8c, strings=, size=83) at wap/wsp_strings.c:237 #2 0xb7dea630 in wsp_strings_init () at wap/wsp_strings.def:192 #3 0xb7dcd692 in mms_strings_init () at mms_strings.c:219 #4 0xb7dd2645 in mms_lib_init () at mms_util.c:241 #5 0x0804e103 in main (argc=2, argv=0xb2b4) at mmsbox.c:543 (gdb) On Jun 29, 2012, at 09:25, HARLOW Peter wrote: De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 29 June 2012 09:17 À : HARLOW Peter Cc : users@mbuni.org<mailto:users@mbuni.org> Objet : Re: [Users] Starting mbuni mmsbox What version of gcc do you have? Works perfectly fine on my SuSE 12.1 pete@cloudserver:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) I also tried a 'proper' root account rather than sudo - no difference. Regards, Pete. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 29 June 2012 09:17 À : HARLOW Peter Cc : users@mbuni.org Objet : Re: [Users] Starting mbuni mmsbox What version of gcc do you have? Works perfectly fine on my SuSE 12.1 pete@cloudserver:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) I also tried a 'proper' root account rather than sudo - no difference. Regards, Pete. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
What version of gcc do you have? Works perfectly fine on my SuSE 12.1 On Jun 28, 2012, at 17:00, HARLOW Peter wrote: > De : Paul Bagyenda [mailto:bagye...@dsmagic.com] > Envoyé : 28 June 2012 16:40 > À : HARLOW Peter > Objet : Re: [Users] Starting mbuni mmsbox > > Is this on Amazon EC2 by any chance? We've had a similar problem and can't > quite work out what has caused it. > On Jun 28, 2012, at 16:26, HARLOW Peter wrote: > > No, I'm running this on Kubuntu 12.04 LTS (Precise Pangolin) on an IBM/Lenovo > ThinkCenter i386 box. > > Regards, > > Pete. > > ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 28 June 2012 16:40 À : HARLOW Peter Objet : Re: [Users] Starting mbuni mmsbox Is this on Amazon EC2 by any chance? We've had a similar problem and can't quite work out what has caused it. On Jun 28, 2012, at 16:26, HARLOW Peter wrote: No, I'm running this on Kubuntu 12.04 LTS (Precise Pangolin) on an IBM/Lenovo ThinkCenter i386 box. Regards, Pete. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
I have installed Kannel gateway-1.4.3 from sources. This is the same version as the earlier install I had from Ubuntu repositories. Regards, Pete. [@@THALES GROUP RESTRICTED@@] De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 28 June 2012 15:19 À : HARLOW Peter Cc : users@mbuni.org Objet : Re: [Users] Starting mbuni mmsbox What version of Kannel's libs are you using? Paul. On Jun 27, 2012, at 11:14, HARLOW Peter wrote: I have been trying to use mmsbox on a PC running Kubuntu. I have Kannel installed and operating. On starting mmsbox, it just returns (unless I start it non - root, when it segfaults). There is no output. I have tried Kannel from the Ububtu repository, and compiling from source, the same for cURL. I have tried the latest Mbuni, and also the cvs version. I have tried with and without configuration files, and command line switches. I have disabled seLinux. What is the obvious thing I am doing wrong? Regards, ___ Users mailing list Users@mbuni.org<mailto:Users@mbuni.org> http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
What version of Kannel's libs are you using? Paul. On Jun 27, 2012, at 11:14, HARLOW Peter wrote: > I have been trying to use mmsbox on a PC running Kubuntu. > > I have Kannel installed and operating. > > On starting mmsbox, it just returns (unless I start it non - root, when it > segfaults). > > There is no output. > > I have tried Kannel from the Ububtu repository, and compiling from source, > the same for cURL. > > I have tried the latest Mbuni, and also the cvs version. > > I have tried with and without configuration files, and command line switches. > > I have disabled seLinux. > > What is the obvious thing I am doing wrong? > > Regards, > ___ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
Further to my post yesterday I have poked around a bit and it seems mmsbox segfaults on calling wsp_strings_init(). Is this a library problem? Regards, De : users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] De la part de HARLOW Peter Envoyé : 27 June 2012 11:15 À : users@mbuni.org Objet : [Users] Starting mbuni mmsbox I have been trying to use mmsbox on a PC running Kubuntu. I have Kannel installed and operating. On starting mmsbox, it just returns (unless I start it non - root, when it segfaults). There is no output. I have tried Kannel from the Ububtu repository, and compiling from source, the same for cURL. I have tried the latest Mbuni, and also the cvs version. I have tried with and without configuration files, and command line switches. I have disabled seLinux. What is the obvious thing I am doing wrong? Regards, ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users