www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/08:42:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Mailer: 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 8 I)
To: Cygnus <cygwin AT sources DOT redhat DOT com>
Subject: Re: STATUS_ACCESS_VIOLATION/segfault problems with cygwin 1.1.4
References: <000501c01e2d$f6506780$2c789fc1 AT local>
From: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
In-Reply-To: Dr.Graef@t-online.de's message of "Thu, 14 Sep 2000 11:26:39 +0200"
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
Date: 14 Sep 2000 14:39:00 +0200
Message-ID: <kvsnr3up0b.fsf@vzell.de.oracle.com>
Lines: 40
MIME-Version: 1.0

>>>>> "Albert" == Albert Graef <Dr DOT Graef AT t-online DOT de> writes:

    Albert> I've been following the threads about STATUS_ACCESS_VIOLATION/segfault
    Albert> problems for some days now, since I had really bad troubles running a
    Albert> software which works without a hitch under Linux and mingw, and also used to
    Albert> work with previous gnuwin32/cygwin releases.

    Albert> I've been looking into it, and I am 100% sure that's it a problem with the
    Albert> latest cygwin release (maybe with the linker or ar, or with the system
    Albert> libraries, you experts know better ;-).

    Albert> The problem occurs whenever you build a static library and a program which
    Albert> is linked to both this library and libm.a. I can reproduce it with sources
    Albert> as simple as the following:

WOW, I tried this and removed -lm from the link line of

  o xfig-3.2.3c - http://www.XFIG.ORG/xfigdist/

and now it works. Before it build fine but I also got the STATUS_ACCESS_VIOLATION.

Thanks, this drove me crazy for 3 days now.

Ciao
  Volker

PS:

I just checked some other combinations:

vzell:/gnu/src/xfig.3.2.3c> /usr/bin/gcc -o xfig.exe -O2 -pedantic -fno-strength-reduce -fpcc-struct-return -fvtable-thunks -m486 -Wall     -L/usr/X11R6/lib d_arc.o d_arcbox.o d_box.o d_ellipse.o d_picobj.o            d_subspline.o d_line.o d_regpoly.o d_spline.o d_text.o          e_addpt.o e_align.o e_arrow.o e_break.o e_compound.o            e_convert.o e_copy.o e_delete.o e_deletept.o          e_edit.o e_flip.o e_glue.o e_joinsplit.o e_move.o               e_movept.o e_placelib.o e_rotate.o e_scale.o e_update.o      f_load.o f_neuclrtab.o f_picobj.o f_read.o f_readold.o           f_readppm.o f_readtif.o f_readeps.o             f_readxbm.o f_readgif.o f_readjpg.o f_readpcx.o f_readxpm.o           f_save.o f_util.o f_wrpcx.o             main.o mode.o object.o resources.o              u_bound.o u_create.o u_drag.o u_draw.o          u_elastic.o u_error.o u_fonts.o u_free.o u_geom.o             u_list.o u_markers.o u_pan.o u_print.o          u_redraw.o u_scale.o u_search.o u_tra!
!
nslate.o u_undo.o w_listwidget.o w_browse.o w_capture.o w_srchrepl.o w_help.o w_layers.o w_menuentry.o           w_canvas.o w_cmdpanel.o w_color.o w_cursor.o w_dir.o w_drawprim.o               w_export.o w_file.o w_fontbits.o w_fontpanel.o w_grid.o w_icons.o             w_indpanel.o w_library.o w_modepanel.o w_mousefun.o w_msgpanel.o                w_print.o w_rottext.o w_rulers.o w_setup.o w_util.o w_zoom.o           -L/usr/lib -ljpeg   -L/usr/X11R6/lib -lm -lXpm  -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXpm
vzell:/gnu/src/xfig.3.2.3c> ./xfig.exe 
      0 [main] xfig 11094 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
   4172 [main] xfig 11094 stackdump: Dumping stack trace to xfig.exe.stackdump
Segmentation fault (core dumped)


vzell:/gnu/src/xfig.3.2.3c> /usr/bin/gcc -o xfig.exe -O2 -pedantic -fno-strength-reduce -fpcc-struct-return -fvtable-thunks -m486 -Wall     -L/usr/X11R6/lib d_arc.o d_arcbox.o d_box.o d_ellipse.o d_picobj.o            d_subspline.o d_line.o d_regpoly.o d_spline.o d_text.o          e_addpt.o e_align.o e_arrow.o e_break.o e_compound.o            e_convert.o e_copy.o e_delete.o e_deletept.o          e_edit.o e_flip.o e_glue.o e_joinsplit.o e_move.o               e_movept.o e_placelib.o e_rotate.o e_scale.o e_update.o      f_load.o f_neuclrtab.o f_picobj.o f_read.o f_readold.o           f_readppm.o f_readtif.o f_readeps.o             f_readxbm.o f_readgif.o f_readjpg.o f_readpcx.o f_readxpm.o           f_save.o f_util.o f_wrpcx.o             main.o mode.o object.o resources.o              u_bound.o u_create.o u_drag.o u_draw.o          u_elastic.o u_error.o u_fonts.o u_free.o u_geom.o             u_list.o u_markers.o u_pan.o u_print.o          u_redraw.o u_scale.o u_search.o u_tra!
!
nslate.o u_undo.o w_listwidget.o w_browse.o w_capture.o w_srchrepl.o w_help.o w_layers.o w_menuentry.o           w_canvas.o w_cmdpanel.o w_color.o w_cursor.o w_dir.o w_drawprim.o               w_export.o w_file.o w_fontbits.o w_fontpanel.o w_grid.o w_icons.o             w_indpanel.o w_library.o w_modepanel.o w_mousefun.o w_msgpanel.o                w_print.o w_rottext.o w_rulers.o w_setup.o w_util.o w_zoom.o           -L/usr/lib -ljpeg   -L/usr/X11R6/lib -lXpm  -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXpm -lm   
vzell:/gnu/src/xfig.3.2.3c> ./xfig.exe 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019