Whenever I run OpenAG X 1.1.1 cvs 1.38 it will try to dereference a
NULL pointer after a little while (sometimes I succesfully started
recieving a file before it happens). It happens both when I have
shares selected off and when they are on in the preferences.
Below is the output of a run with gdb with shares off:
Please write me, if you need more information (as you can see from
the ip adress I am on a local subnet, but I do not think it's relevant
here.) :
-------------------------------------------
(gdb) run
Starting program: /Volumes/OpenAG X 1.1.1/OpenAG X.app/
Contents/MacOS/OpenAG X
[Switching to thread 1 (process 462 thread 0x1603)]
Reading symbols for shared libraries .................................. done
Reading symbols for shared libraries . done
FDD check: ~/Documents/iTunes/iTunes Music, BD check: /Volumes/
OpenAG X 1.1.1
IDD check: ~/Library/Caches/OpenAG, BD check: /Volumes/OpenAG
X 1.1.1
sharing disabled, not sharing
Found 0 shares in shares database
Found 0 shares in share directories
About to merge old and new databases
Removing remaining 0 unfound database records
Adding remaining 0 new shares...
0 shares were found to both exist in the database and on disk
0 old shares were ignored because of bad IDs
0 old shares were not found on disk and removed from the
database
In Total: 0 old shares were removed from the database
0 new shares were found not in the database and were added
reading in mp3 info for new files
About to execute: mkdir -p "/Users/yasumura/Library/Application
Support/OpenAG"
absoluted path: /Users/yasumura/Library/Caches/OpenAG
Not recursing, already at maximum depth
FileList Contains:
length of FileList: 0
Merging resumes, and DELETING extras!
Removing remaining 1 database records
File: , found in DB but not on disk.
Removing remaining 0 temporary files
0 resumes were found to exist already in the database
1 resumes were removed from the database
0 resumes were found not in the database
Connection to Information Server succesfully established!
got an infoserver on socket 10
Got local IP Address of: 10.0.0.2
user check: selbbels
just checking IP: 10.0.0.2
converted server string to local: new proxy test
File not found in resume database. Adding a slot for it and setting
it's name.
adding new resume: new proxy test with 0 bytes of 1 and LocalID: 0
REMOVING CONNECTION RECORD #1 with flags: 32
Sending share list to server...
Share list sent, waiting for share responses...
2002-05-23 18:54:52.127 OpenAG X[462] ******************* COULD
NOT CONVERT STRING ************
The error generated was: 54 which means: Connection reset by
peer
WOH. TRIED TO LOOKUP A NULL FILENAME!
File not found in resume database. Adding a slot for it and setting
it's name.
[Switching to thread 2 (process 462 thread 0x1f4b)]
Program received signal EXC_BAD_ACCESS, Could not access
memory.
[Switching to process 462 thread 0x1f4b]
0x70000a50 in strlen ()
(gdb) bt
#0 0x70000a50 in strlen ()
#1 0x70010138 in strdup ()
#2 0x000180b4 in handleOutgoingFileRequest (STATS=
@0x177f00c) at ../libOpenAG/AGMain.cpp:1366
#3 0x00014330 in doMainLoop (STATS=@0x177f00c) at ../
libOpenAG/AGMain.cpp:286
#4 0x0000ea90 in -[ClientController runClient:] (self=0x177f000,
_cmd=0x2bcb4, ignored=0x0) at ClientController.mm:271
#5 0x70842358 in forkThreadForFunction ()
#6 0x7002054c in _pthread_body ()
(gdb) quit