After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652527 - Vala Gee LinkedList memory allocation problem.
Vala Gee LinkedList memory allocation problem.
Status: RESOLVED DUPLICATE of bug 652528
Product: vala
Classification: Core
Component: general
0.12.x
Other Mac OS
: Normal blocker
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-14 07:50 UTC by Serge Hulne
Modified: 2011-06-14 09:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Serge Hulne 2011-06-14 07:50:43 UTC
The LinkedList container crashes when thenumber of elements becomes too large.

Example:

//-------

using Gee;
using Posix;



int main(string[] args) {
 
    //List
    var L = new LinkedList<int>();
    
    // Insert in List     
    for (var i=0; i<1000000; i++) {
        L.add(1);
    }

    return 0;
}
Comment 1 Maciej (Matthew) Piechotka 2011-06-14 09:18:02 UTC

*** This bug has been marked as a duplicate of bug 652528 ***