[Refdb-users] Refdbib segmentation fault in 0.8.6
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <hoe...@co...> - 2002-09-13 04:34:55
|
Hi, thanks for reporting this bug. It is unfortunately silent on FreeBSD, so I did not realize that the first fix (see the archives) did not fully fix the problem. The (hopefully) correct fix for the second part of this problem is to replace the corresponding section of refdbib.c with the following chunk: -------------------------- /* initialize the array of preference values */ prefs[0].varvalue = server_ip; prefs[1].varvalue = port_address; prefs[2].varvalue = verbose; prefs[3].varvalue = the_pager; prefs[4].varvalue = username; prefs[5].varvalue = passwd; prefs[6].varvalue = current_db; prefs[7].varvalue = refdb_timeout; prefs[8].varvalue = output_type; prefs[9].varvalue = output_format; prefs[10].varvalue = log_file; prefs[11].varvalue = log_dest; prefs[12].varvalue = log_level; prefs[13].varvalue = stylespec_dir; prefs[14].varvalue = refdblib; -------------------------- Nicolas, could you please verify whether this code runs ok on Linux? regards, Markus Nicolas Brouard writes: > > Hi, > > I got again a segmentation fault in refdbib on a Linux box (Mandrake 8.2) > just at starting when it tries to read the 'rc' files. > > I changed, in line 213, of refdbib.c a 0 with a 1 (as it is on some other > clients): > read_prefs (prefs, "refdbibrc",1); > -- Markus Hoenicka <hoe...@co...> http://ourworld.compuserve.com/homepages/hoenicka_markus/ |