net/xisp: need help for 5.x varargs.h update

Ion-Mihai Tetcu itetcu at apropo.ro
Sun Mar 7 21:27:06 PST 2004


On Sun,  7 Mar 2004 19:12:20 -0600
tm at onepost.net (Takeshi Morishima) wrote:

> 
> Hi there,
> 
> Help wanted.
> 
> Net/xisp port has been broken for 5.x releases for a while due to
> gcc3.3 varargs.h issue.  Latest patch release of xisp should fix this
> and I updated several files in net/xisp port accordingly.  It compiles
> on my 4.7 system.  However, I haven't had a chance to upgrade my
> system to 5.x (still using 4.7) and unable to confirm that it compiles
> with 5.x releases.  I'm looking for some help here - anyone who can
> check for me really quick if the updated xisp port compiles with 5.x
> releases?  Once it is confirmed, I'll send-pr.
> 
> A tarball containing updated net/xisp dir can be found at the
> following location.
> 
>    http://www.ml-search.com/xisp/distfiles/net-xisp.tar.gz

Builds and installs ok. Can't say it working :(

Note that I don't use it so I can really test it and I'm not familiar
with it. Also note I don't have a modem in my pc.

I've launched from a su root kterm, get to Loggind->options->edit ptt  and tried to modify and
ISP. It core-dumped.

And seems to be the cause of the following:
Mar  8 07:15:59 it kernel: pid 6296 (xisp), uid 0: exited on signal 10 (core dumped)
Mar  8 07:16:31 it kernel: lock order reversal
Mar  8 07:16:31 it kernel: 1st 0xc06e4ac0 sched lock (sched lock) @ /usr/src/sys/kern/kern_sig.c:2029
Mar  8 07:16:31 it kernel: 2nd 0xc06e7ae4 sleepq chain (sleepq chain) @ /usr/src/sys/kern/subr_sleepqueue.c:193
Mar  8 07:16:31 it kernel: Stack backtrace:
Mar  8 07:16:31 it kernel: backtrace(c06914f2,c06e7ae4,c0690854,c0690854,c0690861) at backtrace+0x17
Mar  8 07:16:31 it kernel: witness_checkorder(c06e7ae4,9,c0690861,c1,c06ea280) at witness_checkorder+0x6f6
Mar  8 07:16:31 it kernel: _mtx_lock_spin_flags(c06e7ae4,0,c0690861,c1,c4dfc370) at _mtx_lock_spin_flags+0x9a
Mar  8 07:16:31 it kernel: sleepq_lookup(c4cc0898,0,c06e4ac0,c06ebe40,c4dfc370) at sleepq_lookup+0x67
Mar  8 07:16:31 it kernel: sleepq_broadcast(c4cc0898,0,ffffffff,e1b94c54,c04e8c58) at sleepq_broadcast+0x35
Mar  8 07:16:31 it kernel: wakeup(c4cc0898,1,c068dfc0,8b8,c4dfc370) at wakeup+0x21
Mar  8 07:16:31 it kernel: stop(c4dfc370,0,c068dfc0,7ed,c068d0c7) at stop+0x48
Mar  8 07:16:31 it kernel: ptracestop(c4e02930,5,c068dfc0,82f,10) at ptracestop+0xde
Mar  8 07:16:31 it kernel: issignal(c4e02930,2,c068dfc0,be,0) at issignal+0x1f7
Mar  8 07:16:31 it kernel: cursig(c4e02930,0,c0690c58,103,20800) at cursig+0xde
Mar  8 07:16:31 it kernel: ast(e1b94d48) at ast+0x4e0
Mar  8 07:16:31 it kernel: doreti_ast() at doreti_ast+0x17

I can't make it do it again.

After core dump, when executing it :

xISP: readParam: error reading /root/.xisplogs/xispPTTs
xISP: readParam: offending line: [DiscountPercent[1]: -2.80268e+10]

make deinsstall && make install

done the same operations, trying to modify the price per unit for
Portugal ... from 1 to 2.

# gdb xisp
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 "i386-undermydesk-freebsd"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/X11R6/bin/xisp
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGBUS, Bus error.
0x0804dfdb in fl_set_button ()
(gdb) where
#0  0x0804dfdb in fl_set_button ()
#1  0xd0d0d0d0 in ?? ()
Error accessing memory address 0xd0d0d0d0: Bad address.

So it seems it's broken for 5.x 

# uname -a 
FreeBSD it.buh.cameradicommercio.ro 5.2-CURRENT FreeBSD 5.2-CURRENT #0:
Fri Mar 5 00:15:37 EET 2004  
itetcu at it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/KSE_ULE_UP_apic_R_2004_03_04
i386



-- 
IOnut
Unregistered ;) FreeBSD user



More information about the freebsd-ports mailing list