A Promising start, but...

rastap
2006-03-03
2013-03-22
  • rastap
    rastap
    2006-03-03

    Chamonix might be the first chm reader for os x who feels like a mac app, so, thanks a lot for this.

    However I get a *lot* of unexpected quits, which makes it barerly usable. Also to modify the spacebar behaviour so that it works like in preview would be great (skips to next page if you're at the bottom of a page).

    Backtrace from crash:

    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: KERN_PROTECTION_FAILURE at address: 0x00000020
    [Switching to process 13376 thread 0x45c3]
    0x909bf118 in objc_msgSend ()
    (gdb) bt
    #0  0x909bf118 in objc_msgSend ()
    #1  0x00003960 in +[MyDocument generateDataForRequest:] ()
    #2  0x00005938 in -[ChmProtocol startLoading] ()
    #3  0x92910aa8 in -[NSURLConnection(NSURLConnectionInternal) _performOriginLoad] ()
    #4  0x9290eb5c in _resourceLoaderPerform ()
    #5  0x9075da68 in __CFRunLoopDoSources0 ()
    #6  0x9075cf98 in __CFRunLoopRun ()
    #7  0x9075ca18 in CFRunLoopRunSpecific ()
    #8  0x9290e8bc in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] ()
    #9  0x928e73b4 in forkThreadForFunction ()
    #10 0x9002b1e0 in _pthread_body ()
    (gdb)

    registers:

    (gdb) i r
    r0             0x394c   14668
    r1             0xf0080520       4027057440
    r2             0x0      0
    r3             0x38a670 3712624
    r4             0xadd8   44504
    r5             0x3b5ba0 3890080
    r6             0xffffffff       4294967295
    r7             0x0      0
    r8             0xf0080460       4027057248
    r9             0x1c     28
    r10            0x1      1
    r11            0xfffeadd8       4294880728
    r12            0x0      0
    r13            0x0      0
    r14            0x1      1
    r15            0x0      0
    r16            0x0      0
    r17            0x0      0
    r18            0x0      0
    r19            0x0      0
    r20            0x7fffffff       2147483647
    r21            0x1      1
    r22            0x1      1
    r23            0x38d070 3723376
    r24            0x0      0
    r25            0x3ea120 4104480
    r26            0xf0080640       4027057728
    r27            0x43300000       1127219200
    r28            0xa28e41a8       2727231912
    r29            0xd108   53512
    r30            0x48a4520        76170528
    r31            0x3a2110 3809552
    pc             0x909bf118       2426138904
    ps             0xf030   61488
    cr             0x44028222       1141015074
    lr             0x3960   14688
    ctr            0x909bf100       2426138880
    xer            0x4      4
    mq             0x0      0
    fpscr          0x82068000       2181464064
    vscr           0x10000  65536
    vrsave         0x0      0

     
    • rastap
      rastap
      2006-03-03

      Forgot to add, the crashes always happen when I click the "next" link.

       
    • JamesW
      JamesW
      2006-03-05

      The trace looks similar to others that I've seen - not personally though - that's why it's not fixed! It would really help if you could send me a copy of a chm file that causes this crash. My gmail account is more reliable when it comes to large attachments: it's 'jwrweatherley@' gmailDOTcom.

      Cheers

       
    • JamesW
      JamesW
      2006-03-21

      This issue should be fixed in version 1.1 - available now.