Re: [Openh323gk-users] segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libgdbm.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x40d5343e in std::ios_base::_M_call_callbacks(std::ios_base::event) ()
   from /usr/lib/libstdc++.so.5

I think that I am getting closer and closer (thanks Andrey, other also
suggested the same). It seems there is a
problem in libstdc in Redhat 9.

rpm -qa | grep libstdc
libstdc++-3.2.2-5
libstdc++-devel-3.2.2-5

This is what I have in my environment:

CFLAGS=-O9 -funroll-loops -ffast-math -malign-double -mcpu=i686 -march=i686 
-fomit-frame-pointer -fno-exceptions

To remove the -f-noexceptions I issue: "export CFLAGS=" and then do a
compilation:

# NO_LDAP=1 make both
g++ -DHAS_RADIUS -DHAS_WAITARQ=1  -DP_LINUX=2.4.20-8smp -DOPENSSL_NO_KRB5 -D
_REENTRANT -Wall -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib
/unix -I/root/pwlib/include -DPTRACING -I/root/openh323/include -DHAS_IXJ -D
HAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  
-c radproto.cxx -o obj_linux_x86_r/radproto.o
g++ -DHAS_RADIUS -DHAS_WAITARQ=1  -DP_LINUX=2.4.20-8smp -DOPENSSL_NO_KRB5 -D
_REENTRANT -Wall -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib
/unix -I/root/pwlib/include -DPTRACING -I/root/openh323/include -DHAS_IXJ -D
HAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  
-c radauth.cxx -o obj_linux_x86_r/radauth.o

...




----- Original Message -----
From: "Andrey S Pankov" <casper@kbuapa.kharkov.ua>
To: <openh323gk-users@lists.sourceforge.net>
Sent: Tuesday, August 05, 2003 1:30 PM
Subject: Re: [Openh323gk-users] segmentation fault


Hi,

Can you show your trace log from gnugk (gnugk -ttttt -o gnugk.log)?

What shows backtrace from gdb?
$ulimit -Sc <blocks>
$gnugk
[segfault]
$gdb gnugk core
>bt
[backtrace output]
>quit
$

What was your complilation options? Perhaps you need to disable
optimizations
or remove some -f options...

--
Best regards,
Andrey S Pankov.

В сообщении от Вторник 05 Август 2003 00:08 Teodor Georgiev написал:
> Ok, I overcomed the problem with "-fno_exceptions" on Redhat (just had to
> clear the environment variable).
> I compiled gnugk, but it gives a segmentation fault (on both the "d" and
> "r" versions).
>
> OS: Redhat 9
> PWLIB - 1.5.0
> OPENH323 - 1.12.0
> GnuGk - 2.05, compiled with "NO_LDAP=1 make both"
>
> by issuing strace I see:
>
> rk(0)                                  = 0x852b000
> brk(0x852c000)                          = 0x852c000
> ioctl(9, 0x8912, 0xbfffdd98)            = 0
> ioctl(9, 0x8913, 0xbfffde70)            = 0
> ioctl(9, 0x8927, 0xbfffde70)            = 0
> ioctl(9, 0x8915, 0xbfffde70)            = 0
> ioctl(9, 0x891b, 0xbfffde70)            = 0
> ioctl(9, 0x8913, 0xbfffde70)            = 0
> ioctl(9, 0x8927, 0xbfffde70)            = 0
> ioctl(9, 0x8915, 0xbfffde70)            = 0
> ioctl(9, 0x891b, 0xbfffde70)            = 0
> shutdown(9, 2 /* send and receive */)   = -1 ENOTCONN (Transport endpoint
> is not connected)
> sched_yield()                           = 0
> sched_yield()                           = 0
> close(9)                                = 0
> futex(0xbfffdfb8, FUTEX_WAKE, 1, {139566408, 0}) = 0
> futex(0xbfffdf38, FUTEX_WAKE, 1, {139566408, 0}) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
>
> Any ideas?
>
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> List: Openh323gk-users@lists.sourceforge.net
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id┘49
Homepage: http://www.gnugk.org/




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux