Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Programming
➜ General
➜ Strange TMI2 SegFault
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Terry
USA (87 posts) Bio
|
| Date
| Fri 28 Nov 2008 08:22 PM (UTC) Amended on Fri 28 Nov 2008 11:07 PM (UTC) by Terry
|
| Message
| I'm getting a rather strange segmentation fault when I try to configure the MUD, but I don't see any tracebacks anywhere that would explain why. Everything seems to have worked correctly in compilation, and it all seems to be installed, except for what I've logged below. Would anyone be able to tell me where I can find the tracebacks so I can figure out what's wrong? I looked in the various log dirs, and none seemed relevant.
~/tmi2/bin$ ls
addr_server config.tmi2 driver
~/tmi2/bin$ ./driver config.tmi2&
[3] 1800
~/tmi2/bin$ using config file: config.tmi2
Initializing internal tables....
At this point, it seems to lock up, so I hit ^C.
[code="I then get this:"] [3] Segmentation fault ./driver config.tmi2
Any help would be greatly appreciated, as I've never seen this error before. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 28 Nov 2008 08:30 PM (UTC) |
| Message
| I am not familiar with this, however a "lock up" suggests a loop, in which case there will be no dump or traceback.
What you could do is this:
(Note no ampersand at the back, which stops it being a detached process).
Type "run config.tmi2" to start it up.
Then, if it loops, hit Ctrl+C. That takes you back into the debugger. Then type "bt" to get a backtrace. That might show what it thinks it is doing.
See: http://www.gammon.com.au/gdb for more info about using gdb. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,358 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top