Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Mutella (Linux/Unix) (https://www.gnutellaforums.com/mutella-linux-unix/)
-   -   bus error?? (https://www.gnutellaforums.com/mutella-linux-unix/22717-bus-error.html)

fr0g December 1st, 2003 03:08 AM

bus error??
 
ok.. I managed to compile and install mutella for OS X (10.2.8) gcc 3.1
when I run it I get a "bus error"
[Blackbird:/usr/local/bin] martin% ./mutella
IMPORTANT EVENT:
Failed to create a listening socket
error: Address already in use
IMPORTANT EVENT:
Trying port 6347
You are currently using Mutella v0.4.3
Enjoy!
Event a40160:
received at: 03:59:18
Failed to create a listening socket
error: Address already in use
Event a36ca0:
received at: 03:59:18
Trying port 6347
Bus error

what's the problem?? any help would be appreciated
Thanks :)

fr0g December 1st, 2003 03:29 PM

I tried updating gcc to 3.3, recompiling, but still no luck.. just get a "bus error" immediately now..
here is the crashlog:

Date/Time: 2003-12-01 03:58:18 -0700
OS Version: 10.2.8 (Build 6R73)
Host: Blackbird.local.

Command: mutella
PID: 7406

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

Thread 0:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x000f11a8 in MWaitConditionPrivate::wait(MMutex*, unsigned long) (mthread_unix.cpp:1172)
#3 0x00030714 in MWaitCondition::wait(MMutex*, unsigned long) (mthread_unix.cpp:819)
#4 0x00036014 in MController::Do() (controller.cpp:751)
#5 0x0006192c in main (main.cpp:260)
#6 0x00001ed0 in _start (crt.c:267)
#7 0x00001d50 in start

Thread 1:
#0 0x90006a28 in clock_sleep_trap
#1 0x9000672c in nanosleep
#2 0x0005c948 in safe_nanosleep (common.cpp:66)
#3 0x0003d318 in MShareThread::run() (gnushare.cpp:475)
#4 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#5 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#6 0x90020c28 in _pthread_body

Thread 2:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x000f11a8 in MWaitConditionPrivate::wait(MMutex*, unsigned long) (mthread_unix.cpp:1172)
#3 0x00030714 in MWaitCondition::wait(MMutex*, unsigned long) (mthread_unix.cpp:819)
#4 0x00021f48 in MAsyncEventReceiver::Poll(unsigned long) (event.cpp:214)
#5 0x00006888 in MGnuLogCentre::run() (gnulogcentre.cpp:79)
#6 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#7 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#8 0x90020c28 in _pthread_body

Thread 3:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x000f11a8 in MWaitConditionPrivate::wait(MMutex*, unsigned long) (mthread_unix.cpp:1172)
#3 0x00030714 in MWaitCondition::wait(MMutex*, unsigned long) (mthread_unix.cpp:819)
#4 0x00021f48 in MAsyncEventReceiver::Poll(unsigned long) (event.cpp:214)
#5 0x000034a0 in MSha1Thread::run() (sha1thread.cpp:202)
#6 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#7 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#8 0x90020c28 in _pthread_body

Thread 4:
#0 0x9002568c in select
#1 0x000f81a0 in poll(pollfd*, int, int) (asyncsocket.cpp:129)
#2 0x000328f4 in MAsyncSocket::Heartbeat(int) (asyncsocket.cpp:726)
#3 0x00032e6c in MGnutellaThread::run() (controller.cpp:98)
#4 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#5 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#6 0x90020c28 in _pthread_body

Thread 5:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x000f0fdc in MWaitConditionPrivate::wait(unsigned long) (mthread_unix.cpp:1105)
#3 0x000306c4 in MWaitCondition::wait(unsigned long) (mthread_unix.cpp:792)
#4 0x00012a18 in MUIRemotePriv::ui_loop() (uiremote.cpp:383)
#5 0x000123b4 in MUIRemote::Do() (uiremote.cpp:169)
#6 0x00033078 in MUIThread::run() (controller.cpp:143)
#7 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#8 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#9 0x90020c28 in _pthread_body

Thread 6 Crashed:
#0 0x0007479c in _rl_init_terminal_io (terminal.c:447)
#1 0x00070dd4 in readline_initialize_everything (readline.c:809)
#2 0x00070c58 in rl_initialize (readline.c:709)
#3 0x00070168 in readline (readline.c:293)
#4 0x00023944 in readline_fix (readline4fix.c:33)
#5 0x000209dc in MLineInput::InputLine(char const*) (lineinput.cpp:174)
#6 0x0000a720 in MUITermPriv::ui_loop() (uiterminal.cpp:926)
#7 0x0000ab0c in MUITerminal::Do() (uiterminal.cpp:970)
#8 0x00033078 in MUIThread::run() (controller.cpp:143)
#9 0x000f0c08 in MThreadPrivate::internalRun(MThread*) (mthread_unix.cpp:956)
#10 0x0002f8d4 in start_thread (mthread_unix.cpp:1208)
#11 0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x0007479c srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x0007475c ctr: 0x00000000 mq: 0x00000000
r0: 0x00a44fb2 r1: 0xf0305630 r2: 0x22000244 r3: 0x00000000
r4: 0x940f7076 r5: 0x00000002 r6: 0x80808080 r7: 0x00000003
r8: 0x00000065 r9: 0x00000000 r10: 0x00000065 r11: 0x00000040
r12: 0x22000244 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
r28: 0x00000000 r29: 0x00136570 r30: 0xbfffff2b r31: 0x00074404

**********


maybe I don't have readline installed correctly??
Thanks :)

Martin

fr0g December 1st, 2003 04:50 PM

Ok, I got it from fink.. <hits head>
Works great .. thanks :)


All times are GMT -7. The time now is 07:51 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.