View Issue Details

IDProjectCategoryView StatusLast Update
0005811unrealircdpublic2021-01-30 12:50
ReporterOmerAti Assigned Tosyzop  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionunable to duplicate 
Product Version5.0.8 
Summary0005811: unrealircd start
Description
When I do config make make install in the first installation, unrealircd starts


then when I do make clean config make make install it gives the following report but it still starts

START OF BACKTRACE
 [New LWP 11530]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 Core was generated by `/home/ircheves/unrealircd/bin/unrealircd'.
 Program terminated with signal 11, Segmentation fault.
 #0 0x0000000000000ea0 in ?? ()
 #0 0x0000000000000ea0 in ?? ()

 989 * because 'long' should be 64 bit on all systems by then... -- Syzop
 990 */
 991 #define mytdiff(a, b) ((long)a - (long)b)
 992
 993 #ifndef _WIN32
 994 int main(int argc, char *argv[])
 995 #else
 996 int InitUnrealIRCd(int argc, char *argv[])
 997 #endif
 998 {

 

0x5609cbfae300 <backupbuf>: "ping IRC.Maytap.ORG"

 #0 0x0000000000000ea0 in ?? ()
 #1 0x00007f91f29c808a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
 #2 0x00007f91f0dbece9 in __run_exit_handlers () from /lib64/libc.so.6
 #3 0x00007f91f0dbed37 in exit () from /lib64/libc.so.6
 #4 0x00005609cbb03232 in s_die () at ircd.c:202
 #5 <signal handler called>
 #6 0x00007f91f0e83f23 in __epoll_wait_nocancel () from /lib64/libc.so.6
 #7 0x00005609cbb27dcf in fd_select (delay=delay@entry=500) at s_dispatch.c:518
 0000008 0x00005609cbaf6084 in main (argc=0, argv=<optimized out>) at ircd.c:1604

 #0 0x0000000000000ea0 in ?? ()
 No symbol table info available.
 #1 0x00007f91f29c808a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
 No symbol table info available.
 #2 0x00007f91f0dbece9 in __run_exit_handlers () from /lib64/libc.so.6
 No symbol table info available.
 #3 0x00007f91f0dbed37 in exit () from /lib64/libc.so.6
 No symbol table info available.
 #4 0x00005609cbb03232 in s_die () at ircd.c:202
 No locals.
 #5 <signal handler called>
 No symbol table info available.
 #6 0x00007f91f0e83f23 in __epoll_wait_nocancel () from /lib64/libc.so.6
 No symbol table info available.
TagsNo tags attached.
3rd party modules

Activities

syzop

2021-01-30 10:19

administrator   ~0021884

s_die() means one of these:
1) someone did ./unrealircd stop"
2) someone did killall -15 unrealircd (or similar commands)
3) someone did /DIE on IRC

So... if someone kills or /die's your ircd then unrealircd will stop... this is normal :)

syzop

2021-01-30 12:49

administrator   ~0021885

Ok it turns out everything works fine, it is just this (annoying) message when unrealircd boots.
What is confusing to me is that ircd.c line 202 in the backtrace... it does not exist on *NIX, it is ifdef'ed out Windows code, so this backtrace from above is technically impossible.
I don't know. Weird stuff.

The crash happens when unloading/exiting anyway, it is indeed not important, it is just an annoying/confusing message.

Nobody else seems to have this with 5.0.8... so... yeah... i am not sure. Maybe just ignore? :)

syzop

2021-01-30 12:50

administrator   ~0021886

Ok I am closing as "unable to duplicate" since I/we cannot duplicate the same issue.
I suggest you ignore the message on start for now (or do your tmp cleanup workaround as you mentioned).

If other people have the same problem then we can look at it again. Thanks!

Issue History

Date Modified Username Field Change
2021-01-30 09:52 OmerAti New Issue
2021-01-30 10:19 syzop Note Added: 0021884
2021-01-30 12:49 syzop Note Added: 0021885
2021-01-30 12:50 syzop Assigned To => syzop
2021-01-30 12:50 syzop Status new => closed
2021-01-30 12:50 syzop Resolution open => unable to duplicate
2021-01-30 12:50 syzop Note Added: 0021886