Opened 12 years ago

Closed 12 years ago

#2563 closed Bug (invalid)

Bus error on Popcorn Hour C200 when watch-dir is enabled

Reported by: Ger Teunis Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 1.76
Severity: Normal Keywords: needinfo
Cc:

Description

When I enable watch-dir transmission is displaying a "bus error" during start and doesn't fully start to function.

It doesn't crash but just doesn't continue to load. The folder permissions (of watch-dir) are okay, I even clean the watch dir to start with an empty folder.

If you need any additional information; please contact me.

Change History (5)

comment:1 Changed 12 years ago by charles

  • Keywords needinfo added

I don't know what to do with this. "bus error" usually means a crash, but you say it doesn't crash....?

The next step, IMO, would be to start the daemon in the foreground, inside of gdb, so that you can get a backtrace when the bus error occurs.

comment:2 Changed 12 years ago by Ger Teunis

Thank you for your response. GDB got the following result

Program received signal SIGBUS, Bus error. 0x004045c0 in _ftext ()

I do not hope I made a library compilation issue again :(

comment:3 Changed 12 years ago by charles

I don't even know what _ftext() is..

next time you get that in gdb, could you type "thread apply all bt" at the gdb prompt?

comment:4 Changed 12 years ago by Ger Teunis

It seems it is originated from poll(2).

the backtrace was: (gdb) thread apply all bt

Thread 2 (LWP 18052): #0 0x004045c0 in _ftext ()

Thread 1 (LWP 18055): #0 0x2ae5e05c in poll () from /lib/libc.so.6 #1 0x0045343c in _ftext () #0 0x004045c0 in _ftext ()

comment:5 Changed 12 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

no clue. this isn't something in transmission's code.

as a very very wild guess, I'd say maybe libevent was built wrong? that's probably where the poll() call comes from.

Note: See TracTickets for help on using tickets.