aMule Forum

English => aMule crashes => Topic started by: stoatwblr on November 01, 2009, 08:22:48 PM

Title: 9846 crash: no ooops?
Post by: stoatwblr on November 01, 2009, 08:22:48 PM
Ubuntu 9.1 i386, amuled


/usr/include/c++/4.4/debug/safe_iterator.h:218:error: attempt to increment
    a past-the-end iterator.

Objects involved in the operation:
iterator "this" @ 0x0xbfb12960 {
type = N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPyNSt6__norm6vectorIySaIyEEEEENSt7__debug6vectorIyS6_EEEE (mutable iterator);
  state = past-the-end;
  references sequence with type `NSt7__debug6vectorIySaIyEEE' @ 0x0xbfb12960
}
Aborted
Title: Re: 9846 crash: no ooops?
Post by: GonoszTopi on November 01, 2009, 10:47:02 PM
If you can reproduce this it would be helpful to run amuled in gdb and post a gdb backtrace.
Title: Re: 9846 crash: no ooops?
Post by: stoatwblr on November 04, 2009, 03:43:35 AM
It's only happened the one time.
Title: Re: 9846 crash: no ooops?
Post by: freddy77 on November 04, 2009, 02:32:10 PM
I discovered just yesterday a bug in gcc 4.4 distributed with Ubuntu Karmic release... this but bug cause a stack corruption in crypto++ code. I'm trying to recompile everything using gcc 4.3 ...
Title: Re: 9846 crash: no ooops?
Post by: Stu Redman on November 04, 2009, 11:21:02 PM
Really a GCC problem? Or is that damned over-optimized lib?
With which GCC version is the lib compiled that ships with Karmic? It passes the cryptest.
Title: Re: 9846 crash: no ooops?
Post by: freddy77 on November 05, 2009, 11:12:33 AM
I'm going really mad... problem is in crypto++... after submitting the bug to gcc stuff I got a reply and problems was not in gcc.. today (just some minutes ago) I got an assembly source, recompiled and got a wrong object code... so it seems that gcc produce correct assembly but GNU as fails. For some problems it compute badly jump offset. I don't understand why but code from ubuntu package works....
Title: Re: 9846 crash: no ooops?
Post by: freddy77 on November 05, 2009, 03:32:49 PM
This was the problem http://sourceware.org/bugzilla/show_bug.cgi?id=10856... I updated ubuntu package and now it works correctly.