Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Segmentation fault: 11  (Read 5459 times)

0 Members and 1 Guest are viewing this topic.

Master

  • Anope User
  • Offline Offline
  • Posts: 56
Segmentation fault: 11
« on: March 12, 2009, 06:11:15 PM »

I've recently attempted to get the devel branch working (1.9.0-release). It compiles fine, and I've configured everything correctly. At first it started right up and ran for a while, then crashed without warning or anything in the logs, so I restarted it. Then it crashes again within a few hours. Now I get the segmentation fault error when I try to run it with the -support switch.

Services does connect to the server and begin noticing users, but instantly encounters that error and dies without any indication of why. I've heard that memory issues could be at fault, but the shell has enough for me to run it (since it's replacing the old services). So...I'm lost.  ???
Logged
Always believe Murphy's Law. If you don't, watch what happens.

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Segmentation fault: 11
« Reply #1 on: March 12, 2009, 06:28:07 PM »

Run it again in gdb and paste a backtrace, so we can narrow this down.
Logged

Master

  • Anope User
  • Offline Offline
  • Posts: 56
Re: Segmentation fault: 11
« Reply #2 on: March 12, 2009, 07:17:07 PM »

When I run gdb, I get this error:

Quote
[Mar 12 14:16:39.831369 2009] Runtime module location: /usr/home/andrewxc/services/bin/../data/modules/runtime/os_update.so.wbfHzM
[Mar 12 14:16:39.852701 2009] trying to load [os_restart]
[Mar 12 14:16:39.853379 2009] Runtime module location: /usr/home/andrewxc/services/bin/../data/modules/runtime/os_restart.so.OXcYmf
Recursive internal problem.
Abort trap: 6

What's going on...?
Logged
Always believe Murphy's Law. If you don't, watch what happens.

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Segmentation fault: 11
« Reply #3 on: March 13, 2009, 01:52:38 PM »

I've never seen that before... Maybe as a temporary fix to get gdb to continue, remove os_restart from the list of modules.
Logged
Pages: [1]   Go Up