[Bug mi/12229] New: -file-exec-and-symbols hangs if path is too long

egor at sun dot com sourceware-bugzilla@sourceware.org
Thu Nov 18 16:17:00 GMT 2010


http://sourceware.org/bugzilla/show_bug.cgi?id=12229

           Summary: -file-exec-and-symbols hangs if path is too long
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mi
        AssignedTo: unassigned@sourceware.org
        ReportedBy: egor@sun.com


On solaris gdb hangs if file path for -file-exec-and-symbols is too long.
reproduced with 6.8 and 7.2.
in our case path was ~240 symbols long, see Netbeans bug:
https://netbeans.org/bugzilla/show_bug.cgi?id=192095

pstack:
fea44a15 pollsys  (8513c60, 1, 0, 0)
 fe9e8804 poll     (8513c60, 1, ffffffff, 0, fea3fbce, 218) + 4c
 0818bd51 gdb_wait_for_event (80c0000, 83c004b, 0, 0, 0, 8047738) + 71
 0818c2f5 gdb_do_one_event (0, 1, 8047738, 8187862) + 101
 0818786f catch_errors (818c1f4, 0, 833d2a4, 6) + 47
 0818b71b start_event_loop (84207e8, 8047780, 80477a8, 818786f, 0, 1) + 1b
 080bbea3 captured_command_loop (0, 1, 80477a8, 8187862) + b
 0818786f catch_errors (80bbe98, 0, 833d2a4, 6, 0, 0) + 47
 080bc5ba captured_main (80478b0, feffb804, 8047868, 8187862) + 6ea
 0818786f catch_errors (80bbed0, 80478b0, 833d2a4, 6) + 47
 080bcbe7 gdb_main (80478b0, 80479a0, 80478a8, feffb804, 80478c0, fefc47a4) +
23
 080bbca5 main     (3, 80478ec, 80478fc, 82cfad0, 0, 0) + 3d
 080bbb0b _start   (3, 8047a08, 8047a2a, 8047a38, 0, 8047a3b) + 83

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list