Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jlp on January 20, 2014, 02:34:06 AM



Title: Bitcoin-QT crashes when any bitcoin.conf file exists
Post by: jlp on January 20, 2014, 02:34:06 AM
I am running Bitcoin-QT v0.8.6 on my Mac OSX 10.6.8.

If I do not have the bitcoin.conf file in the Library/Application Support/Bitcoin folder, then Bitcoin-QT will launch successfully.  However, if I do have the bitcoin.conf file, even if it is empty or if all of the lines are commented out, Bitcoin-QT will not launch.  Instead, the Mac shows a pop-up that states: "Bitcoin-QT quit unexpectedly.  Click Reopen to open the application again.  This report will be sent to Apple automatically.  Problem Details and System Configuration data"

If I rename or delete the bitcoin.conf file, then Bitcoin-QT launches successfully.

Does anyone have any idea of how to fix this or get past this?


Title: Re: Bitcoin-QT crashes when any bitcoin.conf file exists
Post by: michagogo on January 20, 2014, 09:45:21 PM
Well, what are those "Problem Details"?


Title: Re: Bitcoin-QT crashes when any bitcoin.conf file exists
Post by: jlp on January 20, 2014, 11:08:30 PM
Well, what are those "Problem Details"?

The problem details are shown by the Mac OSX as it does with any other application that crashes.  It contains a lot of system data.  I don't know if some of it opens up my system to hackers, especially the "threads" and "binary images", by publishing it to the public.  Below is the "problem details" but I removed some of the data, especially the "threads" and "binary images".  Have you been able to debug these crashes on a Mac by looking at this data?  If so, let me know if you need the "threads" and "binary images" and I'll research into whether this data is sensitive/private or not and then I'll send it you.

However, if you have a Mac, you should be able to reproduce this problem, as others have, by launching Bitcoin-QT with the bitcoin.conf file in your Library/Application Support/Bitcoin folder.  When you reproduce the problem, your Mac will show you your "Problem Details".

Thanks.

Quote


Process:         Bitcoin-Qt [5412]
Path:            /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt
Identifier:      org.bitcoinfoundation.Bitcoin-Qt
Version:         0.8.6 (0.8.6)
Code Type:       X86 (Native)
Parent Process:  launchd [270]

Date/Time:       2014-01-19 20:25:00.846 -0600
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          42306752 sec
Crashes Since Last Report:           168
Per-App Interval Since Last Report:  103165 sec
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                0x99XXXXXX kevent + 10
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Thread 2:
0   libSystem.B.dylib                0x99XXXXXX __workq_kernreturn + 10
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Thread 3:  com.apple.CFSocket.private
0   libSystem.B.dylib                0x99XXXXXX select$DARWIN_EXTSN + 10
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x99c57693  ecx: 0xbfffec8c  edx: 0x99baec5a
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Binary Images:
    0x1000 -   0xXXXXXXX +org.bitcoinfoundation.Bitcoin-Qt 0.8.6 (0.8.6) <XXXXXXXXXXXXXXXXXXXXXXXXXXXX> /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX

Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.2 GHz, 8 GB, SMC 1.69f4
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: APPLE SSD TS512C, 465.92 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Hub, 0x0424  (SMSC),
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.),
USB Device: Bluetooth USB Host Controller,
USB Device: Apple Internal Keyboard / Trackpad,
USB Device: FaceTime HD Camera (Built-in),
USB Device: Hub, 0x0424  (SMSC),
USB Device: IR Receiver, 0x05ac  (Apple Inc.),


Title: Re: Bitcoin-QT crashes when any bitcoin.conf file exists
Post by: jlp on January 25, 2014, 06:09:40 PM
I found the cause of the problem.  bitcoin.conf was a rich-text file.  TextEdit tends to save files in rich-text format.  After I changed it to plain text format, problem is solved.