Hi again,
My ion3 config works fine on a Linux box, the default config seems to work for
Solaris, but when I start ion3 with my config on a Solaris box, I get a segfault
when I launch Emacs or Mozilla (surprisingly, rxvt opens fine).
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.5.1"...
(gdb) r
Starting program: /home/mm43/tlmsoc/ion3/bin/ion3
input method doesn't support my preedit type.
Program received signal SIGSEGV, Segmentation fault.
extl_push_obj (st=0x74b08, obj=0x13327a) at luaextl.c:215
215 if(EXTL_OBJ_CACHED(obj)){
(gdb) where
#0 extl_push_obj (st=0x74b08, obj=0x13327a) at luaextl.c:215
#1 0x3a48c in extl_stack_push_vararg (st=0x74b08, spec=0 '\000',
argsp=0xffbeebc4) at luaextl.c:728
#2 0x3abc8 in extl_table_dodo_set2 (st=0x74b08, params=0xffbeeb40) at
luaextl.c:1087
#3 0x3947c in extl_docpcall (st=0x0) at luaextl.c:117
#4 0x3f810 in luaD_precall ()
#5 0x3f9a0 in luaD_call ()
#6 0x3d8bc in f_Ccall ()
#7 0x3f080 in luaD_rawrunprotected ()
#8 0x3fcf8 in luaD_pcall ()
#9 0x3d8f4 in lua_cpcall ()
#10 0x394cc in extl_cpcall (st=0x74b08, fn=0x3ab88 <extl_table_dodo_set2>,
ptr=0xffbeeb40) at luaextl.c:133
#11 0x3ac08 in extl_table_set_vararg (ref=210, itype=115 's', type=111 'o',
args=0xffbeebc4) at luaextl.c:1102
#12 0x3ac44 in extl_table_set (ref=210, itype=115 's', type=111 'o') at
luaextl.c:1112
#13 0x3ac68 in extl_table_sets_o (ref=210, entry=0x57e58 "tfor", val=0x13327a)
at luaextl.c:1121
#14 0x263f4 in manageparams_to_table (mp=0xffbeee74) at manage.c:254
#15 0xfef476b8 in placement_mrsh_extl (fn=397, p=0xffbeee08) at placement.c:58
#16 0x2f834 in hook_call_alt (hk=0x0, p=0xffbeee08, m=0xfef47674
<placement_mrsh>, em=0xfef47698 <placement_mrsh_extl>) at hooks.c:366
#17 0xfef47788 in ionws_manage_clientwin (ws=0x12df08, cwin=0x136b18,
param=0xffbef140, redir=0) at placement.c:86
#18 0x26050 in region_manage_clientwin (reg=0x12df08, cwin=0x136b18,
param=0xffbef140, redir=0) at manage.c:109
#19 0x2b92c in mplex_manage_clientwin (mplex=0x928f8, cwin=0x136b18,
param=0xffbef140, redir=0) at mplex.c:1015
#20 0x26050 in region_manage_clientwin (reg=0x928f8, cwin=0x136b18,
param=0xffbef140, redir=0) at manage.c:109
#21 0x25fe8 in clientwin_do_manage_default (cwin=0x136b18, param=0xffbef140) at
manage.c:94
#22 0x20750 in do_manage_mrsh (fn=0x25f64 <clientwin_do_manage_default>,
p=0xffbef138) at clientwin.c:414
#23 0x2f814 in hook_call_alt (hk=0x0, p=0xffbef138, m=0x20740 <do_manage_mrsh>,
em=0x20758 <do_manage_mrsh_extl>) at hooks.c:364
#24 0x20ad8 in ioncore_manage_clientwin (win=25165826, maprq=0) at
clientwin.c:542
#25 0x26c40 in rootwin_manage_initial_windows (rootwin=0x2) at rootwin.c:154
#26 0x1f9d4 in ioncore_startup (display=0x926a0 "", cfgfile=0x6d000 "",
stflags=0) at ioncore.c:501
#27 0x1e210 in main (argc=355328, argv=0x56c00) at ion.c:244
(gdb) list
210 if(obj==NULL){
211 lua_pushnil(st);
212 return;
213 }
214
215 if(EXTL_OBJ_CACHED(obj)){
216 if(EXTL_OBJ_OWNED(obj)){
217 lua_rawgeti(st, LUA_REGISTRYINDEX, owned_cache_ref);
218 lua_pushlightuserdata(st, obj);
219 lua_rawget(st, -2);
(gdb) p *obj
$1 = {obj_type = 0x656c6400, obj_watches = 0x0, flags = 1638400}
(gdb) The program is running. Exit anyway? (y or n) y
This seems to happen in the lua function detach.manager of the version of
detach.lua I've just submitted to the ion3 script repository.
--
Matthieu
-------------------------------------------------
envoy� via Webmail/IMAG !