First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 24855
Alias:
Product:
Component:
Status: RESOLVED
Resolution: LATER
Assigned To: Lisa Seelye (RETIRED) <lisa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Prophet <prophet@sphere-x.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
anjuta-1.1.97-r1.ebuild new anjuta-1.1.97 ebuild with fixed dependencies text/plain Mario Vazquez 2003-09-27 20:16 0000 884 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 24855 depends on: 29654 Show dependency tree
Bug 24855 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-19 23:43 0000
When I try to create a new project in the project wizard of Anjuta 1.1.1 adn
1.1.97, when I reach the point to enter a description in the wizard and hit the
next button Anjuta segfaults and gives the following error on the terminal...

(anjuta:3436): GLib-GObject-WARNING **: invalid cast from `GtkTextView' to
`GtkEditable'

I have searched the net and seems others have had the same error and problem in
Gentoo but no fixes.  :(

Here is the last part of an strace also if this will help...

write(3, "+\30\1\0", 4)                 = 4
read(3, 0xbffff350, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\0Y\25\0\0\0\0_\1@\2\0\0\0\0\1\0\0\0\0\0\0\0000\253\337"..., 32) =
32ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=13, events=POLLIN|POLLPRI},
{fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=12,
events=POLLIN|POLLPRI}], 8, -1) = 1
ioctl(3, FIONREAD, [64])                = 0
read(3, "\5\1Y\25\214\r^\f\214\0\0\0a\1@\2\0\0\0\0\371\3/\3\n\0"..., 64) = 64
getpid()                                = 4057
write(2, "\n(anjuta:4057): GLib-GObject-WAR"..., 90
(anjuta:4057): GLib-GObject-WARNING **: invalid cast from `GtkTextView' to
`GtkEditable'
) = 90
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(3, "\33\30\2\0\0\0\0\0", 8)       = 8
write(3, " \30\2\0\0\0\0\0", 8)         = 8
write(3, "+\30\1\0", 4)                 = 4
read(3, 0xbfffde60, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\0\\\25\0\0\0\0_\1@\2\0\0\0\0\1\0\0\0\0\0\0\0000\253"..., 32) = 32
fork()                                  = 4078
wait4(4078, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 4078
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(0, 0xbfffdb04, WNOHANG, NULL)     = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [SEGV RTMIN])
_exit(1)                                = ?


Reproducible: Always
Steps to Reproduce:
1. Run Anjuta
2. Select Application wizard from the dialog box.
3. Create any project.
4. Fill out the necessary info on first part of wizard.
5. Select "Forward" button
6. Enter in a description on second part of the wizard.
7. Select "Forward" button and you will recieve the crash... 

Actual Results:  
I get the dialog box that the program has crashed.

Expected Results:  
It should have continued to the next part of the wizard or create the project.

------- Comment #1 From Rainer Größlinger 2003-07-24 07:10:58 0000 -------
This is an upstream bug and probably can't be fixed with just applying a few
lines of a patch and as of yet there seems to be no solution (see bug ID 740881
on SourceForge).
I guess you'll have to wait for an upstream fix.

But you have to deal that out with lisa ;)

------- Comment #2 From Lisa Seelye (RETIRED) 2003-07-24 11:03:25 0000 -------
Yes, this is an upstream error...

Going to mark this as 'CANTFIX' til upstream can fix it.

------- Comment #3 From Mario Vazquez 2003-09-25 20:31:55 0000 -------
I got it working by installing all components (and libs) they specify on
their page, either as requirement or as an option.   The components I got
installed are:

Calculating dependencies ...done!
[ebuild   R   ] dev-util/devhelp-0.7
[ebuild   R   ] x11-libs/libzvt-2.0.1-r2
[ebuild   R   ] dev-cpp/gtkmm-2.2.7
[ebuild   R   ] dev-cpp/libgnomemm-1.3.10
[ebuild   R   ] dev-cpp/libglademm-2.0.1
[ebuild   R   ] dev-cpp/gconfmm-2.0.1
[ebuild   R   ] dev-cpp/libgnomecanvasmm-2.0.1
[ebuild   R   ] dev-cpp/libgnomeuimm-2.0.0
[ebuild   R   ] dev-util/glademm-2.0.1

Try with them, then emerge anjuta-1.1.97.  It worked for me.

While at their home page they said these are optionals, the user need them
for the wizards (gtk, gnome, etc).

------- Comment #4 From Mario Vazquez 2003-09-25 20:45:28 0000 -------
but the order of installation is very important, try the same order.  I can

------- Comment #5 From Mario Vazquez 2003-09-25 20:45:28 0000 -------
but the order of installation is very important, try the same order.  I can´t
remember now, but one of them (gconfmm or glademm) depends on the others,
but the ebuild do not have the dependencies.

------- Comment #6 From Mario Vazquez 2003-09-27 19:03:49 0000 -------
Forgot the package glade, since it is required by anjuta if using as a gnome
development suite.  I emerge it just after devhelp.  Also I would like to
mention that gtkmm refuse to build under gcc-3.3.1-r3, see bug http://bugs.gentoo.org/show_bug.cgi?id=29770
 
People that would like to try anjuta with the steps I describe must downgrade
to gcc-3.3.1-r1 first.

------- Comment #7 From Mario Vazquez 2003-09-27 20:16:34 0000 -------
Created an attachment (id=18406) [edit]
new anjuta-1.1.97 ebuild with fixed dependencies

This ebuild resolves (or at least It worked for me) anjuta depencies that
causes the error reported.  This ebuild require also the ebuild submited
at
http://bugs.gentoo.org/show_bug.cgi?id=29780

But as I reported before, unstable users should need to downgrade to
gcc-3.3.1-r1 in order to compile one of the dependencies.

The ebuild include even support for installing optional components that can
be
used by anjuta like wxGtk and libsdl.

------- Comment #8 From Lisa Seelye (RETIRED) 2003-09-30 11:23:43 0000 -------
Submitted ebuild depends on bug 29654.

------- Comment #9 From Lisa Seelye (RETIRED) 2003-09-30 11:54:06 0000 -------
As soon as bug 29654 is resolved for gcc 3.3.1 users I'll put this in.  Nice
work Mario.

------- Comment #10 From foser (RETIRED) 2003-09-30 15:06:47 0000 -------
Have you checked this lisa ? The deps are incorrect, the original deps are
much better. Needed deps got removed, unneeded deps added, runtime and buildtime
deps moved to the wrong var, etc. And why to include all sorts of (optional)
deps while they are only runtime project options, it's ridiculous to add
every possible supported project type as dep just because it is possible.

I don't see any needed changes in here. Well, except one in the ebuild that
didn't get done during the .1 -> .97 bump, i'll leave that as an excercise
to whoever did that bump ;)

And mario, next time please open a new bug. Your improvement bug and the
one in comment #1 are not related.

------- Comment #11 From Lisa Seelye (RETIRED) 2003-10-07 11:09:36 0000 -------
in cvs, same ebuild foser.

------- Comment #12 From foser (RETIRED) 2003-10-07 11:35:46 0000 -------
Lise please remove that ebuild for now, it is not correct, far from it. Let's
go over this in IRC and i'll explain exactly why. Thanks.

------- Comment #13 From Mario Vazquez 2003-10-08 19:38:09 0000 -------
My apology for the trouble with the ebuild, next time will get more info
before making drastic changes in dependencies.

But the suggestion I made was after looking over some forums and google for
that error after a failure installation of anjuta 1.1.97 no matter if used
sources or ebuild.  After checking that others (not gentoo users) that do
not have the "Red Hat RPM" had the same problem, I decided to check all the
dependencies either optional like sdl or needed ones.  After installing all
of them I proceed to install anjuta and the problem was absent from my computer.
 That's the reason I decided to modify the ebuild.  And some of them (obvious
not all) were present on my RH9 server at work.  The first time I do the
installation was on a stable Gnome 2.2 gentoo machine, but the ebuild has
done on a unstable Gnome 2.4/gtk 2.2.4.

------- Comment #14 From Lisa Seelye (RETIRED) 2003-11-12 12:29:38 0000 -------
fixed in 1.1.98, foser i'll mangle the 1.1.98 ebuild tonight or next week to
section off the "optional" dependencies with local USE flags.

First Last Prev Next    No search results available      Search page      Enter new bug