Menu

#3 Error adding custom Point2Play directory

open
nobody
None
5
2005-01-02
2005-01-02
KohlyKohl
No

Starting program: /usr/local/bin/grapevine grapevine
[Thread debugging using libthread_db enabled]
[New Thread 1083416544 (LWP 17125)]
Detaching after fork from child process 17128.
Detaching after fork from child process 17129.
Using /root/.point2play as programs directory

Could not find in /root/.grapevine/prefs: IncludeP2PGames

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1083416544 (LWP 17125)]
0x40669a0e in malloc_consolidate () from /lib/tls/libc.so.6
(gdb) backtrace
#0 0x40669a0e in malloc_consolidate () from
/lib/tls/libc.so.6
#1 0x00000020 in ?? ()

Discussion

  • Ulrich Hopp

    Ulrich Hopp - 2005-01-16

    Logged In: YES
    user_id=1198191

    I got the same error. My ./grapevine/prefs file was screwed up by
    grapevine.
    IncludeP2PGames=Y was directly followed by the comment for the
    next line.
    After correcting it by hand the message Could not find ... went away
    but still it segfaults.

    mfg
    Uli

     
  • Ulrich Hopp

    Ulrich Hopp - 2005-01-17

    Logged In: YES
    user_id=1198191

    First bug found in gametree.c, line 192:
    It should be :

        entry = readdir\(Dir\); 
        if\(entry == NULL\) break; 
    \} while\( \*\(entry->d\_name\) == '.' \);
    

    "entry == NULL" not "entry->d_name" when readdir returns with an
    error. But there are more segfaults. I'll provide a patch a soon as I
    get grapevine running and nobody is quicker than me.

    see you
    Uli

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.