aMule Forum

English => Compilation problems => Topic started by: tekwyzrd on December 24, 2007, 07:44:52 AM

Title: CVS 20071224 - builds but crashes
Post by: tekwyzrd 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
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Festor on December 24, 2007, 08:30:12 AM
Thanks a lot! I will try :D

What operating system do you use?
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: tekwyzrd 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)
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Festor 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
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Stu Redman 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. ;)
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Vollstrecker 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.
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Attila 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
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: Kry on December 24, 2007, 05:21:58 PM
Check http://forum.amule.org/index.php?topic=14021.new#new
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: tekwyzrd 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.
Title: Re: !!! Successful build with CVS 20071224 !!!
Post by: tekwyzrd 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.
Title: Re: CVS 20071224 - builds but crashes
Post by: Kry on December 24, 2007, 06:30:40 PM
Did you even read my post?
Title: Re: CVS 20071224 - builds but crashes
Post by: tekwyzrd 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.