Menu

#62 Mac OS X: m crashes with bus error

open
nobody
None
5
2004-09-21
2004-09-21
cilly
No

mutella build from cvs: 16th Sept. 2004 crashes:

You are currently using Mutella v0.4.5
Enjoy!
> Bus error

**********

Host Name: uranus.XXXX.dyndns.org
Date/Time: 2004-09-20 02:52:49 +0200
OS Version: 10.3.5 (Build 7M34)
Report Version: 2

Command: mutella
Path: /usr/local/bin/mutella
Version: ??? (???)
PID: 2979
Thread: 1

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0xf0000fe0

Thread 0:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x00121258 0x1000 + 0x120258
3 mutella 0x00039f88
MWaitCondition::wait(MMutex*, unsigned long) + 0x34
(mthread_unix.cpp:819)
4 mutella 0x0003fd28 MController::Do() +
0x138 (controller.cpp:835)
5 mutella 0x0006ee9c main + 0x678
(main.cpp:323)
6 mutella 0x000022e8 _start + 0x188
(crt.c:267)
7 dyld 0x8fe1a558 _dyld_start + 0x64

Thread 1 Crashed:
0 libSystem.B.dylib 0x90002d58 szone_malloc + 0x18
1 libSystem.B.dylib 0x90001054 malloc_zone_malloc + 0x94
2 libSystem.B.dylib 0x90008974 realloc + 0x54
3 mutella 0x000be740 0x1000 + 0xbd740
4 mutella 0x000be514 0x1000 + 0xbd514
5 mutella 0x000cd0e0 0x1000 + 0xcc0e0
6 mutella 0x000cceb4 0x1000 + 0xcbeb4
7 mutella 0x000cafc0 0x1000 + 0xc9fc0
8 mutella 0x000c8cac 0x1000 + 0xc7cac
9 mutella 0x000c5c70 0x1000 + 0xc4c70
10 mutella 0x000c2c9c 0x1000 + 0xc1c9c
11 mutella 0x000c0630 0x1000 + 0xbf630
12 mutella 0x0006b168 MakeWordList(char*,
std::set<TString<char>, std::less<TString<char> >,
std::allocator<TString<char> > >&) + 0x178 (common.cpp:557)
13 mutella 0x00005178
MFileSizeClass::UpdateMapsForSingleElement(long,
SMarkedFile const&) + 0x198 (gnumarkedfiles.cpp:396)
14 mutella 0x000054a4
MFileSizeClass::UpdateMaps() + 0x48
(gnumarkedfiles.cpp:434)
15 mutella 0x00003ab0
MGnuMarkedFiles::AddFile(MarkedFileType, long, SHA1Hash
const&, TString<char> const&, long) + 0x398
(gnumarkedfiles.cpp:103)
16 mutella 0x0004860c MShareThread::run() +
0x87c (gnushare.cpp:583)
17 mutella 0x00120cb8 0x1000 + 0x11fcb8
18 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
19 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 2:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x00121258 0x1000 + 0x120258
3 mutella 0x00039f88
MWaitCondition::wait(MMutex*, unsigned long) + 0x34
(mthread_unix.cpp:819)
4 mutella 0x00029f04
MAsyncEventReceiver::Poll(unsigned long) + 0xec
(event.cpp:214)
5 mutella 0x0001246c MGnuLogCentre::run()
+ 0x44 (gnulogcentre.cpp:84)
6 mutella 0x00120cb8 0x1000 + 0x11fcb8
7 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 3:
0 libSystem.B.dylib 0x9002a50c getrusage + 0xc
1 libSystem.B.dylib 0x90022cd8 clock + 0x18
2 mutella 0x0000f148 MSha1Thread::run() +
0x3e4 (sha1thread.cpp:257)
3 mutella 0x00120cb8 0x1000 + 0x11fcb8
4 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
5 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 4:
0 libSystem.B.dylib 0x9000b20c select + 0xc
1 libSystem.B.dylib 0x900f6dfc poll + 0xe8
2 mutella 0x0003c190
MAsyncSocket::Heartbeat(int) + 0x5d0 (asyncsocket.cpp:752)
3 mutella 0x0003c708
MGnutellaThread::run() + 0x40 (controller.cpp:102)
4 mutella 0x00120cb8 0x1000 + 0x11fcb8
5 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
6 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 5:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x00121258 0x1000 + 0x120258
3 mutella 0x00039f88
MWaitCondition::wait(MMutex*, unsigned long) + 0x34
(mthread_unix.cpp:819)
4 mutella 0x0000328c MUILocalSocket::Do()
+ 0x48 (uilocalsocket.cpp:350)
5 mutella 0x0003c914 MUIThread::run() +
0x40 (controller.cpp:147)
6 mutella 0x00120cb8 0x1000 + 0x11fcb8
7 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 6:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x0012108c 0x1000 + 0x12008c
3 mutella 0x00039f38
MWaitCondition::wait(unsigned long) + 0x2c
(mthread_unix.cpp:792)
4 mutella 0x00017e50
MUIRemotePriv::ui_loop() + 0x2c (uiremote.cpp:440)
5 mutella 0x00017614 MUIRemote::Do() +
0x34 (uiremote.cpp:186)
6 mutella 0x0003c914 MUIThread::run() +
0x40 (controller.cpp:147)
7 mutella 0x00120cb8 0x1000 + 0x11fcb8
8 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
9 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 7:
0 libSystem.B.dylib 0x9000b20c select + 0xc
1 libSystem.B.dylib 0x900f6dfc poll + 0xe8
2 mutella 0x0002a9d4 wait_key + 0x90
(term_help.c:209)
3 mutella 0x00016738
MUITermPriv::ui_loop() + 0x50c (uiterminal.cpp:504)
4 mutella 0x0001722c MUITerminal::Do() +
0x50 (uiterminal.cpp:707)
5 mutella 0x0003c914 MUIThread::run() +
0x40 (controller.cpp:147)
6 mutella 0x00120cb8 0x1000 + 0x11fcb8
7 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 8:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x00121258 0x1000 + 0x120258
3 mutella 0x00039f88
MWaitCondition::wait(MMutex*, unsigned long) + 0x34
(mthread_unix.cpp:819)
4 mutella 0x00012ef4
MAsyncDnsThread::run() + 0x6c (asyncdns.cpp:62)
5 mutella 0x00120cb8 0x1000 + 0x11fcb8
6 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 9:
0 libSystem.B.dylib 0x90016f48
semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait +
0x270
2 mutella 0x00121258 0x1000 + 0x120258
3 mutella 0x00039f88
MWaitCondition::wait(MMutex*, unsigned long) + 0x34
(mthread_unix.cpp:819)
4 mutella 0x0002c3b8 MAFThread::run() +
0x70 (asyncfile.cpp:257)
5 mutella 0x00120cb8 0x1000 + 0x11fcb8
6 mutella 0x000392fc start_thread + 0x20
(mthread_p.h:1208)
7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

PPC Thread State:
srr0: 0x90002d58 srr1: 0x0000d030
vrsave: 0x00000000
cr: 0x24000208 xer: 0x00000000 lr: 0x90002d4c
ctr: 0x90002d40
r0: 0x90001054 r1: 0xf0001040 r2: 0xa0000fc8
r3: 0x02000000
r4: 0x00000010 r5: 0x03a76290 r6: 0x1c25aec0
r7: 0xf0001500
r8: 0x00666f6e r9: 0x1c25af30 r10: 0x0006ef64
r11: 0x00000000
r12: 0x90002d40 r13: 0x00000000 r14: 0x00000000
r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000
r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000
r23: 0x00000010
r24: 0x00000000 r25: 0xa0008930 r26: 0xa0008930
r27: 0x00000000
r28: 0x00000010 r29: 0x02000000 r30: 0xf0001110
r31: 0x90002d4c

Binary Images Description:
0x1000 - 0x167fff mutella mutella
0xc3f000 - 0xc60fff libreadline.5.0.dylib
/usr/local/lib/libreadline.5.0.dylib
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib
/usr/lib/libSystem.B.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x94120000 - 0x9414bfff libncurses.5.dylib
/usr/lib/libncurses.5.dylib
0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib

Discussion

  • cilly

    cilly - 2004-09-26

    Logged In: YES
    user_id=631605

    Bus error crash still present in CVS Version 20040925.

    Here some more information which might be related to the bus
    error:

    $ mutella
    You are currently using Mutella v0.4.5
    Enjoy!
    > IMPORTANT EVENT:
    File error in download
    filename=`/Volumes/Something/other/Gnutella/part/happy
    video privat - p?rchen .avi.[[733857792]]' error: Invalid
    argument
    Bus error

    Here is the related crashlog:

    **********

    Host Name: uranus.XXXXX.dyndns.org
    Date/Time: 2004-09-26 02:50:24 +0200
    OS Version: 10.3.5 (Build 7M34)
    Report Version: 2

    Command: mutella
    Path: /usr/local/bin/mutella
    Version: ??? (???)
    PID: 17918
    Thread: 1

    Exception: EXC_BAD_ACCESS (0x0001)
    Codes: KERN_PROTECTION_FAILURE (0x0002) at 0xf0000fe0

    Thread 0:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x0003fd28 MController::Do() + 0x138
    (controller.cpp:835)
    5 mutella 0x0006ee9c main + 0x678 (main.cpp:323)
    6 mutella 0x000022e8 _start + 0x188 (crt.c:267)
    7 dyld 0x8fe1a558 _dyld_start + 0x64

    Thread 1 Crashed:
    0 libSystem.B.dylib 0x90002d58 szone_malloc + 0x18
    1 libSystem.B.dylib 0x90001054 malloc_zone_malloc + 0x94
    2 libSystem.B.dylib 0x90008974 realloc + 0x54
    3 mutella 0x000be740 0x1000 + 0xbd740
    4 mutella 0x000be514 0x1000 + 0xbd514
    5 mutella 0x000cd0e0 0x1000 + 0xcc0e0
    6 mutella 0x000cceb4 0x1000 + 0xcbeb4
    7 mutella 0x000cafc0 0x1000 + 0xc9fc0
    8 mutella 0x000c8cac 0x1000 + 0xc7cac
    9 mutella 0x000c5c70 0x1000 + 0xc4c70
    10 mutella 0x000c2c9c 0x1000 + 0xc1c9c
    11 mutella 0x000c0630 0x1000 + 0xbf630
    12 mutella 0x0006b168 MakeWordList(char*,
    std::set<TString<char>, std::less<TString<char> >,
    std::allocator<TString<char> > >&) + 0x178 (common.cpp:557)
    13 mutella 0x00005178
    MFileSizeClass::UpdateMapsForSingleElement(long, SMarkedFile
    const&) + 0x198 (gnumarkedfiles.cpp:396)
    14 mutella 0x000054a4
    MFileSizeClass::UpdateMaps() + 0x48 (gnumarkedfiles.cpp:434)
    15 mutella 0x00003ab0
    MGnuMarkedFiles::AddFile(MarkedFileType, long, SHA1Hash
    const&, TString<char> const&, long) + 0x398
    (gnumarkedfiles.cpp:103)
    16 mutella 0x0004860c MShareThread::run() +
    0x87c (gnushare.cpp:583)
    17 mutella 0x00120cb8 0x1000 + 0x11fcb8
    18 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    19 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 2:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x00029f04
    MAsyncEventReceiver::Poll(unsigned long) + 0xec (event.cpp:214)
    5 mutella 0x0001246c MGnuLogCentre::run() +
    0x44 (gnulogcentre.cpp:84)
    6 mutella 0x00120cb8 0x1000 + 0x11fcb8
    7 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 3:
    0 libSystem.B.dylib 0x90012588 clock_sleep_trap + 0x8
    1 libSystem.B.dylib 0x9000d758 nanosleep + 0x78
    2 mutella 0x00069340 safe_nanosleep + 0x28
    (common.cpp:66)
    3 mutella 0x0000f25c MSha1Thread::run() +
    0x4f8 (sha1thread.cpp:273)
    4 mutella 0x00120cb8 0x1000 + 0x11fcb8
    5 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    6 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 4:
    0 libSystem.B.dylib 0x9000b20c select + 0xc
    1 libSystem.B.dylib 0x900f6dfc poll + 0xe8
    2 mutella 0x0003c190
    MAsyncSocket::Heartbeat(int) + 0x5d0 (asyncsocket.cpp:752)
    3 mutella 0x0003c708 MGnutellaThread::run() +
    0x40 (controller.cpp:102)
    4 mutella 0x00120cb8 0x1000 + 0x11fcb8
    5 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    6 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 5:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x0000328c MUILocalSocket::Do() +
    0x48 (uilocalsocket.cpp:350)
    5 mutella 0x0003c914 MUIThread::run() + 0x40
    (controller.cpp:147)
    6 mutella 0x00120cb8 0x1000 + 0x11fcb8
    7 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 6:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x0012108c 0x1000 + 0x12008c
    3 mutella 0x00039f38
    MWaitCondition::wait(unsigned long) + 0x2c
    (mthread_unix.cpp:792)
    4 mutella 0x00017e50 MUIRemotePriv::ui_loop()
    + 0x2c (uiremote.cpp:440)
    5 mutella 0x00017614 MUIRemote::Do() + 0x34
    (uiremote.cpp:186)
    6 mutella 0x0003c914 MUIThread::run() + 0x40
    (controller.cpp:147)
    7 mutella 0x00120cb8 0x1000 + 0x11fcb8
    8 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    9 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 7:
    0 libSystem.B.dylib 0x9000b20c select + 0xc
    1 libSystem.B.dylib 0x900f6dfc poll + 0xe8
    2 mutella 0x0002a9d4 wait_key + 0x90
    (term_help.c:209)
    3 mutella 0x00016738 MUITermPriv::ui_loop() +
    0x50c (uiterminal.cpp:504)
    4 mutella 0x0001722c MUITerminal::Do() + 0x50
    (uiterminal.cpp:707)
    5 mutella 0x0003c914 MUIThread::run() + 0x40
    (controller.cpp:147)
    6 mutella 0x00120cb8 0x1000 + 0x11fcb8
    7 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 8:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x0002c3b8 MAFThread::run() + 0x70
    (asyncfile.cpp:257)
    5 mutella 0x00120cb8 0x1000 + 0x11fcb8
    6 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 9:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x00012ef4 MAsyncDnsThread::run() +
    0x6c (asyncdns.cpp:62)
    5 mutella 0x00120cb8 0x1000 + 0x11fcb8
    6 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    Thread 10:
    0 libSystem.B.dylib 0x90016f48
    semaphore_wait_signal_trap + 0x8
    1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
    2 mutella 0x00121258 0x1000 + 0x120258
    3 mutella 0x00039f88
    MWaitCondition::wait(MMutex*, unsigned long) + 0x34
    (mthread_unix.cpp:819)
    4 mutella 0x0002c3b8 MAFThread::run() + 0x70
    (asyncfile.cpp:257)
    5 mutella 0x00120cb8 0x1000 + 0x11fcb8
    6 mutella 0x000392fc start_thread + 0x20
    (mthread_p.h:1208)
    7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

    PPC Thread State:
    srr0: 0x90002d58 srr1: 0x0000d030 vrsave:
    0x00000000
    cr: 0x24000208 xer: 0x00000000 lr: 0x90002d4c ctr:
    0x90002d40
    r0: 0x90001054 r1: 0xf0001040 r2: 0xa0000fc8 r3:
    0x02000000
    r4: 0x00000010 r5: 0x04003d90 r6: 0x1c7f9460 r7:
    0xf0001500
    r8: 0x00666f6e r9: 0x1c7f9490 r10: 0x0006ef64 r11:
    0x00000000
    r12: 0x90002d40 r13: 0x00000000 r14: 0x00000000 r15:
    0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19:
    0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23:
    0x00000010
    r24: 0x00000000 r25: 0xa0008930 r26: 0xa0008930 r27:
    0x00000000
    r28: 0x00000010 r29: 0x02000000 r30: 0xf0001110 r31:
    0x90002d4c

    Binary Images Description:
    0x1000 - 0x167fff mutella mutella
    0xc3f000 - 0xc60fff libreadline.5.0.dylib
    /usr/local/lib/libreadline.5.0.dylib
    0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
    0x90000000 - 0x90122fff libSystem.B.dylib
    /usr/lib/libSystem.B.dylib
    0x939d0000 - 0x939d4fff libmathCommon.A.dylib
    /usr/lib/system/libmathCommon.A.dylib
    0x94120000 - 0x9414bfff libncurses.5.dylib
    /usr/lib/libncurses.5.dylib
    0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib

    *****

     
  • Nobody/Anonymous

    Logged In: NO

    There is also a crash on OpenBSD at the very beginning. mutella 0.4.3 is
    also installed and works fine.

    $ ./mutella
    Abort (core dumped)
    $ uname -a
    OpenBSD xx.xx.xx.xx 3.5 GENERIC#34 i386

     

Log in to post a comment.

MongoDB Logo MongoDB