You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2013/11/25 03:42:35 UTC

[jira] [Commented] (TS-2034) make test fails with Linux AIO enabled

    [ https://issues.apache.org/jira/browse/TS-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831152#comment-13831152 ] 

Zhao Yongming commented on TS-2034:
-----------------------------------

{code}
zym@ubuntu:~/trafficserver/iocore/aio$ gdb  --args .libs/test_AIO sample.cfg
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/zym/trafficserver/iocore/aio/.libs/test_AIO...done.
(gdb) r
Starting program: /home/zym/trafficserver/iocore/aio/.libs/test_AIO sample.cfg
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff573e700 (LWP 24878)]
[New Thread 0x7ffff553c700 (LWP 24879)]
[New Thread 0x7ffff533a700 (LWP 24880)]
reading disk_size = 1
reading hotset_size = 1
reading hotset_frequency = 0.5
reading run_time = 30
reading threads_per_disk = 1
reading touch_data = 1
reading seq_read_percent = 0.5
reading seq_write_percent = 0.3
reading rand_read_percent = 0.2
reading seq_read_size = 131072
reading seq_write_size = 4093
reading rand_read_size = 4096
reading write_skip = 5
reading chains = 1
reading delete_disks = 1
reading disk_path = ./aio.tst
Starting hotset document writing

Program received signal SIGSEGV, Segmentation fault.
ink_aio_write (op=0x6682d0) at AIO.cc:616
616	  this_ethread()->diskHandler->ready_list.enqueue(op);
(gdb) bt
#0  ink_aio_write (op=0x6682d0) at AIO.cc:616
#1  0x0000000000405a8d in AIO_Device::do_hotset (this=0x670240) at test_AIO.cc:319
#2  0x00000000004189a1 in handleEvent (data=0x7ffff7e6eea0, event=1, this=<optimized out>) at I_Continuation.h:146
#3  EThread::process_event (this=0x7ffff7e74010, e=0x7ffff7e6eea0, calling_code=1) at UnixEThread.cc:145
#4  0x0000000000419403 in EThread::execute (this=0x7ffff7e74010) at UnixEThread.cc:196
#5  0x0000000000404e65 in main (argv=<optimized out>) at test_AIO.cc:520
(gdb)
{code}

> make test fails with Linux AIO enabled
> --------------------------------------
>
>                 Key: TS-2034
>                 URL: https://issues.apache.org/jira/browse/TS-2034
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Leif Hedstrom
>             Fix For: 5.0.0
>
>
> With
> {code}
> test_AIO-test_AIO.o: In function `main':
> /home/leif/apache/trafficserver.git/BUILDS/debug/iocore/aio/../../../../iocore/aio/test_AIO.cc:494: undefined reference to `cache_config_threads_per_disk'
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)