Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* SEGMENT VIOLATION -- CRASHING! #1520

Open
Targenor opened this issue Dec 23, 2023 · 2 comments
Open

* SEGMENT VIOLATION -- CRASHING! #1520

Targenor opened this issue Dec 23, 2023 · 2 comments

Comments

@Targenor
Copy link

Eggdrop v1.9.5 (C) 1997 Robey Pointer (C) 1999-2023 Eggheads
--- Loading eggdrop v1.9.5 (Sat Dec 23 2023)
Listening for telnet connections on 0.0.0.0 port 1024 (all).
Module loaded: blowfish
Module loaded: dns
Module loaded: channels
Module loaded: server
Module loaded: ctcp
Module loaded: irc

  • Last context: tclhash.c/247 []
  • Please REPORT this BUG!
  • Check doc/BUG-REPORT on how to do so.
  • Wrote DEBUG
  • SEGMENT VIOLATION -- CRASHING!
    Warning: Attempt to kill un-allocated socket 0!
    Segmenteringsfel

What can i do to fix this?

@k1noy
Copy link

k1noy commented May 7, 2024

Same kasus

Eggdrop v1.9.5 (C) 1997 Robey Pointer (C) 1999-2023 Eggheads
--- Loading eggdrop v1.9.5 (Tue May 7 2024)
Module loaded: channels
Module loaded: server
Module loaded: ctcp
Module loaded: irc
LANG: No lang files found for section transfer.
Module loaded: transfer (with lang support)

  • Last context: tclhash.c/247 []
  • Please REPORT this BUG!
  • Check doc/BUG-REPORT on how to do so.
  • Wrote DEBUG
  • SEGMENT VIOLATION -- CRASHING!
    Segmentation fault

how how how to fix it.........???

@happynmours
Copy link

happynmours commented May 20, 2024

Eggdrop v1.9.5 (C) 1997 Robey Pointer (C) 1999-2023 Eggheads

TLS: attempting SSL negotiation...
[02:14:27] TLS: setting the server name indication (SNI) to MacBookPro successful
[02:14:27] TLS: state change: before SSL initialization
[02:14:27] TLS: state change: before SSL initialization
[02:14:27] TLS: state change: SSLv3/TLS write client hello
[02:14:27] TLS: awaiting more reads
[02:14:27] TLS: handshake in progress
[02:14:27] * Last context: tclhash.c/247 []
[02:14:27] * Please REPORT this BUG!
[02:14:27] * Check doc/BUG-REPORT on how to do so.
[02:14:26] * Wrote DEBUG
[02:14:26] * SEGMENT VIOLATION -- CRASHING!

This is happening on macbookpro m2 with latest tcl-tk and xcode

Below is a link to my full debug file.

https://hastebin.skyra.pw/toxiciwozi.yaml

UPDATE: Had older version xcode, updated to latest and updated Sonoma to 14.5 and updated the eggdrop Makefile to use:

Defaults

CC = gcc-14

make 'modegg'

MOD_CC = gcc-14

and

make 'modules'

SHLIB_CC = gcc-14 -fPIC

and common error during make eggdrop is:
ld: warning: -single_module is obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants