Compilation of net-im/sim-0.9.3-r3 with x86_64-pc-linux-gnu-3.4.3 and glibc-2.3.5 is no problem. Starting it configuring an existing ICQ-UIN produces a crash. USE-Flags kde and ssl are enabled KDE-Version: 3.4.1 Reproducible: Always Steps to Reproduce: 1. Start sim 2. Configure your existing ICQ-UIN 3. Wait until crash Actual Results: My terminal emits the following lines (including white-space, I replaced my UIN): 20:47:49 [DBG] Start connect login.icq.com:5190 20:47:49 [DBG] Connect to login.icq.com:5190 20:47:49 [DBG] Start resolve login.icq.com. 20:47:49 [DBG] Resolve ready 205.188.179.233 20:47:49 [DBG] Connected 20:47:49 [DBG] Login ******** [C
Compilation of net-im/sim-0.9.3-r3 with x86_64-pc-linux-gnu-3.4.3 and glibc-2.3.5 is no problem. Starting it configuring an existing ICQ-UIN produces a crash. USE-Flags kde and ssl are enabled KDE-Version: 3.4.1 Reproducible: Always Steps to Reproduce: 1. Start sim 2. Configure your existing ICQ-UIN 3. Wait until crash Actual Results: My terminal emits the following lines (including white-space, I replaced my UIN): 20:47:49 [DBG] Start connect login.icq.com:5190 20:47:49 [DBG] Connect to login.icq.com:5190 20:47:49 [DBG] Start resolve login.icq.com. 20:47:49 [DBG] Resolve ready 205.188.179.233 20:47:49 [DBG] Connected 20:47:49 [DBG] Login ******** [Cõ¨\àè] 20:47:49 [DBG] Connect to 64.12.24.108:5190 20:47:49 [DBG] Resolve ready 64.12.24.108 20:47:49 [DBG] Connected 20:47:49 [DBG] Server ready 20:47:49 [DBG] lists request 20:47:49 [DBG] > delay 0 22 20:47:49 [DBG] > delay 0 38 20:47:49 [DBG] > delay 0 54 20:47:49 [DBG] > delay 0 70 20:47:49 [DBG] > delay 0 86 20:47:50 [DBG] Name info 20:47:50 [DBG] List rights 20:47:55 [DBG] < delay 22 86 20:47:55 [DBG] < delay 38 86 20:47:55 [DBG] < delay 54 86 20:47:55 [DBG] < delay 70 86 20:47:55 [DBG] < delay 86 86 20:47:55 [DBG] Delay init 20:47:56 [DBG] Location rights granted 20:47:56 [DBG] Buddy rights granted 20:47:56 [DBG] Message rights granted 20:47:56 [DBG] BOS rights granted 20:47:56 [DBG] Rosters 20:47:56 [DBG] Ignore 56484793 *** glibc detected *** malloc(): memory corruption: 0x000000000089ead0 *** Expected Results: The sim-gui should start. Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r1 x86_64) ================================================================= System uname: 2.6.12-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi aim alsa amd apache2 apic apm avi bash-completion berkdb bidi bitmap-fonts cdr clflush cmov cpudetection crypt cups curl cx8 de dga dhcp dvd dvdr dvdread encode f77 fam flac font-server foomaticdb fortran fpu fxsr gcj gdbm gif gimpprint glut gphoto2 gpm gtk2 icq imagemagick ipv6 jabber java jikes jp2 jpeg jpeg2k junit kde kerberos ldap libclamav libwww lm logitech-mouse lzw lzw-tiff mad mca mce mng motif mozaccess mozcalendar mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer msn msr mtrr mysql ncurses nls nptl nptlonly nvidia nvis nx odbc ogg oggvorbis opengl openssh pae pam pat pdf perl pge plotutils plugin png povray ppds proj pse pse36 python qt quicktime rdesktop readline real samba scanner sdl sep sftp ssl svg svgz syscall tcltk tcpd tetex theora tiff truetype truetype-fonts tsc type1-fonts unicode usb userlocales vim-with-x vme vorbis winbind wmf xanim xine xinerama xml2 xmms xpm xprint xrandr xscreensaver xv xvid yahoo zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Patches from author's site http://sourceforge.net/tracker/index.php? func=detail&aid=1110526&group_id=56866&atid=482104 I apply these patches. As result - sim runs correctly. I create new ebuild file that use these patches. If need I can send it with simple instruction how to install it.
Hello Sergey, thanks a lot - as I see, your help is already some days old ;-). An ebuild would be great! I like sim very much! Yours truly Martin
Created attachment 63913 [details] here you go (an ebuild incorporating fixes for amd64) I incorporated the patches, seems to build and run fine here (amd64). The fixes are really to undo stupid assumption of x86 everywhere (stuff like sizeof(type) instead of sizeof(var)) and should work on all arches. Therefore I did not wrap them into if [ ${ARCH} == ... (but please test on your arch before adding the corresponding keyword!) Three of the patches were made into 3 sed lines in ebuild, one was kept. I will attach it next. I also cleaned up ebuild a bit - there were two epatch lines in the src_compile. All [e]patches, seds and other modifications to source belong to src_unpack!!! Anyway, moved them to a proper place, otherwise its just the -r3 version.
Created attachment 63914 [details] the only patch that's left, referenced in previous comment
Ok, that does not fix it completely. It connects fine now, and sits there as long as there is silence. But upon actually starting to talk it crashes at random, usually within few first messages (at least on cyrillic messages, cp1251 encoding). Very unstable :(. Stand by for another trial. George
Created attachment 64129 [details] new version of type validity corrections Ok, here goes. Seems to withstand at least some usage testing this time.Plase text in and out first though! Especially on non-amd64 arches (the fix should be universal). George
Ok, this does not fix all of it :(. With these patches it works fine with some users (notably running mirinda), while fails with others. Apparently some stuff is still missing.. George
Thanks George for your help. For me it seems to be as before: SIM compiles but if I enter my ICQ-UIN and password it crashes. .... *** glibc detected *** malloc(): memory corruption: 0x00000000007c3aa0 *** Should I do some other testing or debugging? Greetings Martin
Re-assign.
I've added svn snapshot of sim into portage tree (0.9.4_pre060114). It's still hard masked. You may wish to test and report if this bug is fixed. To emerge sim you need to unmask it with the following commands echo "net-im/sim" >> /etc/portage/package.unmask echo "net-im/sim ~arch" >> /etc/portage/package.keywords where arch is your either x86 or amd64. Then emerge sim. Feedback is wellcome. :)
Here you go (feedback). I have been running it since 16th or so and it works fine. I had one contact on whom previous version was crashing all the time (any time I'd get a message), even with my patches (although it has been fine with everybody else) and now the problem is gone even with that contact. Thanks! George
Closing. Bug is fixed.