De : Paul Bagyenda []
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 <>
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:
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/".
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 
#1  0xb7de9c98 in construct_linear_table (table=0xb7e35e8c, strings=<optimized 
out>, 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=0xbffff2b4) at mmsbox.c:543

On Jun 29, 2012, at 09:25, HARLOW Peter wrote:

De : Paul Bagyenda []
Envoyé : 29 June 2012 09:17
À : HARLOW Peter
Cc :<>
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.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
 --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.



Users mailing list

Reply via email to