From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 20:30:24 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5431516A4D0 for ; Thu, 25 Nov 2004 20:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FCD043D41 for ; Thu, 25 Nov 2004 20:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAPKUOMw036131 for ; Thu, 25 Nov 2004 20:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAPKUN6s036129; Thu, 25 Nov 2004 20:30:23 GMT (envelope-from gnats) Date: Thu, 25 Nov 2004 20:30:23 GMT Message-Id: <200411252030.iAPKUN6s036129@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Oleg Sharoiko Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Oleg Sharoiko List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 20:30:24 -0000 The following reply was made to PR ports/72014; it has been noted by GNATS. From: Oleg Sharoiko To: freebsd-gnats-submit@FreeBSD.org, nlsn@free.fr, gnome@FreeBSD.org, ports@FreeBSD.org Cc: Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK Date: Thu, 25 Nov 2004 23:20:27 +0300 Hello! I'm sorry for flooding three lists at a time, but I have some information concerning ports/72014 and it looks like I've reached that point where I can't do further investigation. So I hope someone who has more knowledge, experience and free time will handle this further. I made some investigation of this bug and it looks like it is cased by gtk built with CPUTYPE=p4. Eclipse works fine after changing CPUTYPE to i686 and rebuilding/reinstalling gtk. This is true for my P4 box and this was also confirmed by two other testers who faced similar problem. Eclipse also works fine with CPUTYPE=athlon-xp (my amd based box at work). So I think this is gcc bug which leads to wrong code in gtk, and I suppose it can lead to other bugs with gtk. I've seen SIGBUSes in _gtk_tree_view_queue_draw_node and gtk_tree_view_get_column with -O0/-O and -O2 respectively. I'm not sure what should be done further. I thought of following: - building debug version of gtk, looking what arguments are passed to those functions and trying to create a test case to submit bug report to gcc team; - trying to build gtk with more recent gcc; - downgrade CPUTYPE from p4 to i686 in x11-toolkits/gtk20 until this problem is solved. Unfortunately I don't have any gtk development experience and I don't know what should be the best solution for this problem. I'm posting results of my investigation in hope that someone will handle this bug further. p.s. And I think this is not freebsd-java bug, so responsible in PR database should be changed to someone else. p.p.s. I'm not on the lists, so keep me on To: or Cc: lines if you want to reply me. p.p.p.s This mail is probably in a mess a little bit. Sorry, I couldn't put it into right words. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University.