Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-11-23
09:05 • Closed ticket [637798ffff]: seg fault when linking Tcl+ImageMagick plus 8 o... artifact: d654cdf911 user: hobbs
2002-11-13
21:48 • Ticket [637798ffff]: 4 changes artifact: 87df9e5e87 user: nobody
14:46 • New ticket [637798ffff]. artifact: b3cdec8564 user: nobody

seg fault when linking Tcl+ImageMagick

Closed / Rejected637798ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-11-13 14:46:06
System:
Red Hat 8.0, Kernel 2.4.18-17.8.0
i686 athlon
gcc 3.2-7

Building a simple c++ program that links the static 
libraries Tcl 8.4.1 and the ImageMagick 5.5.1 
together results in a segmentation fault whenever the 
program is executed. When the program links only one 
of the libs, everything works fine.  Also, building the 
same program with Tcl and ImageMagick with an older 
version of gcc (2.95) works.

All libs were build with gcc 3.2-7.  

ImageMagick can be obtained via

www.imagemagick.org
nobodyplain2002-11-13 21:48:39
Logged In: NO 

a sample program to reproduce the error can be obtained 
via 

www.informatik.uni-mannheim.de/~jvogel/bug.zip
hobbsplain2002-11-23 09:05:59
Logged In: YES 
user_id=72656

Were all these things compiled with 3.2?  Note that 3.2 has 
C++ ABI issues, so you need to always compile with one 
version of gcc.  In any case, Tcl does not have C++ itself.  I 
fail to see how this can be a bug on Tcl's part.
Log in (anonymous is fine) to add a comment.