Opened 15 years ago
Closed 9 years ago
#232 closed defect (fixed)
Non-existing socket connection lets arb programs crash
Reported by: | baderk | Owned by: | westram |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ARB_NTREE | Version: | SVN |
Keywords: | Cc: |
Description
Connecting to a non-existing socket, e.g. "arb_ntree localhost:1234" or "arb_edit4 localhost:2345" causes ARB programs to crash instead of reporting an error message / GB_ERROR.
SVN Rev. 6666
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b0e158 in gbcmc_key_alloc (gbd=0x7d2ff0, key=0x7ffff7b5fdc5 "__SYSTEM__") at adcomm.cxx:1762 1762 socket = Main->c_link->socket; (gdb) bt #0 0x00007ffff7b0e158 in gbcmc_key_alloc (gbd=0x7d2ff0, key=0x7ffff7b5fdc5 "__SYSTEM__") at adcomm.cxx:1762 #1 0x00007ffff7b3957b in gb_create_key (Main=0x7c1b00, s=0x7ffff7b5fdc5 "__SYSTEM__", create_gb_key=true) at ad_core.cxx:743 #2 0x00007ffff7b312c0 in GB_key_2_quark (gbd=0x7d2ff0, s=0x7ffff7b5fdc5 "__SYSTEM__") at arbdb.cxx:1214 #3 0x00007ffff7b389cf in gb_delete_main_entry (gb_main_ptr=0x7fffffffded0) at ad_core.cxx:523 #4 0x00007ffff7b38cd2 in gb_delete_dummy_father (dummy_father=0x7c1b20) at ad_core.cxx:552 #5 0x00007ffff7b055e0 in GB_login (cpath=0x7fffffffe506 "localhost:1234", opent=0x55356c "rwt", user=0x7fffffffe737 "kai") at ad_load.cxx:1641 #6 0x00007ffff7b05725 in GB_open (path=0x7fffffffe506 "localhost:1234", opent=0x55356c "rwt") at ad_load.cxx:1674 #7 0x00000000004707d8 in main (argc=1, argv=0x7fffffffe1f0) at ED4_main.cxx:526 (gdb)
Change History (1)
comment:1 Changed 9 years ago by westram
- Owner changed from devel to westram
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
works now: