Ethereal-dev: [Ethereal-dev] ethereal Runtime error (Win32)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jason House <jhouse@xxxxxxxxx>
Date: Wed, 18 Dec 2002 15:20:34 -0500
A couple days ago I did a CVS update.  Ethereal would crash when I
opened a capture file (ethereal only, not tethereal).  I did another CVS
update today and the problem persists.  From two example executions (on
different capture files), the program crashed in the same spot
(thankfully).  Ethereal was built with GTK 1.3...

Inside of epan/packet.c the line "data_source_chunk =
g_mem_chunk_new("data_source_chunk", sizeof (data_source), 10 * sizeof
(data_source),G_ALLOC_AND_FREE);" is causing a crash on my computer...

I don't know why this line would cause trouble.  Maybe it's symptomatic
of something else that is wrong.  Can anyone else reproduce this
problem?

Here's the complete call stack:

NTDLL! 77fcb03d()
MSVCRT! 780010a8()
MSVCRT! 78001045()
GLIB-1.3! 00257170()
GLIB-1.3! 002571cb()
GLIB-1.3! 0024481b()
add_new_data_source(_packet_info * 0x0115ee98, tvbuff * 0x02280898, 
   char * 0x00953094) line 183 + 16 bytes
dissect_packet(_epan_dissect_t * 0x0115ee90, 
   wtap_pseudo_header * 0x01158e64, const unsigned char * 0x01159f88,
   _frame_data * 0x02270890, _column_info * 0x009861f8) 
   line 296 + 23 bytes
epan_dissect_run(_epan_dissect_t * 0x0115ee90, void * 0x01158e64, 
   const unsigned char * 0x01159f88, _frame_data * 0x02270890, 
   _column_info * 0x009861f8) line 103 + 25 bytes
add_packet_to_packet_list(_frame_data * 0x02270890, 
   _capture_file * 0x009760e0, wtap_pseudo_header * 0x01158e64, 
   const unsigned char * 0x01159f88, int 1) line 712 + 31 bytes
read_packet(_capture_file * 0x009760e0, long 128) line 831 + 23 bytes
read_cap_file(_capture_file * 0x009760e0, int * 0x0012fec0) 
   line 388 + 13 bytes
main(int 0, char * * 0x00bf3b4c) line 2145 + 14 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, 
   char * 0x00133b30, int 10) line 2356 + 23 bytes
ETHEREAL! WinMainCRTStartup + 308 bytes
KERNEL32! 77e8d326()