I need some help figuring out an issue I am having after I split my code base into two binaries. Client and Server.
Here's the command to get the code along with a guide on compiling it. (See the building on linux section)
- {l Code}: {l Select All Code}
bzr pull lp:~andrewfenn/hardwar/binarysplit
It compiles fine for me, the problems happen when running the server. Code for interacting with sqlite which I haven't changed, just moved to a different object now crashes. If anyone could help me debug this it'd be great!
- {l Code}: {l Select All Code}
andrew@andrew-laptop:~/programming/hardwar2/bin$ gdb ./server
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /home/andrew/programming/hardwar2/bin/server
[Thread debugging using libthread_db enabled]
Starting server
Port:26500
[New Thread 0xb62afa70 (LWP 8550)]
[New Thread 0xb61aeb90 (LWP 8553)]
[Thread 0xb61aeb90 (LWP 8553) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb62afa70 (LWP 8550)]
0xb7b3620f in openDatabase (zFilename=0x8f6a7d4 "world/default.db", ppDb=0x4, flags=6, zVfs=0x0) at sqlite3.c:88945
88945 sqlite3.c: No such file or directory.
in sqlite3.c
Current language: auto; currently c