aMSN Forums
May 24, 2013, 11:40:19 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Seg fault with Amsn on Slackware 11.0  (Read 4554 times)
clik
Newbie

Offline Offline

Posts: 10


View Profile
« on: November 14, 2006, 08:04:52 pm »

HI all!

This my last opportunity because i have tryed to resolve myself this problem but at this moment i'm lost.

I have installed Slackware 11.0 with official packages only.

A day, without any change on my system i had problems with amsn  

I tryed to resolve it upgrading amsn to amsn 0.96RC! but was unsuccessfully

I tryied :

Upgrade and downgrade amsn version from source, TGZ and bitrick installer
remove .amsn directory
remove all *amsn* entries on my system
reinstall tcl and TK from package and compiling it

Upgrade my kernel from 2.6.18.1 to 2.6.18.2

launch amsn as root (i know the problems.. but was for testing purpose  Cheesy )

execute manually this script step by step


Code:
#!/bin/bash
cd /opt
# PREPARE
wget http://dl.sourceforge.net/sourceforge/tcl/tk8.5a4-src.tar.gz
wget http://dl.sourceforge.net/sourceforge/tcl/tcl8.5a4-src.tar.gz
tar xvf tk8.5a4-src.tar.gz
tar xvf tcl8.5a4-src.tar.gz
rm tk8.5a4-src.tar.gz
rm tcl8.5a4-src.tar.gz
# TCL COMPILATION
cd /opt/tcl8.5a4/unix
sed -i.bak "s/relid'/relid/" configure
./configure --prefix=/usr --enable-threads --disable-64bit
make
make install
mv /usr/bin/tclsh8.5 /usr/bin/tclsh
mkdir -p /usr/include/tcl
cd /opt/tcl8.5a4/generic
cp -v *.h /usr/include/tcl
# TK COMPILATION
cd /opt/tk8.5a4/unix
./configure --prefix=/usr --enable-xft
sed -i.bak 's|tclUnixPort\.h|\.\./unix/tclUnixPort\.h|'
/opt/tcl8.5a4/generic/tclPort.h
make TCL_GENERIC_DIR=/opt/tcl/8.5a4/generic TCLDIR=/opt/tcl8.5a4
/TOOL_DIR=/opt/tcl8.5a4/tools
8.5a4
make TCL_GENERIC_DIR=/opt/tcl8.5a4/generic TCLDIR=/opt/tcl8.5a4
TOOL_DIR=/opt/tcl$pkgver/tools install
ln -s /usr/bin/wish8.5 /usr/bin/wish



And finally i installed amsn on a new slackware installation under vmware.


All things was unsuccesfully and i think that or is a bug or i have any incompatibilty on my system.

My sof version there are :

Code:



mod_ssl-2.8.28_1.3.37-i486-1 (477 kB) [Status: INSTALLED]
openssl-0.9.8d-i486-1 (3398 kB) [Status: INSTALLED]
openssl-solibs-0.9.8d-i486-1 (832 kB) [Status: INSTALLED]
tcl-8.4.13-i486-2 (2168 kB) [Status: INSTALLED]
tclx-8.3.5-i486-2 (617 kB) [Status: INSTALLED]
tix-8.1.4-i486-2 (986 kB) [Status: INSTALLED]
tk-8.4.13-i486-1 (1952 kB) [Status: INSTALLED]

tls1.5 (not appers on my package log



Code:

gdb) bt full
#0  0xb78e99b3 in sk_pop_free () from /usr/lib/libcrypto.so.0
No symbol table info available.
#1  0x0000015a in ?? ()
No symbol table info available.
#2  0xb7973920 in ?? () from /usr/lib/libcrypto.so.0
No symbol table info available.
#3  0x086f9478 in ?? ()
No symbol table info available.
#4  0xb79bf858 in ?? () from /usr/lib/libssl.so.0
No symbol table info available.
#5  0x086f6208 in ?? ()
No symbol table info available.
#6  0x0870cfc0 in ?? ()
No symbol table info available.
#7  0xbf94c308 in ?? ()
No symbol table info available.
#8  0xb79ae1e4 in SSL_CTX_free () from /usr/lib/libssl.so.0
No symbol table info available.
#9  0xb79c5497 in get_dh512 () from /usr/lib/libtls1.50.so
No symbol table info available.


I have this error collected by GDB


Please, any idea? if not i'm thinking to use msn messenger via Wine  :?
Logged
clik
Newbie

Offline Offline

Posts: 10


View Profile
« Reply #1 on: November 14, 2006, 08:09:06 pm »

i forgot... thanks in advance!  Cheesy
Logged
JeeBee
Power user
*
Offline Offline

Posts: 139


View Profile
« Reply #2 on: November 14, 2006, 08:41:10 pm »

Quote

All things was unsuccesfully and i think that or is a bug or i have any incompatibilty on my system.

... what you mean with that?
You had any error messages when installing / configuring amsn? Or did you mean all was
successfull?

And further, when exactly does it go wrong?
Right after you start amsn each time? Or e.g. when you start webcam, right after signing in, at random points in times?

You're doing some weird things when installing tcl/tk. Moving header files around? Anyways, I didn't read everything well enough yet. One thing you could try is to disable threads.

Edit : and yeah, you have to install tcltls.
Logged
clik
Newbie

Offline Offline

Posts: 10


View Profile
« Reply #3 on: November 14, 2006, 09:12:15 pm »

Quote from: "JeeBee"
Quote

All things was unsuccesfully and i think that or is a bug or i have any incompatibilty on my system.

... what you mean with that?
You had any error messages when installing / configuring amsn? Or did you mean all was
successfull?

And further, when exactly does it go wrong?
Right after you start amsn each time? Or e.g. when you start webcam, right after signing in, at random points in times?

You're doing some weird things when installing tcl/tk. Moving header files around? Anyways, I didn't read everything well enough yet. One thing you could try is to disable threads.

Edit : and yeah, you have to install tcltls.


All things was unsuccesfully and i think that or is a bug or i have any incompatibilty on my system.

The mining is that always i'm receiiving seg fault after put my password. Installing or configuring amsn i don't have any problem from source, tgz or bitrock installer.


I reinstalled too tcltls . In Spanish forum i had help to install tls1.4 but i can't find it !!


And finally, how can i disable threads ?

Thanks!
Logged
JeeBee
Power user
*
Offline Offline

Posts: 139


View Profile
« Reply #4 on: November 14, 2006, 09:18:58 pm »

See configure --help for all available options. You provided --enable-threads, you need --disable-threads (i think that's the default).
Also make sure you are not mixing versions, this is another source for segfaults.
(like tcl8.5 with tcl8.4 libraries or two versions of tls, etc etc).
Logged
clik
Newbie

Offline Offline

Posts: 10


View Profile
« Reply #5 on: November 14, 2006, 09:43:16 pm »

Quote from: "JeeBee"
See configure --help for all available options. You provided --enable-threads, you need --disable-threads (i think that's the default).
Also make sure you are not mixing versions, this is another source for segfaults.
(like tcl8.5 with tcl8.4 libraries or two versions of tls, etc etc).


Code:
amsn-0.96RC1$ ./configure --disable-threads
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... using tcl library in /usr/lib
checking tk build dir... using tk library in /usr/lib
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h
config.status: utils/linux/capture/config.h is unchanged

compile time options summary
============================

    X11          : yes
    Tcl          : 8.4
    TK           : 8.4
    DEBUG        : no
    STATIC       : no


 Sad i have the same error. I don't have more ideas. configure is correct. I have the same versions in TCL and TK. I don't have one TSL but i can't use amsn yet. I hope see the light  Cheesy  (directly translated from spanish, i'm not sure if it's used in english)
Logged
JeeBee
Power user
*
Offline Offline

Posts: 139


View Profile
« Reply #6 on: November 14, 2006, 10:48:30 pm »

Well, your error suggests a missing tls, so do try to install tcltls.
It seems a non-existing functions is called.
Further, as threads are concerned, this was at the place where you provided --enable-threads,
*not* the configure script of amsn! So you did this at the wrong place.
Logged
clik
Newbie

Offline Offline

Posts: 10


View Profile
« Reply #7 on: November 15, 2006, 08:07:03 pm »

I have replaced my tls1.5 by tls1.4 in /usr/lib and...


deleting too my /lib/libtls1.5


At this moment is working fine and i0d like t thank JeeBe his help.

Thanks!!
Logged
clik
Newbie

Offline Offline

Posts: 10


View Profile
« Reply #8 on: November 15, 2006, 08:13:57 pm »

Quote from: "clik"
I have replaced my tls1.5 by tls1.4 in /usr/lib and...


deleting too my /lib/libtls1.5


At this moment is working fine and i0d like t thank JeeBe his help.

Thanks!!


but... i can't have chats . i receipt this error

20:14:51] The following message could not be delivered:
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #9 on: November 15, 2006, 08:16:33 pm »

might be a server problem or the other user disconnected, try reconnecting and try to chat with a few people to see the result...
if still not working after 24hours, then send the protocol log, ctrl-d from the main window, clear it, open a chat window, send a message, wait until the error happens, then paste that file's content.
you can censor any private information (like email addresses)
Logged

KaKaRoTo
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #10 on: November 16, 2006, 12:16:30 pm »

It *IS* a server error Smiley Today it seems OK - it takes ages to log in but at least chats work...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!