Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 14:32:26 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136997: print/jabref:  Bad system call
Message-ID:  <200907221432.n6MEWQI2035296@www.freebsd.org>
Resent-Message-ID: <200907221440.n6MEe2Us001118@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136997
>Category:       ports
>Synopsis:       print/jabref:  Bad system call
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 22 14:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 8.0-BETA2/AMD64
>Organization:
FU Berlin
>Environment:
FreeBSD foo.org 8.0-BETA2 FreeBSD 8.0-BETA2 #10 r195817: Wed Jul 22 06:38:12 UTC 2009     root@foo.org:/usr/obj/usr/src/sys/FOO  amd64

>Description:
After the most recent make_world and upgrade of ports, jabref doen't work anymore and quits with 'Bad system call'.

Calling 'ohartmann: java -jar /usr/local/share/java/jabref/jabref.jar' in a bash results in:

Bad system call: 12

Tracing 'jabref' with truss results in appended trace.

Oliver
---

ohartmann: truss jabref
__sysctl(0x7fffffffde90,0x2,0x7fffffffdeac,0x7fffffffdea0,0x0,0x0) = 0 (0x0)
mmap(0x0,656,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365284352 (0x80054a000)
munmap(0x80054a000,656)                          = 0 (0x0)
__sysctl(0x7fffffffdf00,0x2,0x800654068,0x7fffffffdef8,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365284352 (0x80054a000)
issetugid(0x80054b015,0x8005454a6,0x800660890,0x800660860,0x5b6f,0x0) = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY,0666)           ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",O_RDONLY,057)    = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M-c\0\0"...,128) = 128 (0x80)
lseek(3,0x80,SEEK_SET)                           = 128 (0x80)
read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,227) = 227 (0xe3)
close(3)                                         = 0 (0x0)
access("/lib/libedit.so.7",0)                    = 0 (0x0)
open("/lib/libedit.so.7",O_RDONLY,031237500)     = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=353355,size=108168,blksize=4096 }) = 0 (0x0)
read(3,"\^?ELF\^B\^A\^A\t\0\0\0\0\0\0\0"...,4096) = 4096 (0x1000)
mmap(0x0,1155072,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366427136 (0x800661000)
mmap(0x800661000,90112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34366427136 (0x800661000)
mmap(0x800777000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x16000) = 34367565824 (0x800777000)
close(3)                                         = 0 (0x0)
access("/lib/libncurses.so.8",0)                 = 0 (0x0)
open("/lib/libncurses.so.8",O_RDONLY,031237500)  = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=353311,size=307296,blksize=4096 }) = 0 (0x0)
read(3,"\^?ELF\^B\^A\^A\t\0\0\0\0\0\0\0"...,4096) = 4096 (0x1000)
mmap(0x0,1351680,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34367582208 (0x80077b000)
mmap(0x80077b000,266240,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34367582208 (0x80077b000)
mmap(0x8008bb000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x40000) = 34368892928 (0x8008bb000)
close(3)                                         = 0 (0x0)
access("/lib/libc.so.7",0)                       = 0 (0x0)
open("/lib/libc.so.7",O_RDONLY,031237500)        = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=353283,size=1225448,blksize=4096 }) = 0 (0x0)
read(3,"\^?ELF\^B\^A\^A\t\0\0\0\0\0\0\0"...,4096) = 4096 (0x1000)
mmap(0x0,2301952,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34368933888 (0x8008c5000)
mmap(0x8008c5000,1015808,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34368933888 (0x8008c5000)
mmap(0x800abc000,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xf7000) = 34370994176 (0x800abc000)
mprotect(0x800add000,106496,PROT_READ|PROT_WRITE) = 0 (0x0)
close(3)                                         = 0 (0x0)
sysarch(0x81,0x7fffffffdf80,0x80054f188,0x0,0xffffffffffa88c70,0x8008e0f10) = 0 (0x0)
mmap(0x0,2128,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365317120 (0x800552000)
munmap(0x800552000,2128)                         = 0 (0x0)
mmap(0x0,2048,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365317120 (0x800552000)
munmap(0x800552000,2048)                         = 0 (0x0)
mmap(0x0,10096,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365317120 (0x800552000)
munmap(0x800552000,10096)                        = 0 (0x0)
mmap(0x0,43744,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365317120 (0x800552000)
munmap(0x800552000,43744)                        = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
__sysctl(0x7fffffffdf20,0x2,0x51ec60,0x7fffffffdf18,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
getpid(0x7fffffffe5c0,0x800abe322,0x40f552,0xfefefefefefeff42,0x101010101010101,0x8080808080808080) = 2975 (0xb9f)
geteuid(0x41b31e,0xa,0x520c40,0xbf3c4000,0x101010101010101,0x8080808080808080) = 2001 (0x7d1)
getppid(0x41b31e,0xa,0x41b320,0xbf3c4000,0x101010101010101,0x8080808080808080) = 2974 (0xb9e)
__sysctl(0x7fffffffdae0,0x2,0x800ae1f08,0x7fffffffdad8,0x0,0x0) = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffdb00,1024) ERR#2 'No such file or directory'
issetugid(0x8009b2543,0x7fffffffdb00,0xffffffffffffffff,0x0,0x0,0x0) = 0 (0x0)
break(0x600000)                                  = 0 (0x0)
__sysctl(0x7fffffffdd20,0x2,0x7fffffffdd3c,0x7fffffffdd30,0x0,0x0) = 0 (0x0)
mmap(0x0,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34371235840 (0x800af7000)
mmap(0x800bf7000,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34372284416 (0x800bf7000)
munmap(0x800af7000,36864)                        = 0 (0x0)
stat("/var/mail/ohartmann",{ mode=-rw------- ,inode=400398,size=568,blksize=4096 }) = 0 (0x0)
getuid(0x2,0x7fffffffe6b0,0x1,0x0,0x20,0x8080808080808080) = 2001 (0x7d1)
geteuid(0x2,0x7fffffffe6b0,0x1,0x0,0x20,0x8080808080808080) = 2001 (0x7d1)
getgid(0x2,0x7fffffffe6b0,0x1,0x0,0x20,0x8080808080808080) = 2001 (0x7d1)
getegid(0x2,0x7fffffffe6b0,0x1,0x0,0x20,0x8080808080808080) = 2001 (0x7d1)
open("/usr/local/bin/jabref",O_RDONLY,037777764470) = 3 (0x3)
fcntl(3,F_DUPFD,0xa)                             = 10 (0xa)
close(3)                                         = 0 (0x0)
fcntl(10,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
sigaction(SIGINT,0x0,{ SIG_DFL 0x0 ss_t })       = 0 (0x0)
sigaction(SIGINT,{ 0x415e5e SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigaction(SIGINT,0x0,{ 0x415e5e SA_RESTART ss_t }) = 0 (0x0)
sigaction(SIGINT,{ 0x415e5e 0x0 ss_t },0x0)      = 0 (0x0)
sigaction(SIGQUIT,0x0,{ SIG_DFL 0x0 ss_t })      = 0 (0x0)
sigaction(SIGQUIT,{ 0x415e5e SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigaction(SIGQUIT,0x0,{ 0x415e5e SA_RESTART ss_t }) = 0 (0x0)
sigaction(SIGQUIT,{ 0x415e5e 0x0 ss_t },0x0)     = 0 (0x0)
sigaction(SIGTERM,0x0,{ SIG_DFL 0x0 ss_t })      = 0 (0x0)
sigaction(SIGTERM,{ SIG_DFL SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
sigaction(SIGWINCH,0x0,{ SIG_DFL 0x0 ss_t })     = 0 (0x0)
sigaction(SIGWINCH,{ SIG_DFL SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
__getcwd("/homes/ohartmann",1024)                = 0 (0x0)
read(10,"#!/bin/sh\n#\n# $FreeBSD: ports/"...,1023) = 192 (0xc0)
fork(0x51c3a0,0x0,0x0,0x0,0xc0,0x0)              = 2976 (0xba0)
getpgrp(0x800b0c0c0,0x7fffffffe498,0x0,0x0,0xc0,0x0) = 2975 (0xb9f)
wait4(0xffffffff,0x7fffffffe2fc,0x2,0x0,0xc0,0x0) = 2976 (0xba0)
Bad system call
write(1,"Bad system call\n",16)                  = 16 (0x10)
read(10,0x520da0,1023)                           = 0 (0x0)
process exit, rval = 140
ohartmann: 

>How-To-Repeat:

>Fix:


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



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