when I enter customize in a vanilla XEmacs the png-code crahses. Do I
need a different lib?? I have: libpng-1.0.1 and zlib-1.1.2
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (catch #<INTERNAL EMACS BUG (opaque, size=4) 0x5b2ac0> ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
sit-for(1)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation Fault (core dumped)
(dbx) where
[1] _kill(0x0, 0xb, 0x0, 0x0, 0x6f8a227c, 0xf121c), at 0x6f8872e0
=>[2] fatal_error_signal(sig = 11), line 262 in "emacs.c"
---- called from signal handler with signal 11 (SIGSEGV) ------
[3] _memcpy(), at 0x6f8c05b0
[4] png_read_from_memory(png_ptr = 0x84e800, data = 0x80b000 "", length = 144U), line 738 in "glyphs-eimage.c"
[5] png_read_data(0x84e800, 0x80b000, 0x90, 0x13, 0x6ffeb790, 0x6ffed640), at 0x6fdd1d7c
[6] png_crc_read(0x84e800, 0x80b000, 0x90, 0x2333bc, 0x6ffeb790, 0x6ffed640), at 0x6fdcc310
[7] png_read_row(0x84e800, 0x817000, 0x0, 0x0, 0xfffffff8, 0x817804), at 0x6fdd112c
[8] png_read_image(0x84e800, 0x81fb00, 0x1, 0x0, 0x3ff00000, 0x0), at 0x6fdd1c28
[9] png_instantiate(image_instance = 6128256, instantiator = 8720320, pointer_fg = 5992452, pointer_bg = 5992452, dest_mask = 47, domain = 6792192), line 928 in "glyphs-eimage.c"
[10] instantiate_image_instantiator(device = 6788608, domain = 6792192, instantiator = 8720320, pointer_fg = 5992452, pointer_bg = 5992452, dest_mask = 47), line 499 in "glyphs.c"
[11] image_instantiate(specifier = 8619776, matchspec = 5717436, domain = 6792192, instantiator = 8720320, depth = 3), line 1906 in "glyphs.c"
[12] primitive_funcall(fn = 0x227640 = &`xemacs`glyphs.c`image_instantiate(Lisp_Object specifier, Lisp_Object matchspec, Lisp_Object domain, Lisp_Object instantiator, Lisp_Object depth), nargs = 5, args = 0xefffd74c), line 2862 in "eval.c"
[13] call_with_suspended_errors_1(opaque_arg = 5974560), line 2061 in "eval.c"
[14] internal_catch(tag = 5974720, func = 0xfea50 = &`xemacs`eval.c`call_with_suspended_errors_1(Lisp_Object opaque_arg), arg = 5974560, threw = 0xefffd734), line 1328 in "eval.c"
[15] call_with_suspended_errors(fun = 0x227640 = &`xemacs`glyphs.c`image_instantiate(Lisp_Object specifier, Lisp_Object matchspec, Lisp_Object domain, Lisp_Object instantiator, Lisp_Object depth), retval = 5717436, class = 5992452, errb = RECORD, nargs = 5, ...), line 2169 in "eval.c"
[16] specifier_instance_from_inst_list(specifier = 8619776, matchspec = 5717436, domain = 6792192, inst_list = 8508560, errb = RECORD, no_quit = 1, depth = 3), line 2387 in "specifier.c"
[17] specifier_instance(specifier = 8619776, matchspec = 5717436, domain = 6792192, errb = RECORD, no_quit = 1, no_fallback = 0, depth = 3), line 2500 in "specifier.c"
[18] glyph_image_instance(glyph = 8601664, domain = 6792192, errb = RECORD, no_quit = 1), line 2610 in "glyphs.c"
[19] glyph_width(glyph = 8601664, frame_face = 5992452, window_findex = 0, window = 6792192), line 2539 in "glyphs.c"
[20] add_glyph_rune(data = 0xefffdbe4, gb = 0x83ea60, pos_type = 1, allow_cursor = 0, cachel = (nil)), line 1506 in "redisplay.c"
[21] add_glyph_runes(data = 0xefffdbe4, pos_type = 1), line 1722 in "redisplay.c"
[22] create_text_block(w = 0x67a400, dl = 0xefffdd8c, bi_start_pos = 191, start_col = 0, prop = 0xefffddf4, type = 1), line 2058 in "redisplay.c"
[23] generate_display_line(w = 0x67a400, dl = 0xefffdd8c, bounds = 1, start_pos = 191, start_col = 0, prop = 0xefffddf4, type = 1), line 715 in "redisplay.c"
[24] regenerate_window(w = 0x67a400, start_pos = 191, point = 1, type = 1), line 4254 in "redisplay.c"
[25] redisplay_window(window = 6792192, skip_selected = 0), line 5175 in "redisplay.c"
[26] redisplay_frame(f = 0x67a000, preemption_check = 0), line 5414 in "redisplay.c"
[27] redisplay_device(d = 0x679600), line 5498 in "redisplay.c"
[28] redisplay_without_hooks(), line 5614 in "redisplay.c"
[29] redisplay(), line 5682 in "redisplay.c"
[30] Fsit_for(seconds = 3, nodisplay = 5992452), line 2812 in "event-stream.c"
[31] funcall_recording_as(recorded_as = 6081244, nargs = 1, args = 0xefffe488), line 3193 in "eval.c"
[32] Ffuncall(nargs = 2, args = 0xefffe488), line 3238 in "eval.c"
[33] Fbyte_code(bytestr = 5067784, vector = 5067944, maxdepth = 17), line 416 in "bytecode.c"
[34] funcall_lambda(fun = 5068268, nargs = 1, arg_vector = 0xefffe81c), line 3599 in "eval.c"
[35] funcall_recording_as(recorded_as = 6342744, nargs = 1, args = 0xefffe818), line 3200 in "eval.c"
[36] Ffuncall(nargs = 2, args = 0xefffe818), line 3238 in "eval.c"
[37] Fcall_interactively(function = 6342744, record_flag = 5992452, keys = 5992452), line 935 in "callint.c"
[38] Fcommand_execute(cmd = 6342744, record = 5992452, keys = 5992452), line 2584 in "eval.c"
[39] execute_command_event(command_builder = 0x6f3580, event = 7783796), line 4343 in "event-stream.c"
[40] Fdispatch_event(event = 7783796), line 4642 in "event-stream.c"
[41] Fcommand_loop_1(), line 579 in "cmdloop.c"
[42] command_loop_1(dummy = 5992452), line 494 in "cmdloop.c"
[43] condition_case_1(handlers = 5992564, bfun = 0xa5fc0 = &`xemacs`cmdloop.c`command_loop_1(Lisp_Object dummy), barg = 5992452, hfun = 0xa5050 = &`xemacs`cmdloop.c`cmd_error(Lisp_Object data, Lisp_Object dummy), harg = 5992452), line 1653 in "eval.c"
[44] command_loop_3(), line 256 in "cmdloop.c"
[45] command_loop_2(dummy = 5992452), line 267 in "cmdloop.c"
[46] internal_catch(tag = 6070780, func = 0xa52f0 = &`xemacs`cmdloop.c`command_loop_2(Lisp_Object dummy), arg = 5992452, threw = (nil)), line 1328 in "eval.c"
[47] initial_command_loop(load_me = 5992452), line 305 in "cmdloop.c"
[48] xemacs_21_0_b42_sparc_sun_solaris2_6(argc = 1, argv = 0xefffefcc, envp = 0xefffefd4, restart = 0), line 1692 in "emacs.c"
[49] main(argc = 1, argv = 0xefffefcc, envp = 0xefffefd4), line 2109 in "emacs.c"
evermann@nats7:/data/source/gunnar/xemacs-20$ ldd src/xemacs
libXm.so.3 => /usr/dt/lib/libXm.so.3
libpng.so.2 => /data/source/gunnar/opt/lib/libpng.so.2
libz.so => /data/source/gunnar/opt/lib/libz.so
libXpm.so.4.10 => /opt/lib/libXpm.so.4.10
libDtSvc.so.1 => /usr/dt/lib/libDtSvc.so.1
libtt.so.2 => /usr/openwin/lib/libtt.so.2
libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libdl.so.1 => /usr/lib/libdl.so.1
libncurses.so.4 => /opt/lib/libncurses.so.4
libkvm.so.1 => /usr/lib/libkvm.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libelf.so.1 => /usr/lib/libelf.so.1
libc.so.1 => /usr/lib/libc.so.1
libm.so.1 => /usr/lib/libm.so.1
libucb.so.1 => /usr/ucblib/libucb.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libmp.so.2 => /usr/lib/libmp.so.2
uname -a: SunOS nats7 5.6 Generic_105181-04 sun4u sparc SUNW,Ultra-1
./configure '--compiler=cc' '--site-prefixes=/data/source/gunnar/opt /opt' '-cflags=-v -xsb -g' '--package-path=/data/source/gunnar/xemacs/packages' '--with-workshop' '--gung-ho'
XEmacs 21.0-b42 "Somali-pre2" configured for `sparc-sun-solaris2.6'.
Where should the build process find the source code? /data/source/gunnar/xemacs-20
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? cc -v -xsb -g
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include /usr/X11/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Additional prefixes: /data/source/gunnar/opt /opt
Runtime library search path: /data/source/gunnar/opt/lib:/opt/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message headers.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in native sound support.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in support for OffiX.
Compiling in support for Drag'n'Drop ( OffiX CDE ).
Compiling in support for Sun WorkShop.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------