From: Alan W. I. <ir...@be...> - 2003-03-27 00:55:31
|
On Wed, 26 Mar 2003, Rafael Laboissiere wrote: > * Alan W. Irwin <ir...@be...> [2003-03-26 06:29]: > > I will report back later about what your latest changes do (which I assume > > will give the same information without having to use gdb). > > No, the informations are complementary. The signal handler in get-drv-info > gives the description of the error, while the gdb backtrace gives the place > where the problem happened. Here are the latest results with plplot-5.2.0.cvs.20030326.tar.gz and tcl/tk and freetype disabled. * All the mkoctfile configuration changes to compensate for the broken version on netbsd seem to be working. The warning message about this came through loud and clear during configuration, and plplot_octave.oct built without any obvious error messages. Thanks, Rafael! * Just noticed that Java configuration needs a tweak. Even though I used a default configuration (java not enabled), the java build went ahead in any case. I think the reason for the problem is lib_LTLIBRARIES = libplplotjava@LIB_TAG@.la appears outside the conditional. Do you agree, Rafael? * The only build problem was ./get-drv-info xwin libltdl error: can't open the module This is more informative than the segfault we had before, but I don't know how to interpret this message. Rafael? irwin@sparky gdb get-drv-info GNU gdb 5.0nb1 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc--netbsdelf"... (gdb) run xwin Starting program: /home/irwin/plplot_working/drivers/get-drv-info xwin Program received signal SIGSEGV, Segmentation fault. 0x12758 in tryall_dlopen_module (handle=0xeffff5ec, prefix=0x0, dirname=0x0, dlname=0x28060 "xwin.so") at ltdl.c:1979 1979 if (dirname[dirname_len -1] == '/') (gdb) bt #0 0x12758 in tryall_dlopen_module (handle=0xeffff5ec, prefix=0x0, dirname=0x0, dlname=0x28060 "xwin.so") at ltdl.c:1979 #1 0x128e0 in find_module (handle=0xeffff5ec, dir=0x0, libdir=0x2e080 "/home/irwin/plplot_install/lib/plplot5.2.0.cvs.20030326/data/../driversd", dlname=0x28060 "xwin.so", old_name=0x0, installed=0) at ltdl.c:2045 #2 0x13840 in try_dlopen (phandle=0xeffff65c, filename=0xe0 <Error reading address 0xe0: Invalid argument>) at ltdl.c:2823 #3 0x13d70 in lt_dlopenext (filename=0xeffff9d8 "xwin") at ltdl.c:2983 #4 0x1105c in main (argc=2, argv=0xeffff8c4) at get-drv-info.c:48 #5 0x10da4 in ___start () Rafael, I noticed this before, but forgot to ask; what does that Error reading address 0xe0: Invalid argument mean? Is the null argument for the filename argument for try_dlopen causing the segfault? Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |