Bug 147010 - Anjuta x86_64 crashes when creating a new project.
Summary: Anjuta x86_64 crashes when creating a new project.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anjuta
Version: 3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phillip Compton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-03 17:55 UTC by Thorsten Leemhuis
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-10 20:04:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anjuta-backtrace (3.33 KB, application/octet-stream)
2005-02-03 17:55 UTC, Thorsten Leemhuis
no flags Details
spec patch proposal (488 bytes, patch)
2005-02-10 18:24 UTC, Michael Schwendt
no flags Details | Diff

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. 


Note You need to log in before you can comment on or make changes to this bug.