Date: Mon, 25 Dec 1995 19:57:28 +0100 (MET) From: Ollivier Robert <roberto@keltia.freenix.fr> To: ports@FreeBSD.ORG (FreeBSD's ports list) Subject: Xpaint 2.1.1 port and jpeg Message-ID: <199512251857.TAA11526@keltia.freenix.fr>
next in thread | raw e-mail | index | archive | help
Hello, The xpaint port has several flaws: - it insist to run gcc with "-O2", - it uses its own libtiff and possibly xpm directory even if they're already compiled, - more, it uses jpeg v4 #includes and types so it will not compile if you have new and old includes... The first too are easily fixed but the third problem is not ours... Another thing, possibly a bug: You launch xpaint, goes to the cissors, press the third button to get a menu, select "Select range" and boom! Program received signal SIGSEGV, Segmentation fault. 0x368cb in SelectChromaDialog (w=0x94e00) at selectOp.c:708 708 cpick = ColorPicker(form, DefaultColormapOfScreen(XtScreen(w)), NULL); (gdb) where #0 0x368cb in SelectChromaDialog (w=0x94e00) at selectOp.c:708 #1 0x877c in changeChromaAction (w=0x94e00, event=0x0) at operation.c:666 #2 0x81052c0 in XtCallCallbacks () #3 0x80d0497 in Notify () #4 0x80cf8a4 in Notify () #5 0x8132e13 in HandleActions () #6 0x8133279 in HandleSimpleState () #7 0x8133761 in _XtTranslateEvent () #8 0x811051f in XtDispatchEventToWidget () #9 0x8110ef3 in L404 () #10 0x8111128 in L458 () #11 0x5891 in main (argc=1, argv=0xefbfd4c0) at main.c:321 (gdb) print w $1 = (struct _WidgetRec *) 0x94e00 (gdb) print *w $2 = {core = {self = 0x94e00, widget_class = 0x80f2b44, parent = 0x95300, xrm_name = 381, being_destroyed = 0 '\000', destroy_callbacks = 0x0, constraints = 0x0, x = 0, y = 85, width = 136, height = 21, border_width = 0, managed = 1 '\001', sensitive = 1 '\001', ancestor_sensitive = 1 '\001', event_table = 0x97150, tm = { translations = 0x0, proc_table = 0x97160, current_state = 0x19, lastEventTime = 0}, accelerators = 0x0, border_pixel = 262148, border_pixmap = 0, popup_list = 0x85f80, num_popups = 547712, name = 0x0, screen = 0x0, colormap = 602240, window = 602112, depth = 602368, background_pixel = 602496, background_pixmap = 0, visible = 0 '\000', mapped_when_managed = 0 '\000'}} w->core.screen is indeed 0x0 and DefaultColormapOfScreen(w->core.screen) SEGV because DefaultColormapOfScreen is ((s)->cmap). -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #8: Sat Dec 23 21:44:39 MET 1995
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512251857.TAA11526>