Crash adding source to project (uri_normalize)

Bug #361524 reported by Nick Colgan
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anjuta
Fix Released
Critical
anjuta (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: anjuta

Anjuta crashes when trying to add source to project.

Steps:
1. Open project.
2. Right click on source file in File browser sidebar
3. Click "Add to Project"
4. Choose target.
5. Click "Add".
6. Crash!

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/anjuta
Package: anjuta 2:2.26.0.0-0ubuntu1
ProcCmdline: anjuta
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: anjuta
StacktraceTop:
 uri_normalize (path_or_uri=0x0,
 impl_add_source (_project=<value optimized out>,
 gbf_project_util_add_source_multi (model=0x1319500,
 gbf_project_util_add_source (model=0x1319500,
 iproject_manager_add_source (
Title: anjuta crashed with SIGSEGV in uri_normalize()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev sambashare users vboxusers video www-data

Revision history for this message
Nick Colgan (nick-colgan) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:uri_normalize (path_or_uri=0x0,
impl_add_source (_project=<value optimized out>,
gbf_project_util_add_source_multi (model=0x1319500,
gbf_project_util_add_source (model=0x1319500,
iproject_manager_add_source (

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in anjuta (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
Changed in anjuta:
status: Unknown → New
Revision history for this message
Nick Colgan (nick-colgan) wrote : Re: anjuta crashed with SIGSEGV in uri_normalize()

Wrote patch against upstream subversion trunk.

Changed in anjuta:
status: New → Fix Released
Changed in anjuta (Ubuntu):
status: New → Fix Committed
summary: - anjuta crashed with SIGSEGV in uri_normalize()
+ Crash adding source to project (uri_normalize)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package anjuta - 2:2.27.3.0-0ubuntu1

---------------
anjuta (2:2.27.3.0-0ubuntu1) karmic; urgency=low

  * New upstream version (LP: #375843)
    - 2.27.3.0
      + Pixel-saving UI for tabs
      + Remove markup from translatable strings
      + Lots of git bugs fixed
      + #584013 – libanjuta-1.0.pc.in still requires libglade-2.0
      + #584347 – Don't reference child revisions
      + #567214 - bookmarks window wastes too much space
      + #582464 – crash in Anjuta IDE: Hacking on Empathy, dele...
    - 2.27.2.0
      + Lots of git improvements
      + Subversion improvements
      + Removed libglade dependency
      + #581416 - Fix void function cannot return value
      + #581869 - anjuta fails to build outside source tree
      + #582710 - Please consider using g_timeout_add_seconds to reduce wakeups
      + #582977 – String misspelled
      + #581421 - build fail on symbol-db/test
      + #530740 – Use GtkBuilder instead of libglade
      + #583589 – Some untranslated strings
      + #580340 - Reuse the last commit message when amending commits
    - 2.27.1.0
      + Improvements in git plugin
      + Improvements with auto-completion speed
      + #530740 – Use GtkBuilder instead of libglade
      + #581074 – Creating a new wxWidgets project should not include libglade
      + #580994 – using DEBUG_PRINT instead of g_print
      + #580013 – patch plugin doesn't handle patch-files with whitespace
      + #568779 – project wizard should infer project name from base path
      + #577721 – tooltips appears in wrong position
      + #579118 – Segmentation fault when adding file to project (LP: #361524)
      + #578087 – Artwork for Symbol Database is actually not from Monodevelop
      + #567588 – highlight default button in Find dialog
      + #576959 - Search does not point to correct line number on first match when file is not opened in editor.
      + #577006 – crash creating new file
      + #574607 – Replace function selects text uncorrectly
      + #576057 – doesn't build with graphviz 2.22.2
      + #575617 – Update FSF address

  [ Robert Ancell ]
  * debian/control.in:
    - Bump dependencies: gtk to >= 2.14.0, libgdl to 2.27.1, libgda4 to 4.0.0
    - Remove dependency on libglade
    - Make anjuta conflict/replace libgbf-1-2 not libgbf-1-2-common (LP: #338464)
    - Added VCS link
  * debian/control: Rebuilt
  * debian/watch: Watch for unstable versions

  [ Christophe Sauthier ]
  * debian/control.in:
    - Remove Build-depends on binutils-dev, libgraphviz-dev

 -- Christophe Sauthier <email address hidden> Wed, 24 Jun 2009 16:49:32 +0200

Changed in anjuta (Ubuntu):
status: Fix Committed → Fix Released
Changed in anjuta:
importance: Unknown → Critical
Revision history for this message
Rob Frohne (frohro) wrote :

I don't know if this is a regression, but it affects Anjuta 2.32.1.1 in Natty. I also note there is nothing when I open the Project properties. This project was imported from existing sources.

Rob

Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

Depends on what type of project you have. If it is no automake project but Makefile only there is no much you can do in anjuta beside viewing it.

Anyway, a lot of things are improved in the project manager in 3.0 so I wouldn't bother too much with 2.32.x.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.