Skip to Content.
Sympa Menu

mathemagix-devel - [Fwd: [Mmx-commits] Bug report: mmx crashes on intel based macs]

Subject: Mathemagix

List archive

[Fwd: [Mmx-commits] Bug report: mmx crashes on intel based macs]


Chronological Thread 
  • From: address@concealed
  • To: address@concealed
  • Cc: "Julien Wintz" <address@concealed>
  • Subject: [Fwd: [Mmx-commits] Bug report: mmx crashes on intel based macs]
  • Date: Thu, 18 Oct 2007 20:04:34 +0200 (CEST)
  • Importance: Normal

Julien,

The mailing on mathemagix is available at
http://www.mathemagix.org/mmxweb/web/ml.en.html

B.


--- Begin Message ---
  • From: Julien Wintz <address@concealed>
  • To: address@concealed
  • Subject: [Mmx-commits] Bug report: mmx crashes on intel based macs
  • Date: Thu, 18 Oct 2007 13:41:39 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/mmx-commits>
  • List-id: cvs commits <mmx-commits.lists.gforge.inria.fr>
After a successfull build of mmx using the fink readline package (which provides history.h contrarily to the default readline provided by the Apple developer tools) and a make install to overcome libtool problem on macs, I get a bus error error when launching mmx-light, here is the corresponding trace:

(gdb) run
Starting program: /Users/jwintz/devel/mmx/mmxlight/build/.libs/mmx-light 
Reading symbols for shared libraries .+.++ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000014
0x00233cad in mmx::table_rep<mmx::mixed_symbol_rep<mmx::literal>*, mmx::literal, mmx::eq_op>::get (this=0x0, x=@0xbffff644) at /Users/jwintz/devel/mmx/include/basix/table.hpp:211
211       list<pair<T,C> > l (a [V::hash_op (x) & (n-1)]);
(gdb) where
#0  0x00233cad in mmx::table_rep<mmx::mixed_symbol_rep<mmx::literal>*, mmx::literal, mmx::eq_op>::get (this=0x0, x=@0xbffff644) at /Users/jwintz/devel/mmx/include/basix/table.hpp:211
#1  0x004a77ac in mmx::generic::generic ()
#2  0x00485a7f in __static_initialization_and_destruction_0 ()
#3  0x8fe0fcc4 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
#4  0x8fe0a1c6 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
#5  0x8fe0a164 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
#6  0x8fe0a164 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
#7  0x8fe0c646 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#8  0x8fe03070 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#9  0x00001de1 in _call_mod_init_funcs () at /SourceCache/Csu/Csu-58/crt.c:304
#10 0x00001d0d in _start (argc=1, argv=0xbffff87c, envp=0xbffff884) at /SourceCache/Csu/Csu-58/crt.c:222
#11 0x00001cbd in start ()

Dependencies seem correct:

jwintz@teddysmis:~/devel/mmx/mmxlight/build/.libs$ otool -L mmx-light 
mmx-light:
        /usr/local/lib/libmmxlight.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/lib/libbasix.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libltdl.3.dylib (compatibility version 5.0.0, current version 5.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)
        /sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current version 5.0.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Here my gcc version:

jwintz@teddysmis:~/devel/mmx/mmxlight/build/.libs$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
Copyright (C) 2005 Free Software Foundation, Inc.

Julien.
_______________________________________________
Mmx-commits mailing list
address@concealed
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/mmx-commits

--- End Message ---



Archive powered by MHonArc 2.6.18.

Top of Page