[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-05-15 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #10 from Gerrit Code Review gerrit-do-not-re...@wireshark.org ---
Change 8479 had a related patch set uploaded by Gerald Combs:
Qt: Make sure we can fetch a ExportDissectionDialog's layout.

https://code.wireshark.org/review/8479

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-05-15 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

Gerrit Code Review gerrit-do-not-re...@wireshark.org changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-05-15 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #11 from Gerrit Code Review gerrit-do-not-re...@wireshark.org ---
Change 8479 merged by Gerald Combs:
Qt: Make sure we can fetch ExportDissectionDialog's layout.

https://code.wireshark.org/review/8479

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-17 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #6 from Alexis La Goutte alexis.lagou...@gmail.com ---
(In reply to Guy Harris from comment #5)
 Reproduces on OS X 10.8.5 with a recent top-of-trunk build (and with a
 different capture file, so, as I expected, it has nothing to do with the
 capture file or with the dissection library).
 
 Top 2 lines of the stack trace from CrashReporter:
 
 0   QtWidgets 0x000112948694
 QGridLayout::rowCount() const + 4
 1   wireshark 0x00010c584150
 ExportDissectionDialog::ExportDissectionDialog(QWidget*, _capture_file*,
 export_type_e) + 2832 (export_dissection_dialog.cpp:82)
 
 Line 82 of ui/qt/export_dissection_dialog.cpp is
 
 last_row = fd_grid-rowCount();
 
 The exception is
 
 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0008
 
 which means null pointer dereference - but the crash is in QGridLayout, so
 it's not as if fd_grid is NULL (it would have crashed in
 ExportDissectionDialog::ExportDissectionDialog if it had been); something
 else is wrong with the QGridLayout to which fd_grid points.

Qt issue ?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-17 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #8 from Guy Harris g...@alum.mit.edu ---
(In reply to Ralf G. R. Bergs from comment #7)
 (In reply to Guy Harris from comment #5)
 
  Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes: KERN_INVALID_ADDRESS at 0x0008
  
  which means null pointer dereference
 
 Please note the address is 0x0008 (eight) -- so NOT a null
 pointer deref?
 
 Sorry if this is B/S, I haven't programmed in C since 20 years... :-)

struct foo {
char *p;
char *q;
};

...

struct foo *r = NULL;

...

if (r-q == NULL)
printf(It's null\n);

is dereferencing a null pointer, but, on an LP64 or LLP64 platform with the
page at address 0 mapped out (and with a null pointer having all its bits
clear, which isn't a requirement of C or C++), it will crash trying to fetch a
pointer at an address of 0x0008.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-17 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #7 from Ralf G. R. Bergs ralf+wiresh...@bergs.biz ---
(In reply to Guy Harris from comment #5)

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0008
 
 which means null pointer dereference

Please note the address is 0x0008 (eight) -- so NOT a null pointer
deref?

Sorry if this is B/S, I haven't programmed in C since 20 years... :-)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-17 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #9 from Ralf G. R. Bergs ralf+wiresh...@bergs.biz ---
(In reply to Guy Harris from comment #8)

 printf(It's null\n);
 
 is dereferencing a null pointer, but, on an LP64 or LLP64 platform with the
 page at address 0 mapped out (and with a null pointer having all its bits
 clear, which isn't a requirement of C or C++), it will crash trying to fetch
 a pointer at an address of 0x0008.

Thanks. :-)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

Guy Harris g...@alum.mit.edu changed:

   What|Removed |Added

  Component|Dissection engine   |Qt UI
   |(libwireshark)  |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #2 from Ralf G. R. Bergs ralf+wiresh...@bergs.biz ---
(In reply to Ralf G. R. Bergs from comment #1)
 Created attachment 13563 [details]
 Mac OS X crash log

This crash log applies to the following build of WS:

ersion 1.99.5 (v1.99.5-0-g7e8595c from master)

Copyright 1998-2015 Gerald Combs ger...@wireshark.org and contributors.
License GPLv2+: GNU GPL version 2 or later
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.3.2, with libpcap, without POSIX capabilities, with
libz 1.2.3, with GLib 2.36.0, with SMI 0.4.8, without c-ares, without ADNS,
with
Lua 5.2, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP,
without PortAudio, with AirPcap.

Running on Mac OS X 10.10.3, build 14D131 (Darwin 14.3.0), with locale C, with
libpcap version 1.5.3 - Apple version 47, with libz 1.2.5, with GnuTLS 2.12.19,
with Gcrypt 1.5.0, without AirPcap.
Intel(R) Core(TM) i5 CPU   M 540  @ 2.53GHz (with SSE4.2)

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.9.00).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #1 from Ralf G. R. Bergs ralf+wiresh...@bergs.biz ---
Created attachment 13563
  -- https://bugs.wireshark.org/bugzilla/attachment.cgi?id=13563action=edit
Mac OS X crash log

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

Alexis La Goutte alexis.lagou...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 CC||alexis.lagou...@gmail.com
 Ever confirmed|0   |1

--- Comment #3 from Alexis La Goutte alexis.lagou...@gmail.com ---
I have try on Linux and Windows - no crash but crash on my Mac OS X

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #4 from tar...@gmail.com ---
I tried 1.99.4, same problem. Can't find earlier builds on the server, so can't
check them.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

tar...@gmail.com changed:

   What|Removed |Added

 CC||tar...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 11122] Export packet dissections As plain text crashed WireShark

2015-04-16 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11122

--- Comment #5 from Guy Harris g...@alum.mit.edu ---
Reproduces on OS X 10.8.5 with a recent top-of-trunk build (and with a
different capture file, so, as I expected, it has nothing to do with the
capture file or with the dissection library).

Top 2 lines of the stack trace from CrashReporter:

0   QtWidgets 0x000112948694
QGridLayout::rowCount() const + 4
1   wireshark 0x00010c584150
ExportDissectionDialog::ExportDissectionDialog(QWidget*, _capture_file*,
export_type_e) + 2832 (export_dissection_dialog.cpp:82)

Line 82 of ui/qt/export_dissection_dialog.cpp is

last_row = fd_grid-rowCount();

The exception is

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0008

which means null pointer dereference - but the crash is in QGridLayout, so
it's not as if fd_grid is NULL (it would have crashed in
ExportDissectionDialog::ExportDissectionDialog if it had been); something else
is wrong with the QGridLayout to which fd_grid points.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Sent via:Wireshark-bugs mailing list wireshark-bugs@wireshark.org
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe