aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 9846 crash: no ooops?  (Read 3165 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
9846 crash: no ooops?
« 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
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: 9846 crash: no ooops?
« Reply #1 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.
Logged
concordia cum veritate

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: 9846 crash: no ooops?
« Reply #2 on: November 04, 2009, 03:43:35 AM »

It's only happened the one time.
Logged

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: 9846 crash: no ooops?
« Reply #3 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 ...
« Last Edit: November 04, 2009, 04:45:14 PM by GonoszTopi »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: 9846 crash: no ooops?
« Reply #4 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: 9846 crash: no ooops?
« Reply #5 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....
Logged

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: 9846 crash: no ooops?
« Reply #6 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.
Logged