On Wednesday, February 5, 2003, at 01:56 AM, Thorsten Bartels-Rausch wrote:
Hi,
I don't know how to make fink packages, but could really need Scigraphica, http://scigraphica.sourceforge.net. It used to be included in fink, does anyone of you has time to make a package?
scigraphica was removed from fink because it didn't compile on 10.2. However, i just looked at the 10.1 package and figured out one of the problems.
(jsw: The -ltermcap removal (first patch) in the scigraphica patch file is not needed on 10.2, and it actually broke 10.2. Without that patch, it compiles fine. )
However, upon running it generated an interesting "double" dlcompat crash "dead lock". It crashed once, but TWO crash logs were generated. :)
% scigraphica
dyld: scigraphica dead lock (dyld operation attempted in a thread already doing a dyld operation)
DLDEBUG: finding file /sw/lib/libimlib-png.so
DLDEBUG: looking for status
DLDEBUG: looking for status
Command: scigraphica
PID: 29608
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xa6e17ac0
Thread 0 Crashed:
#0 0x8fe050a4 in map_image
#1 0x8fe03ba0 in map_library_image
#2 0x8fe031d0 in load_library_image
#3 0x8fe06134 in load_images_libraries
#4 0x8fe04478 in map_bundle_image
#5 0x8fe1209c in _dyld_link_module
#6 0x90016ac8 in NSLinkModule
#7 0x005896d8 in _PyImport_GetDynLoadFunc
#8 0x0057aeb4 in _PyImport_LoadDynamicModule
#9 0x0057740c in load_module
#10 0x00578380 in import_submodule
#11 0x00577e0c in load_next
#12 0x00579be4 in import_module_ex
#13 0x00578eac in PyImport_ImportModuleEx
#14 0x0054cf84 in builtin___import__
#15 0x004fd068 in PyObject_Call
#16 0x005566a0 in PyEval_CallObjectWithKeywords
#17 0x004f9b48 in PyObject_CallFunction
#18 0x00578918 in PyImport_Import
#19 0x00578d90 in PyImport_ImportModule
#20 0x018feff8 in init_gtk (gtkmodule.c:7082)
#21 0x0057af0c in _PyImport_LoadDynamicModule
#22 0x0057740c in load_module
#23 0x00578380 in import_submodule
#24 0x00577e0c in load_next
#25 0x00579be4 in import_module_ex
#26 0x00578eac in PyImport_ImportModuleEx
#27 0x0054cf84 in builtin___import__
#28 0x004fd068 in PyObject_Call
#29 0x005566a0 in PyEval_CallObjectWithKeywords
#30 0x00553f9c in eval_frame
#31 0x00555834 in PyEval_EvalCodeEx
#32 0x00558358 in PyEval_EvalCode
#33 0x00576a90 in PyImport_ExecCodeModuleEx
#34 0x00579864 in load_source_module
#35 0x005772c0 in load_module
#36 0x00578380 in import_submodule
#37 0x00577e0c in load_next
#38 0x00579be4 in import_module_ex
#39 0x00578eac in PyImport_ImportModuleEx
#40 0x000857ec in commit_modules
#41 0x00015374 in sg_config_exec_commit
#42 0x000153c8 in commit_item
#43 0x0023876c in g_hash_table_foreach (ghash.c:299)
#44 0x00015418 in commit_group
#45 0x0023876c in g_hash_table_foreach (ghash.c:299)
#46 0x00015464 in sg_config_exec_commit_all
#47 0x0000c640 in python_init_callback
#48 0x0023cb24 in g_main_dispatch (gmain.c:659)
#49 0x0023d214 in g_main_iterate (gmain.c:881)
#50 0x0023d424 in g_main_run (gmain.c:935)
#51 0x007591b0 in gtk_main (gtkmain.c:525)
#52 0x0000c854 in main
#53 0x00001ec4 in _start (crt.c:267)
#54 0x00001d44 in start
**********
Command: scigraphica
PID: 29608
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280
Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe149b0 in set_lock
#2 0x8fe0fdc0 in bind_lazy_symbol_reference
#3 0x8fe00ec0 in stub_binding_helper_interface
#4 0x001d3c84 in dlopen (dlfcn.c:628)
#5 0x001c3d6c in _g_module_open (gmodule.c:94)
#6 0x001c42d0 in g_module_open (gmodule.c:232)
#7 0x01020914 in get_module_loader_saver (modules.c:90)
#8 0x01020b14 in load_module_relay (modules.c:155)
#9 0x01009d54 in gdk_imlib_load_image (load.c:283)
#10 0x0134fb70 in gnome_pixmap_load_file
#11 0x0135104c in gnome_pixmap_new_from_file
#12 0x0134cd9c in gnome_message_box_new
#13 0x00045d50 in sg_message_dialog
#14 0x00067dc8 in rescue
#15 0x9000fa6c in _sigtramp
linking with -bind_at_load did not fix it.
Is this the same python dlopening crash that some other poster had?
-Ben
