Bug 147010

Summary: Anjuta x86_64 crashes when creating a new project.
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: anjutaAssignee: Phillip Compton <compton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-10 20:04:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anjuta-backtrace
none
spec patch proposal none

Description Thorsten Leemhuis 2005-02-03 17:55:59 UTC
Description of problem:
Anjuta x86_64 crashes when creating a new project.

Version-Release number of selected component (if applicable):
anjuta-1.2.2-5

How reproducible:
Always

Steps to Reproduce:
1.Start Anjuta
2.Create a new project 
3.When finished Anjuta creates the project; AFAICS it tries to run autogen.sh
for it. Then it crahes.
  
Additional info:
Backtrace attached. Problem reported by Dawid Zamirski <dzrudy>:
https://www.redhat.com/archives/fedora-extras-list/2005-February/msg00059.html

I can confirm this. Did not look at the package from dag yet.

Comment 1 Thorsten Leemhuis 2005-02-03 17:55:59 UTC
Created attachment 110602 [details]
anjuta-backtrace

Comment 2 Thorsten Leemhuis 2005-02-07 13:52:48 UTC
Don't ask me why: But removing the "--enable-final" from the configure
fixes this problem.

Comment 3 Michael Schwendt 2005-02-07 14:08:53 UTC
In configure.in:

dnl Enable release builds
AC_ARG_ENABLE(final,
      [  --enable-final           Build release executables (GCC only)],
      CFLAGS="$CFLAGS -DNDEBUG -O0 -g"
      CXXFLAGS="$CXXFLAGS -DNDEBUG -O0 -g")

In the build log of current CVS version:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include      -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -DNDEBUG -O0 -g -c args.c

Depending on where they ifdef NDEBUG and how they use it (e.g. for
asserts), it might make sense to get it back into the CFLAGS when
building without --enable-final.


Comment 4 Thorsten Leemhuis 2005-02-10 17:48:21 UTC
Phillip( or Michael), how to proceed? I suggest to create an update
that builds on x86_64 without "--enable-final" and fix the real issue
later? 

Comment 5 Michael Schwendt 2005-02-10 18:24:49 UTC
Created attachment 110927 [details]
spec patch proposal

Feel free to apply something like this if you agree.

Comment 6 Thorsten Leemhuis 2005-02-10 20:04:33 UTC
>Created an attachment (id=110927)
>spec patch proposal
>Feel free to apply something like this if you agree.

Commited and build requested. Tested on i386 an x86_86, works fine.