Shooter7119 / sequel-pro

Automatically exported from code.google.com/p/sequel-pro
Other
0 stars 0 forks source link

Sequel-pro crashes updating field after adding field to table #1778

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In Structure Tab: Add Field to existing table (has happened with VARCHAR of 
various lengths from 15 - 255, as well as with INT 10.
2. Field is properly created, all is normal, no errors in system log.
3. Press Content button to switch to the Content Panel.
4. Panel switches but immediately get the spinning beach ball.

What is the expected output?
New field should be viewable without crashing

What do you see instead?
spinning beach ball

What version of Sequel Pro are you using?
1.0.2 build 4096

What version of OS X are you using?
10.8.4 on brand new MacBook Pro. 2.6 Ghz Intel Core i7, 16 GB RAM

What version of MySQL are you connecting to on the server?
    Server: Localhost via UNIX socket
    Software: MySQL
    Software version: 5.5.29 - Source distribution
    Protocol version: 10
    User: root@localhost
    Server charset: UTF-8 Unicode (utf8)

Please provide any additional information below.

Database in use:
    Type: InnoDB
    Encoding UTF-16 Unicode (utf16)
    Collation: uft16_general_ci

Is the fact that the Server charset is utf8, but the database is UTF16 part of 
the problem?

FYI:
OSX System log contents:

8/12/13 1:47:35.235 PM Sequel Pro[65408]: *** -[NSPlaceholderMutableString 
initWithString:]: nil argument
8/12/13 1:47:35.236 PM Sequel Pro[65408]: (
    0   CoreFoundation                      0x00007fff8de37b06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff8d14e3f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8de378dc +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff930e76fb -[NSPlaceholderMutableString initWithString:] + 90
    4   Sequel Pro                          0x000000010011d85c -[SPCopyTable autodetectWidthForColumnDefinition:maxRows:] + 976
    5   Sequel Pro                          0x000000010011cf7e -[SPCopyTable autodetectColumnWidths] + 546
    6   Sequel Pro                          0x000000010003302d -[SPTableContent autosizeColumns] + 92
    7   Sequel Pro                          0x000000010002676c -[SPTableContent tableLoadUpdate:] + 432
    8   Foundation                          0x00007fff9310a463 __NSFireTimer + 96
    9   CoreFoundation                      0x00007fff8ddf4804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    10  CoreFoundation                      0x00007fff8ddf431d __CFRunLoopDoTimer + 557
    11  CoreFoundation                      0x00007fff8ddd9ad9 __CFRunLoopRun + 1529
    12  CoreFoundation                      0x00007fff8ddd90e2 CFRunLoopRunSpecific + 290
    13  HIToolbox                           0x00007fff8b6dceb4 RunCurrentEventLoopInMode + 209
    14  HIToolbox                           0x00007fff8b6dcc52 ReceiveNextEventCommon + 356
    15  HIToolbox                           0x00007fff8b6dcae3 BlockUntilNextEventMatchingListInMode + 62
    16  AppKit                              0x00007fff9226c533 _DPSNextEvent + 685
    17  AppKit                              0x00007fff9226bdf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    18  AppKit                              0x00007fff922631a3 -[NSApplication run] + 517
    19  AppKit                              0x00007fff92207bd6 NSApplicationMain + 869
    20  Sequel Pro                          0x0000000100002084 start + 52
    21  ???                                 0x0000000000000002 0x0 + 2
)

Original issue reported on code.google.com by jhane...@gmail.com on 12 Aug 2013 at 7:01

GoogleCodeExporter commented 9 years ago
Sequel Pro does not support UTF-16 properly.

Original comment by schlabbe...@gmail.com on 12 Aug 2013 at 9:16