2009-04-02 07:16:45     Qt 4.5 VNC crash

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-02 07:16:45     Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72037   

 

I built Qt with "-qt-gfx-vnc" option (as it is   doc.trolltech.com/4.5/qt-embedded-vnc.html) and I tried to run the application with "./test -qws  -display VNC:0". Everithing looks fine, the application is started, the port is opened "QVNCServer created on port 5900", until the moment when I connect the VNC viewer. Then:

 

root:/> ./test -qws  -display VNC:0

QVNCServer created on port 5900

Data access misaligned address violation

- Attempted misaligned data memory or data cache access.

Deferred Exception context

CURRENT PROCESS:

COMM=test PID=257

CPU = 0

TEXT = 0x00350000-0x003512f8        DATA = 0x003552f8-0x003555cc

BSS = 0x003555cc-0x00360000  USER-STACK = 0x0037fe70

 

return address: [0x00a3b116]; contents of:

0x00a3b0f0:  8000  c08b  3800  3220  6c19  6c10  4522  5c92

0x00a3b100:  5a9a  6c22  0851  180c  0000  0000  e489  ffff

0x00a3b110:  e127  00ff  0839 [954e] 17b4  9706  2fdf  328a

0x00a3b120:  3290  5a8a  5acb  3442  e801  0000  05a4  0010

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060024  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x24

  interrupts disabled

  physical IVG5 asserted : <0xffa00aec> { _evt_ivhw + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x00328000> [ test + 0x0 ]

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00a39366> [ /usr/lib/libQtGui.so.4 + 0x239366 ]

PC  : <0x00a3b116> [ /usr/lib/libQtGui.so.4 + 0x23b116 ]

DCPLB_FAULT_ADDR: <0x01ef1844> [ test + 0x844 ]

ICPLB_FAULT_ADDR: <0x00a3b116> [ /usr/lib/libQtGui.so.4 + 0x23b116 ]

 

PROCESSOR STATE:

R0 : 01ef189e    R1 : 00000000    R2 : 01ef1844    R3 : 00000014

R4 : aaaaaaab    R5 : 00000059    R6 : 00000000    R7 : 000000ff

P0 : 01ee153a    P1 : 01ef1845    P2 : 01ef189e    P3 : 01ef1844

P4 : 01d44640    P5 : 00000014    FP : 0037c654    SP : 00327f24

LB0: 014b6181    LT0: 014b6174    LC0: 00000000

LB1: 00a3b127    LT1: 00a3b05c    LC1: 00000014

B0 : 0000000b    L0 : 00000000    M0 : 0037f640    I0 : 01ef189e

B1 : 00000003    L1 : 00000000    M1 : 00000006    I1 : 000007e0

B2 : 0037c4c0    L2 : 00000000    M2 : 30bf3b08    I2 : 0000005c

B3 : 00000010    L3 : 00000000    M3 : 3fc3b500    I3 : 0000003c

A0.w: 001b4f8e   A0.x: 00000000   A1.w: 00001c87   A1.x: 00000000

USP : 0037c654  ASTAT: 02002002

 

Hardware Trace:

   0 Target : <0x00004a64> { _trap_c + 0x0 }

     Source : <0xffa005aa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0050c> { _exception_to_level5 + 0x0 }

     Source : <0xffa003de> { _bfin_return_from_exception + 0x6 } 0x0126

   2 Target : <0xffa003d8> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00466> { _ex_trap_c + 0x66 } 0x0046

   3 Target : <0xffa00400> { _ex_trap_c + 0x0 }

     Source : <0xffa00636> { _trap + 0x2a } 0x5f65

   4 Target : <0xffa0060c> { _trap + 0x0 }

     Source : <0x00a3b114> [ /usr/lib/libQtGui.so.4 + 0x23b114 ] 0x0839

   5 Target : <0x00a3b10c> [ /usr/lib/libQtGui.so.4 + 0x23b10c ]

     Source : <0x00a3b07e> [ /usr/lib/libQtGui.so.4 + 0x23b07e ] JUMP.S

   6 Target : <0x00a3b060> [ /usr/lib/libQtGui.so.4 + 0x23b060 ]

     Source : <0x00a3b05a> [ /usr/lib/libQtGui.so.4 + 0x23b05a ] JUMP.S

   7 Target : <0x00a3b020> [ /usr/lib/libQtGui.so.4 + 0x23b020 ]

     Source : <0x00a39362> [ /usr/lib/libQtGui.so.4 + 0x239362 ] CALL pcrel

   8 Target : <0x00a39354> [ /usr/lib/libQtGui.so.4 + 0x239354 ]

     Source : <0x00a3932c> [ /usr/lib/libQtGui.so.4 + 0x23932c ] IF !CC JUMP

   9 Target : <0x00a39318> [ /usr/lib/libQtGui.so.4 + 0x239318 ]

     Source : <0x00acb660> [ /usr/lib/libQtGui.so.4 + 0x2cb660 ] JUMP (P1)

  10 Target : <0x00acb626> [ /usr/lib/libQtGui.so.4 + 0x2cb626 ]

     Source : <0x00acb620> [ /usr/lib/libQtGui.so.4 + 0x2cb620 ] IF CC JUMP

  11 Target : <0x00acb61c> [ /usr/lib/libQtGui.so.4 + 0x2cb61c ]

     Source : <0x00acb606> [ /usr/lib/libQtGui.so.4 + 0x2cb606 ] IF CC JUMP

  12 Target : <0x00acb5f6> [ /usr/lib/libQtGui.so.4 + 0x2cb5f6 ]

     Source : <0x014a74c6> [ /lib/libgcc_s.so.1 + 0x74c6 ] RTS

  13 Target : <0x014a74be> [ /lib/libgcc_s.so.1 + 0x74be ]

     Source : <0x014a7506> [ /lib/libgcc_s.so.1 + 0x7506 ] IF !CC JUMP

  14 Target : <0x014a74c8> [ /lib/libgcc_s.so.1 + 0x74c8 ]

     Source : <0x014a74a4> [ /lib/libgcc_s.so.1 + 0x74a4 ] IF !CC JUMP

  15 Target : <0x014a7496> [ /lib/libgcc_s.so.1 + 0x7496 ]

     Source : <0x014a68b8> [ /lib/libgcc_s.so.1 + 0x68b8 ] RTS

Userspace Stack

Stack info:

SP: [0x0037c654] <0x0037c654> [ test + 0x1c654 ]

FP: (0x0037c7c4)

Memory from 0x0037c650 to 0037d000

0037c650: 01132718 [0037c69c]<00a39366> 01139958  01d44640  0111f370  00000000

01d0b710

0037c670: 01d448cc  01d0b710  0000005c  01ef1844  0000005c  0000001e  00000014

0037c69b

0037c690: 01d44640  0111f370  00000000  0037c778 <00acd7fe> 01d448cc  0037c71c

00000000

0037c6b0: 0000005c  0000001e  00000014  00000100  01132718  0037c71c <014a72c4>

01d44834

0037c6d0: 00000003  00000000  0037c718 <014b3d9a> 0037c750 <014a6c00> 00331320

00000000

0037c6f0: 0037c72c  014b6cfc  014b66b4  00352f44  092a6cf5  00000003  00000000

0000000b

0037c710: 2a54a900  0037c750  0037c758 <014b601a> 00000000  402e0000  00000000

40468000

0037c730: 00352f78 <0086e442><0086e442> 00354254  00000000  00000000  ffffffff

ffffffff

0037c750: 0037c778  00354150  0037c800 <014b614c> 01d44504  0037d6d8  0037d63c

0037c7f4

0037c770: 01132718  01342970  0037c800 <00acd9be> 01d44504  0037d6d8  0037d63c

0037c7f4

0037c790: 01132718  01d08bb8  01d08bb8  0037d63c  0037c7f4  00000000  00000003

00000000

0037c7b0: 0000000b  2a54a900  16264a95  952a54a9  40a6264a (0037c7ec)<00a206e4>

0037d63c

0037c7d0: 40a6254a  952a54a9  0032891c  0037d6cc  00000000  3fe00000  00000001 (

0037c818)

0037c7f0: 0037c818  0110c27c  01d40000  01d4af64  0037c908 <00a6960a> 01d44504

0037f1e8

0037c810: 0037d63c  00000000 (00000000) 01132718  0037c84c  0037d63c <00a5f67c>

01d454d4

0037c830: 0037d6cc  013ea20d  01132718  0037c888  0037c854 <00459226> 013ea20c

0037c868

0037c850: 0037c884 <003464c6> 0032891c  0037d6d8  01d44590  0000002c  0037c8a8 <

014b3d9a>

0037c870: 0037d6d8  013ea20d  01132718  00000000  0037c8a4  014b6cfc  014b66b4

00352f44

0037c890: 0ff120b0  0037c8b4 <003460ec> 0032891c <00a202f0> 0037c8d0  0037c8e8 <

014b601a>

0037c8b0: 0112b1e0  00354150  008181e0  0037c8e4  00352f78 <0084ddbc><0084ddbc>

00354254

0037c8d0: 00000000  00000000  0037c8e4  0037d6d8  0037c8f4  00354150  0037d8f0 <

014b614c>

0037c8f0: 0037d6d8  00000000  00000000  00000000  00000000  01132718  0037d8f0 <

00c160f4>

0037c910: 0037d6d8  00000000  00000000  00000000  00000000  01132718  0037d894

00000069

0037c930: 0037d6d8  3ff00000  00000001  00000010  00000040  00ff0010  0001003a

00000000

0037c950: 0001003a  00ff0012  0001003a  00ff0013  0001003a  00ff0014  0001003a

00ff0015

0037c970: 0001003a  00ff0016  0001003a  00ff0017  0001003a  00ff0018  0001003a

00ff0019

0037c990: 0001003a  01d4478c  00010001  00ff0000  0001003a  00ff001c  0001003a

00ff001d

0037c9b0: 0001003a  0037dd64  0001003a  00ff001f  0001003a  00ff0020  0001003a

00ff0021

0037c9d0: 0001003b  0037dd50  00ff003b  0001003a  00ff003c  0001003a  00ff003d

0001003a

0037c9f0: 00ff003e  0001003a  00ff003f  0001003a  00ff0040  0001003a  00ff0041

0001003a

0037ca10: 00ff0042  0001003a  00ff0043  0001003a  00ff0044  0001003a  00ff0045

0001003a

0037ca30: 00ff0046  0001003a  00ff0047  0001003a  00ff0048  0001003a  00ff0049

0001003a

0037ca50: 00ff004a  0001003a  00ff004b  0001003a  00ff004c  0001003a  00ff004d

0001003a

0037ca70: 00ff004e  0001003a  00ff004f  0001003a  00ff0050  0001003a  00ff0051

0001003a

0037ca90: 00ff0052  0001003a  00ff0053  0001003a  00ff0054  0001003a  00ff0055

0001003a

0037cab0: 00ff0056  0001003a  00ff0057  0001003a  00ff0058  0001003a  00ff0059

0001003a

0037cad0: 00ff005a  0001003a  00ff005b  0001003a  00ff005c  0001003a  00ff005d

0001003a

0037caf0: 00ff005e  0001003a  00ff005f  0001003a  00ff0060  0001003a  00ff0061

0001003a

0037cb10: 00ff0062  0001003a  00ff0063  0001003a  00ff0064  0001003a  00ff0065

0001003a

0037cb30: 00ff0066  0001003a  00ff0067  0001003a  00ff0068  0001003a  00ff0069

0001003a

0037cb50: 00ff006a  0001003a  00ff006b  0001003a  00ff006c  0001003a  00ff006d

0001003a

0037cb70: 00ff006e  0001003a  00ff006f  0001003a  00ff0070  0001003a  00ff0071

0001003a

0037cb90: 00ff0072  0001003a  00ff0073  0001003a  00ff0074  0001003a  00ff0075

0001003a

0037cbb0: 00ff0076  0001003a  00ff0077  0001003a  00ff0078  0001003a  00ff0079

0001003a

0037cbd0: 00ff007a  0001003a  00ff007b  0001003a  00ff007c  0001003a  00ff007d

0001003a

0037cbf0: 00ff007e  0001003a  00ff007f  0001003a  00ff0080  0001003a  00ff0081

0001003a

0037cc10: 00ff0082  0001003a  00ff0083  0001003a  00ff0084  0001003a  00ff0085

0001003a

0037cc30: 00ff0086  0001003a  00ff0087  0001003b  00ff0088  0001003a  01e96d88

0001003a

0037cc50: 00ff0083  00010033  0037d504 <00accd24> 011207b0  00000000  00000000

01e9b2e8

0037cc70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

40330000

0037cc90: 01d0b920  0037cc9c  00000000  00000000  00000000  01e9b1e8  00000000

00000000

0037ccb0: 00000000  00000000  00000000  00000000  00000000  40330000  01ff000e

00100009

0037ccd0: 00000000  00000000  00000000  01e9b0e8  00000000  00000000  00000000

00000000

0037ccf0: 00000000  00000000  00000000  40330000  00ff0015  00100009  00000000

00000000

0037cd10: 00000000  01e96f74  00000000  00000000  00000000  00000000  00000000

00000000

0037cd30: 00000000  40330000  00ff0015  00100009  00000000  00000000  00000000

01e96d6c

0037cd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

40330000

0037cd70: 00000000  00000000  00000000  00000000  00000000  01e96d10  00000000

00000000

0037cd90: 00000000  00000000  00000000  00000000  00000000  40330000  00000000

00000000

0037cdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0037cdd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0037cdf0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0037ce10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0037ce30: 00000000  00000000  00000000  00000000  00000000  00000000  01e96d88

00000000

0037ce50: 00000000  0000001f  0037d704  00000000  40000000  00000000  40000000

00000000

0037ce70: 403a0000  00000000  40300000  0037ce9c  01eeae00  00000000  00000000

0000001f

0037ce90: 01eeae00  0037ce9c  00000019  00000000  00000000  00000000  00000000

00000000

0037ceb0: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037ced0: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037cef0: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037cf10: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037cf30: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037cf50: 403e0000  00000000  40340000  00000000  00000000  00000000  00000000

00000000

0037cf70: 403e0000  00000000  40340000  0019001d  00ff001a  0019001d  00ff001b

0019001d

0037cf90: 01e96d88  0019001d  00ff001d  0037003b  00000100  00000036  00000037

00000006

0037cfb0: 0000001d  01ee0e50  0000003a  00000001  00320074  0037cff8 <00ae0292>

0037d040

0037cfd0: 0000322e  0000001e  01eeae00  0037cfe4  0000003a  0000322e  0111fb54

01eead4c

0037cff0: 00000001  00000017  0037d87c <00acd04c> 0037d96c

Return addresses in stack:

    address : <0x00a39366> [ /usr/lib/libQtGui.so.4 + 0x239366 ]

    address : <0x00acd7fe> [ /usr/lib/libQtGui.so.4 + 0x2cd7fe ]

    address : <0x014a72c4> [ /lib/libgcc_s.so.1 + 0x72c4 ]

    address : <0x014b3d9a> [ /lib/ld-uClibc.so.0 + 0x3d9a ]

    address : <0x014a6c00> [ /lib/libgcc_s.so.1 + 0x6c00 ]

    address : <0x014b601a> [ /lib/ld-uClibc.so.0 + 0x601a ]

    address : <0x0086e442> [ /usr/lib/libQtGui.so.4 + 0x6e442 ]

    address : <0x0086e442> [ /usr/lib/libQtGui.so.4 + 0x6e442 ]

    address : <0x014b614c> [ /lib/ld-uClibc.so.0 + 0x614c ]

    address : <0x00acd9be> [ /usr/lib/libQtGui.so.4 + 0x2cd9be ]

   frame  1 : <0x00a206e4> [ /usr/lib/libQtGui.so.4 + 0x2206e4 ]

    address : <0x00a6960a> [ /usr/lib/libQtGui.so.4 + 0x26960a ]

    address : <0x00a5f67c> [ /usr/lib/libQtGui.so.4 + 0x25f67c ]

    address : <0x00459226> [ /usr/lib/libQtCore.so.4 + 0x59226 ]

    address : <0x003464c6> [ /lib/libpthread.so.0 + 0x64c6 ]

    address : <0x014b3d9a> [ /lib/ld-uClibc.so.0 + 0x3d9a ]

    address : <0x003460ec> [ /lib/libpthread.so.0 + 0x60ec ]

    address : <0x00a202f0> [ /usr/lib/libQtGui.so.4 + 0x2202f0 ]

    address : <0x014b601a> [ /lib/ld-uClibc.so.0 + 0x601a ]

    address : <0x0084ddbc> [ /usr/lib/libQtGui.so.4 + 0x4ddbc ]

    address : <0x0084ddbc> [ /usr/lib/libQtGui.so.4 + 0x4ddbc ]

    address : <0x014b614c> [ /lib/ld-uClibc.so.0 + 0x614c ]

    address : <0x00c160f4> [ /usr/lib/libQtGui.so.4 + 0x4160f4 ]

    address : <0x00accd24> [ /usr/lib/libQtGui.so.4 + 0x2ccd24 ]

    address : <0x00ae0292> [ /usr/lib/libQtGui.so.4 + 0x2e0292 ]

    address : <0x00acd04c> [ /usr/lib/libQtGui.so.4 + 0x2cd04c ]

Bus error

QuoteReplyEditDelete

 

 

2009-04-02 08:08:16     Re: Qt 4.5 VNC crash

Robin Getz (UNITED STATES)

Message: 72039   

 

Nikolay:

 

Can you use addr2line to find out the function/line that is faulting? ( /usr/lib/libQtGui.so.4 + 0x23b116)

 

See:

 

https://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications#analyzing_traces

 

Thanks

 

 

 

 

QuoteReplyEditDelete

 

 

2009-04-02 08:45:54     Re: Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72043   

 

It's:

 

[root@dlnx764 uclinux-dist]# bfin-uclinux-addr2line -f -e romfs/usr/lib/libQtGui.so.4 0x23b116

__ZNK7QBezier17addToPolygonMixedEP9QPolygonF

??:0

 

 

QuoteReplyEditDelete

 

 

2009-04-02 08:55:44     Re: Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72044   

 

I tried to run it with gdb:

 

Program received signal SIGBUS, Bus error.

0x00a3b116 in ?? ()

(gdb) list

1       fp-bit.c: No such file or directory.

        in fp-bit.c

QuoteReplyEditDelete

 

 

2009-04-02 09:44:33     Re: Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72050   

 

... ok,it seams that could be unalligned:

<snip>

  23b0f6:    20 32           P4 = R0;

  23b0f8:    19 6c           P1 += 0x3;        /* (  3) */

  23b0fa:    10 6c           P0 += 0x2;        /* (  2) */

  23b0fc:    22 45           P2 = P4 >> 0x1;

  23b0fe:    92 5c           P2 = P2 + (P2 << 0x1);

  23b100:    9a 5a           P2 = P2 + P3;

  23b102:    22 6c           P2 += 0x4;        /* (  4) */

  23b104:    51 08           CC = P1 == P2;

  23b106:    0c 18           IF CC JUMP 0x23b11e <__ZNK7QBezier17addToPolygonMixedEP9QPolygonF+0x415a>;

  23b108:    00 00           NOP;

  23b10a:    00 00           NOP;

  23b10c:    89 e4 ff ff     R1 = B[P1 + -0x1] (Z);

  23b110:    27 e1 ff 00     R7 = 0xff (X);        /*        R7=0xff(255) */

  23b114:    39 08           CC = R1 == R7;

  23b116:    4e 95           R6 = W[P1] (X);

  23b118:    b4 17           IF !CC JUMP 0x23b080 <__ZNK7QBezier17addToPolygonMixedEP9QPolygonF+0x40bc> (BP);

  23b11a:    06 97           W[P0] = R6;

  23b11c:    df 2f           JUMP.S 0x23b0da <__ZNK7QBezier17addToPolygonMixedEP9QPolygonF+0x4116>;

  23b11e:    8a 32           P1 = I2;

<snip>

 

,but how to fix it?

QuoteReplyEditDelete

 

 

2009-04-02 15:18:06     Re: Qt 4.5 VNC crash

Alexander Buryak (UKRAINE)

Message: 72071   

 

Hi Nikolay,

 

All my qt examples and demos(from trunk and gcc from trunk too) generate  such error.

 

May be it is possible to write a function for linux to handle such situations without error ?

QuoteReplyEditDelete

 

 

2009-04-02 16:32:43     Re: Qt 4.5 VNC crash

Mike Frysinger (UNITED STATES)

Message: 72073   

 

no, fix the source code

QuoteReplyEditDelete

 

 

2009-04-02 16:34:47     Re: Qt 4.5 VNC crash

Mike Frysinger (UNITED STATES)

Message: 72074   

 

the C code in question will have to be located and fixed up

QuoteReplyEditDelete

 

 

2009-04-02 17:17:30     Re: Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72077   

 

Could it be because of the toolchain? ...or any option.?

 

I'd look at the code, but can't see misaligned pointers...or something...

QuoteReplyEditDelete

 

 

2009-04-02 17:40:11     Re: Qt 4.5 VNC crash

Mike Frysinger (UNITED STATES)

Message: 72078   

 

anything is possible, but it's more likey the code than the toolchain.  it may not be something obvious, but common errors are to try and read integers out of a character array.

QuoteReplyEditDelete

 

 

2009-04-03 09:12:14     Re: Qt 4.5 VNC crash

Nikolay Chokoev (IRELAND)

Message: 72106   

 

The function is all floating point computations...

 

void QBezier::addToPolygonMixed(QPolygonF *polygon) const

{

    qreal ax = -x1 + 3*x2 - 3*x3 + x4;

    qreal ay = -y1 + 3*y2 - 3*y3 + y4;

    qreal bx = 3*x1 - 6*x2 + 3*x3;

    qreal by = 3*y1 - 6*y2 + 3*y3;

    qreal cx = -3*x1 + 3*x2;

    qreal cy = -3*y1 + 2*y2;

    qreal a = 6 * (ay * bx - ax * by);

    qreal b = 6 * (ay * cx - ax * cy);

    qreal c = 2 * (by * cx - bx * cy);

 

    if ((qFuzzyCompare(a + 1, 1) && qFuzzyCompare(b + 1, 1)) ||

        (b * b - 4 * a *c) < 0) {

        QBezier bez(*this);

        flattenBezierWithoutInflections(bez, polygon);

        polygon->append(QPointF(x4, y4));

    } else {

        QBezier beziers[32];

        beziers[0] = *this;

        QBezier *b = beziers;

 

        while (b >= beziers) {

            // check if we can pop the top bezier curve from the stack

            qreal y4y1 = b->y4 - b->y1;

            qreal x4x1 = b->x4 - b->x1;

            qreal l = qAbs(x4x1) + qAbs(y4y1);

            qreal d;

            if (l > 1.) {

                d = qAbs( (x4x1)*(b->y1 - b->y2) - (y4y1)*(b->x1 - b->x2) )

                    + qAbs( (x4x1)*(b->y1 - b->y3) - (y4y1)*(b->x1 - b->x3) );

            } else {

                d = qAbs(b->x1 - b->x2) + qAbs(b->y1 - b->y2) +

                    qAbs(b->x1 - b->x3) + qAbs(b->y1 - b->y3);

                l = 1.;

            }

            if (d < .5*l || b == beziers + 31) {

                // good enough, we pop it off and add the endpoint

                polygon->append(QPointF(b->x4, b->y4));

                --b;

            } else {

                // split, second half of the polygon goes lower into the stack

                b->split(b+1, b);

                ++b;

            }

        }

    }

}

Can I build the library such as to have an assembly list file mixed with C source? This can help to find right source at this location...

Is it possible to build separate debug information file (like in FLAT - .gdb file)? I wouldn't like to increase the library size itself...

QuoteReplyEditDelete

 

 

2009-05-11 06:16:40     Re: Qt 4.5 VNC crash

Sebastian B (GERMANY)

Message: 73942   

 

Hi!

 

I get the same crash, also when connecting with vncviewer to qt/qws .4.5.1 and 4.5.0, but not 4.4.3.

A completely different processor, avr32/ngw100, but same versions of qt and uClibc.

 

Also Sigbus. Error seems to be partially independent of the processor/architecture ... interesting.

 

The address does not seem to be inside Qt, though ... tried with debug version of Qt, gdbserver still doesn't show any stacktrace information. Rather seems to be semop-related ... cf.   www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=78520

 

In any case, solution for one system may help the other ... any news from your side?

 

Yours, Sebastian

TranslateQuoteReplyEditDelete

 

 

2010-02-18 09:30:57     Re: Qt 4.5 VNC crash

J V (GERMANY)

Message: 86204   

 

Hello,

 

did anybody solve this problem? Could you please give me a hint how to solve it? I got exact the same problem, i tried to debug the qt application, but i wasnt able to debug the libQtGui.so.4.

 

Thanks

 

 

 

juraj

Attachments

    Outcomes