[xcrysden] xcd aborts maybe in conjunction with some libraries

Lorenzo Paulatto paulatto at sissa.it
Wed Feb 4 15:09:11 CET 2009


Dear Tone and XCD users,
since some recent updated of my system (maybe from openSUSE 11.0 to 11.1, or same later stage) I cannot run XCD anymore, as I get some very cryptic "Aborted" error messages. This holds for all binary versions and for the "bare" source version, which I have compiled against Tcl/Tk 8.5.5 and freeglut 080721 / Mesa 7.2.

The following is the output of "./xcrysden -d", and the consequent backtrace in gdb (xcd source was compiled with -g switch)

Nothe that /usr/X11R6/lib/libGL.so.1 belogs to nvidia binary drivers, but even if I force it to the Mesa one (using LD_PRELOAD) the outcome is the same. cheers


$./xcrysden -d               

+----------------------------------------------------------------+
|****************************************************************|
|*                                                              *|
|*  XCrySDen - (X-Window) CRYstalline Structures and DENsities  *|
|*              =         ===         =              ===        *|
|*--------------------------------------------------------------*|
|*                                                              *|
|*    Anton Kokalj (Tone.Kokalj at ijs.si)                         *|
|*    Jozef Stefan Institute, Ljubljana, Slovenia               *|
|*                                                              *|
|*    Copyright (c) 1996--2004 by Anton Kokalj                  *|
|*                                                              *|
|****************************************************************|
+----------------------------------------------------------------+

  Version: 1.5.17

  Please report bugs to: Tone.Kokalj at ijs.si


  TERMS OF USE:
  -------------
  XCRYSDEN is released under the GNU General Public License.

  Whenever graphics generated by XCRYSDEN are used in scientific
  publications, it shall be greatly appreciated to include an explicit
  reference. The preferred form is the following:                     

  [ref] A. Kokalj, Comp. Mater. Sci., Vol. 28, p. 155, 2003.
        Code available from http://www.xcrysden.org/.       

        linux-gate.so.1 =>  (0xffffe000)
        libtk8.5.so => /usr/lib/libtk8.5.so (0xb7ea1000)
        libtcl8.5.so => /usr/lib/libtcl8.5.so (0xb7d85000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7d12000)  
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb7c58000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7c3e000)    
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b0b000)    
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7afa000)  
        libm.so.6 => /lib/libm.so.6 (0xb7ad1000)            
        libc.so.6 => /lib/libc.so.6 (0xb7975000)            
        libpthread.so.0 => /lib/libpthread.so.0 (0xb795b000)
        libXss.so.1 => /usr/lib/libXss.so.1 (0xb7956000)    
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb7941000)    
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb78c0000)
        libz.so.1 => /lib/libz.so.1 (0xb78ab000)                  
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb787a000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7870000)      
        libdl.so.2 => /lib/libdl.so.2 (0xb786a000)                    
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7776000)        
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7767000)              
        libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0xb68fc000)  
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb68fa000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb689e000)                    
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6895000)                    
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb687a000)                  
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6877000)        
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6859000)                  
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6855000)                  
        /lib/ld-linux.so.2 (0xb7ffb000)                                   
        libexpat.so.1 => /lib/libexpat.so.1 (0xb682c000)                  
        libuuid.so.1 => /lib/libuuid.so.1 (0xb6826000)                    
XCRYSDEN_TOPDIR=/tmp/XCrySDen-1.5.17-src                                  
XCRYSDEN_SCRATCH=/tmp/xc-paulatto                                         

GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 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 "i586-suse-linux".                                
For bug reporting instructions, please see:                                  
<http://bugs.opensuse.org/>...                                               
[Thread debugging using libthread_db enabled]                                
Running on platform: unix                                                    
Taking settings for 1280x800 screen-resolution !!!                           
-------------------                                                          
Small  Font Size set to:   -14
Normal Font Size set to:   -12
Package ImageMagick's import: /usr/bin/import
can't find package: gifsicle
Package Whirlgif: /usr/bin/whirlgif
can't find package: mencoder
can't find package: ppmtompeg
can't find package: babel
Package Xwd: /usr/bin/xwd
Executing: /tmp/XCrySDen-1.5.17-src/bin/ftnunit

Program received signal SIGABRT, Aborted.
0xffffe430 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7984990 in raise () from /lib/libc.so.6
#2  0xb79862c8 in abort () from /lib/libc.so.6
#3  0xb79c6683 in ?? () from /lib/libc.so.6
#4  0xb79c7edb in free () from /lib/libc.so.6
#5  0xb68dfa60 in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#6  0xb7d8f956 in TclInvokeStringCommand () from /usr/lib/libtcl8.5.so
#7  0xb7d927cb in ?? () from /usr/lib/libtcl8.5.so
#8  0xb7ddc1f6 in ?? () from /usr/lib/libtcl8.5.so
#9  0xb7e27c2f in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#10 0xb7e29590 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#11 0xb7d927cb in ?? () from /usr/lib/libtcl8.5.so
#12 0xb7d935e9 in ?? () from /usr/lib/libtcl8.5.so
#13 0xb7d9401e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#14 0xb7d9449d in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#15 0xb7d9bcdd in ?? () from /usr/lib/libtcl8.5.so
#16 0xb7d927cb in ?? () from /usr/lib/libtcl8.5.so
#17 0xb7d9398e in ?? () from /usr/lib/libtcl8.5.so
#18 0xb7d9401e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#19 0xb7e0440f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#20 0xb7ebfc43 in Tk_MainEx () from /usr/lib/libtk8.5.so
#21 0x08051cef in main (argc=4, argv=0xbfffe874) at xcAppInit.c:432
(gdb) q
The program is running.  Quit anyway (and kill it)? (y or n) y

best regards!

-- 
Lorenzo Paulatto
SISSA  &  DEMOCRITOS (Trieste)
phone: +39 040 3787 511
skype: paulatz
www:   http://people.sissa.it/~paulatto/

     *** save italian brains ***
 http://saveitalianbrains.wordpress.com/


More information about the XCrySDen mailing list