ports/74416: update for rtpmon

Petr Holub hopet at ics.muni.cz
Fri Nov 26 14:40:23 UTC 2004


>Number:         74416
>Category:       ports
>Synopsis:       update for rtpmon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 14:40:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Petr Holub
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
Masaryk University
>Environment:
System: FreeBSD kloboucek.ics.muni.cz 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #10: Fri Nov 26 11:28:50 CET 2004 toor at kloboucek.ics.muni.cz:/usr/src/sys/i386/compile/KLOBOUCEK i386

>Description:

	The rtpmon doesn't compile on FreeBSD 5 (marked BROKEN). I've added
	USE_GCC=2.95 to be able to make it. It seems to compile and run
	fine, except for process termination when it coredumps with the
	following backtrace:

bash-2.05b$ gdb `which rtpmon` rtpmon.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...(no debugging symbols found).
..
Core was generated by `rtpmon'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libtk83.so.1...(no debugging symbols found).
..done.
Loaded symbols for /usr/local/lib/libtk83.so.1
Reading symbols from /usr/local/lib/libtcl83.so.1...(no debugging symbols found)
...done.
Loaded symbols for /usr/local/lib/libtcl83.so.1
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols found)..
.done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.3
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...(no debu
gging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...(no debug
ging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...(no debugging symbols foun
d)...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...(no debugging symbols foun
d)...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found).
..done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...d
one.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x283101d7 in kill () from /lib/libc.so.5
(gdb) bt
#0  0x283101d7 in kill () from /lib/libc.so.5
#1  0x2830527e in raise () from /lib/libc.so.5
#2  0x28377627 in abort () from /lib/libc.so.5
#3  0x281bc423 in Tcl_PanicVA () from /usr/local/lib/libtcl83.so.1
#4  0x281bc443 in Tcl_Panic () from /usr/local/lib/libtcl83.so.1
#5  0x280d2d78 in TkFontPkgFree () from /usr/local/lib/libtk83.so.1
#6  0x280e9a03 in Tk_DestroyWindow () from /usr/local/lib/libtk83.so.1
#7  0x280ea865 in Tk_GetNumMainWindows () from /usr/local/lib/libtk83.so.1
#8  0x2819d5f9 in Tcl_Finalize () from /usr/local/lib/libtcl83.so.1
#9  0x2819d408 in Tcl_Exit () from /usr/local/lib/libtcl83.so.1
#10 0x281870ff in Tcl_ExitObjCmd () from /usr/local/lib/libtcl83.so.1
#11 0x2819e330 in TclExecuteByteCode () from /usr/local/lib/libtcl83.so.1
#12 0x28182fcb in Tcl_EvalObjEx () from /usr/local/lib/libtcl83.so.1
#13 0x2810148e in TkInvokeButton () from /usr/local/lib/libtk83.so.1
#14 0x28100803 in Tk_RadiobuttonObjCmd () from /usr/local/lib/libtk83.so.1
#15 0x281bcf8b in TclExpandTokenArray () from /usr/local/lib/libtcl83.so.1
#16 0x281bd0a9 in Tcl_EvalObjv () from /usr/local/lib/libtcl83.so.1
#17 0x28182d55 in Tcl_EvalObjEx () from /usr/local/lib/libtcl83.so.1
#18 0x281c388a in Tcl_UplevelObjCmd () from /usr/local/lib/libtcl83.so.1
#19 0x2819e330 in TclExecuteByteCode () from /usr/local/lib/libtcl83.so.1
#20 0x28182fcb in Tcl_EvalObjEx () from /usr/local/lib/libtcl83.so.1
#21 0x281c3eb9 in TclObjInterpProc () from /usr/local/lib/libtcl83.so.1
#22 0x281bcf8b in TclExpandTokenArray () from /usr/local/lib/libtcl83.so.1
#23 0x281bd65f in Tcl_EvalEx () from /usr/local/lib/libtcl83.so.1
#24 0x281bd9d1 in Tcl_Eval () from /usr/local/lib/libtcl83.so.1
#25 0x2818476b in Tcl_GlobalEval () from /usr/local/lib/libtcl83.so.1
#26 0x280c5b32 in Tk_BindEvent () from /usr/local/lib/libtk83.so.1
#27 0x280caed4 in TkBindEventProc () from /usr/local/lib/libtk83.so.1
#28 0x280d1ca5 in Tk_HandleEvent () from /usr/local/lib/libtk83.so.1
#29 0x280d2064 in TkQueueEventForAllChildren ()
   from /usr/local/lib/libtk83.so.1
#30 0x281baaad in Tcl_ServiceEvent () from /usr/local/lib/libtcl83.so.1
#31 0x281bad15 in Tcl_DoOneEvent () from /usr/local/lib/libtcl83.so.1
#32 0x280d2101 in Tk_MainLoop () from /usr/local/lib/libtk83.so.1
#33 0x0804a125 in ?? ()
#34 0x08049d85 in ?? ()
#35 0x00000002 in ?? ()
#36 0xbfbfe494 in ?? ()
#37 0x08049d7a in ?? ()
#38 0x0805327c in __deregister_frame_info ()
#39 0xbfbfe5c3 in ?? ()
#40 0x00000000 in ?? ()
#41 0xbfbfe5d5 in ?? ()
#42 0xbfbfe609 in ?? ()
#43 0xbfbfe614 in ?? ()
#44 0xbfbfe62e in ?? ()
---Type <return> to continue, or q <return> to quit---
#45 0xbfbfe65c in ?? ()
#46 0xbfbfe66e in ?? ()
#47 0xbfbfe6a4 in ?? ()
#48 0xbfbfe6af in ?? ()
#49 0xbfbfe72e in ?? ()
#50 0xbfbfe744 in ?? ()
#51 0xbfbfea77 in ?? ()
#52 0xbfbfeaa7 in ?? ()
#53 0xbfbfead5 in ?? ()
#54 0xbfbfeb06 in ?? ()
#55 0xbfbfeb2d in ?? ()
#56 0xbfbfeba2 in ?? ()
#57 0xbfbfebad in ?? ()
#58 0xbfbfebc2 in ?? ()
#59 0xbfbfebd4 in ?? ()
#60 0xbfbfebf9 in ?? ()
#61 0xbfbfec0e in ?? ()
#62 0xbfbfed44 in ?? ()
#63 0xbfbfed50 in ?? ()
#64 0xbfbfed60 in ?? ()
#65 0xbfbfed71 in ?? ()
#66 0xbfbfed7c in ?? ()
#67 0xbfbfed91 in ?? ()
(and so on with the last few lines)
#1764 0x0000002b in ?? ()
Cannot access memory at address 0xbfc00000

	The patch for USE_GCC is included in the fix. However, it would be
	great if the maintainer could resolve the problem with coredumping.
 
>How-To-Repeat:
>Fix:

--- rtpmon.patch begins here ---
diff -ruN rtpmon.bak/Makefile rtpmon/Makefile
--- rtpmon.bak/Makefile	Fri Jun  4 19:29:26 2004
+++ rtpmon/Makefile	Fri Nov 26 15:21:02 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	rtpmon
 PORTVERSION=	1.0a7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mbone tk83
 MASTER_SITES=	ftp://mm-ftp.cs.berkeley.edu/pub/rtpmon/
 
@@ -21,12 +21,9 @@
 USE_X_PREFIX=	yes
 MAN1=		rtpmon.1
 PLIST_FILES=	bin/rtpmon
+USE_GCC=	2.95
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
-.endif
 
 pre-configure:
 	@cd ${WRKSRC}; ${CHMOD} +w configure; ${AUTOCONF}
--- rtpmon.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list