aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CVS 20071224 - builds but crashes  (Read 5469 times)

tekwyzrd

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
CVS 20071224 - builds but crashes
« on: December 24, 2007, 07:44:52 AM »

After several snapshots that failed to build I am glad to see that the 20071224 CVS snapshot builds and eliminates the crash caused by server list download that I observed with the 20071218 snapshot. The process went perfectly using a static build of wxGTK 2.8.4 .2
« Last Edit: December 24, 2007, 06:27:08 PM by tekwyzrd »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: !!! Successful build with CVS 20071224 !!!
« Reply #1 on: December 24, 2007, 08:30:12 AM »

Thanks a lot! I will try :D

What operating system do you use?

tekwyzrd

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: !!! Successful build with CVS 20071224 !!!
« Reply #2 on: December 24, 2007, 09:19:08 AM »

Thanks a lot! I will try :D

What operating system do you use?

I use Sabayon Linux (a gentoo based distribution)
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: !!! Successful build with CVS 20071224 !!!
« Reply #3 on: December 24, 2007, 11:12:25 AM »

Dont work  :-\ :

Quote
i486-linux-gnu-g++  -DUSE_EMBEDDED_CRYPTO  -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS  -Wl,-z,defs -lGeoIP  -lpthread -o amuled  amuled-amuled.o amuled-Timer.o amuled-RC4Encrypt.o amuled-amule.o amuled-BaseClient.o amuled-ClientList.o amuled-ClientCreditsList.o amuled-ClientTCPSocket.o amuled-ClientUDPSocket.o amuled-DownloadClient.o amuled-DownloadQueue.o amuled-ECSpecialCoreTags.o amuled-EMSocket.o amuled-EncryptedStreamSocket.o amuled-EncryptedDatagramSocket.o amuled-ExternalConn.o amuled-Friend.o amuled-FriendList.o amuled-HTTPDownload.o amuled-IPFilter.o amuled-KnownFileList.o amuled-ListenSocket.o amuled-MuleUDPSocket.o amuled-SearchFile.o amuled-SearchList.o amuled-ServerConnect.o amuled-ServerList.o amuled-ServerSocket.o amuled-ServerUDPSocket.o amuled-SharedFileList.o amuled-ThreadTasks.o amuled-UploadBandwidthThrottler.o amuled-UploadClient.o amuled-UploadQueue.o amuled-Kademlia.o amuled-Search.o amuled-Indexed.o amuled-KademliaUDPListener.o amuled-Prefs.o amuled-RoutingZone.o amuled-Contact.o amuled-UPnP.o amuled-UPnPCompatibility.o amuled-ClientCredits.o amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.o amuled-GuiEvents.o amuled-Logger.o amuled-PartFile.o amuled-Preferences.o amuled-Proxy.o amuled-Server.o amuled-Statistics.o amuled-StatTree.o amuled-SHAHashSet.o amuled-TerminationProcess.o amuled-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o  -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec     -L. -lmuleappcore -pthread   -lwx_baseu_net-2.8 -lwx_baseu-2.8  -lz
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::Transform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:794: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::InverseTransform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:803: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
collect2: ld devolvió el estado de salida 1
make[4]: *** [amuled] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071224/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071224/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071224'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071224'
make: *** [build-stamp] Error 2

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: !!! Successful build with CVS 20071224 !!!
« Reply #4 on: December 24, 2007, 01:48:43 PM »

The process went perfectly using a static build of wxGTK 2.8.4 .2
You mean you compiled wxwidgets  in static mode (only .a libs, no .so libs) and linked it against aMule ? Did you run it ? I've tried this before and found the GUI crashes immedeatedly (or after clicking through a few dialogs) this way.

BtW: there are no differences at all between 1222 and 1224 (except for CVS date).  You should consider not building a tarball at all if there are no changes. ;)
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

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: !!! Successful build with CVS 20071224 !!!
« Reply #5 on: December 24, 2007, 02:06:03 PM »

If I see this correct, it just suffers to build if it reaches the daemon in a complete build. Without the daemon it seems to work, and maybe it works if you build only the daemon.
Logged
Homefucking is killing prostitution

Attila

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 77
    • Ljubljana Phonology
Re: !!! Successful build with CVS 20071224 !!!
« Reply #6 on: December 24, 2007, 05:14:37 PM »

20071224 compiled ok on Debian Lenny (wxwidgets 2.8.7) but crashes after a couple of minutes with the same error message as before (20071222).
Code: [Select]
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/vector:192:
    error: attempt to subscript container with out-of-bounds index 2, but
    container only holds 2 elements.

Objects involved in the operation:
sequence "this" @ 0x0xb50360a0 {
  type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted
Cheers,
Attila
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Logged

tekwyzrd

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: !!! Successful build with CVS 20071224 !!!
« Reply #8 on: December 24, 2007, 05:53:07 PM »

The process went perfectly using a static build of wxGTK 2.8.4 .2
You mean you compiled wxwidgets  in static mode (only .a libs, no .so libs) and linked it against aMule ? Did you run it ? I've tried this before and found the GUI crashes immedeatedly (or after clicking through a few dialogs) this way.

BtW: there are no differences at all between 1222 and 1224 (except for CVS date).  You should consider not building a tarball at all if there are no changes. ;)


I did the monolithic static build of wxGTK (.a libs) a few weeks ago hoping to get a static build of BOINC. I still haven't succeeded there but the static build of wxGTK  has worked well with aMule so far, excluding the 20071219-20071222 snapshots.

I did a standard amule build without extra options, configured using ./configure --prefix=/usr without extra options (which has failed for the last few days)

My reason for trying new snapshots was the crash on server list download with the 20071218 snapshot. It's working so far so I'll probably stick with it until next month or until I find another problem. I had a problem with amule crashing when child windows were created with the 20070624 snapshot built via portage crashing when child windows opened but that was prior to the static build of wxGTK, and it hasn't happened with any of the recent snapshots.
« Last Edit: December 24, 2007, 05:56:24 PM by tekwyzrd »
Logged

tekwyzrd

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: !!! Successful build with CVS 20071224 !!!
« Reply #9 on: December 24, 2007, 06:22:53 PM »

20071224 compiled ok on Debian Lenny (wxwidgets 2.8.7) but crashes after a couple of minutes with the same error message as before (20071222).
Code: [Select]
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/vector:192:
    error: attempt to subscript container with out-of-bounds index 2, but
    container only holds 2 elements.

Objects involved in the operation:
sequence "this" @ 0x0xb50360a0 {
  type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted
Cheers,
Attila

I started aMule via konsole and it did eventually crash

/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/include/g++-v4/debug/vector:194:error:
    attempt to subscript container with out-of-bounds index 2, but
    container only holds 2 elements.

Objects involved in the operation:
sequence "this" @ 0x0xb645e0a0 {
  type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted

Time to revert to the 20071218 snapshot and hope it's fixed in tomorrow's snapshot.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: CVS 20071224 - builds but crashes
« Reply #10 on: December 24, 2007, 06:30:40 PM »

Did you even read my post?
Logged

tekwyzrd

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: CVS 20071224 - builds but crashes
« Reply #11 on: December 24, 2007, 07:42:14 PM »

Did you even read my post?

Yes I did. I was just confirming the observation posted by another individual and correcting my statement that the problems had been resolved.
Logged