Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 1998 14:18:13 +0200 (MET DST)
From:      Joerg Schilling <schilling@fokus.gmd.de>
To:        paulz@trantor.stuyts.nl, schilling@fokus.gmd.de
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: cdrecord trouble on currnet
Message-ID:  <199806011218.OAA17003@sherwood.gmd.de>

next in thread | raw e-mail | index | archive | help
>From paulz@trantor.stuyts.nl Fri May 29 22:46:23 1998

>> >> > Bus error (core dumped)
>It looks like this is not related to the posix scheduling not present.

>> 
>> If you are not able to analyze the core with adb and send a usable
>> bug description, I cannot help..

>Maybe the following gdb output helps.
>$ sudo ./cdrecord dev=0,4,0 -data -dummy /scratch/img/psnl
>Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
>./cdrecord: Function not implemented. WARNING: Cannot set RR-scheduler
>Bus error (core dumped)
>[22:28:38 trantor:paulz:/usr/source/ports/sysutils/cdrecord/work/cdrecord-1.6/cdrecord/OBJ/i386-freebsd-cc]
>$ sudo gdb ./cdrecord cdrecord.core 
>GDB is free software and you are welcome to 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.
>GDB 4.16 (i386-unknown-freebsd), 
>Copyright 1996 Free Software Foundation, Inc...
>Core was generated by `cdrecord'.
>Program terminated with signal 10, Bus error.
>Reading symbols from /usr/libexec/ld.so...done.
>Reading symbols from /usr/lib/aout/libc.so.3.1...done.
>#0  fillbytes (tov=0xffffffff, cnt=541769726, val=0) at fillbytes.c:49
>49                      *to++ = cval;
>(gdb) where
>#0  fillbytes (tov=0xffffffff, cnt=541769726, val=0) at fillbytes.c:49
>#1  0x610d in init_fifo (fs=4194304) at fifo.c:179
>#2  0x1d00 in main (ac=5, av=0xefbfd5c4) at cdrecord.c:227

Thanks, this makes it clear that the problem is related to the not working
sysconf(_SC_PAGESIZE)

Jörg

 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806011218.OAA17003>